body {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f0f8f0;
    color: #333;
    margin: 0;
    padding: 0;
}

header {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 1rem;
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.flashes {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.flashes li {
    background-color: #ffcccc;
    color: #cc0000;
    padding: 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.post-form {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
}

.char-count {
    text-align: right;
    font-size: 0.8rem;
    margin-top: 0.2rem;
    margin-bottom: 1rem;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}

button:hover {
    background-color: #45a049;
}

.story-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    position: relative;
}

.story-content {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 1rem;
}

.story-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.story-date {
    font-size: 0.8rem;
    color: #888;
}

.share-btn {
    background-color: transparent;
    border: 1px solid #4CAF50;
    color: #4CAF50;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.share-btn:hover {
    background-color: #4CAF50;
    color: white;
}
.story-permalink {
    text-decoration: none;
    color: inherit;
}

.story-permalink:hover .story-date {
    text-decoration: underline;
    color: #4CAF50;
}
