.apply-btn {
    background: #8b4513;
    color: white;
    padding: 15px 35px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}

.apply-btn:hover {
    background: #654321;
}

.donor-btn {
    background: #2c5530;
    color: white;
    padding: 15px 35px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}

.donor-btn:hover {
    background: #1e3a21;
}

.tweet-link {
    color: #1da1f2;
    text-decoration: none;
    font-size: 12px;
    padding: 5px 10px;
    border: 1px solid #1da1f2;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.tweet-link:hover {
    background: #1da1f2;
    color: white;
}

.upvote-btn {
    background: none;
    border: 1px solid #ccc;
    padding: 6px 14px;
    font-size: 12px;
    cursor: pointer;
    color: #666;
    font-family: 'Courier New', monospace;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.upvote-btn:hover {
    background: #f0f0f0;
    border-color: #999;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    border: 2px solid #d4b896;
}

.modal h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #2c2c2c;
    font-weight: normal;
    text-align: center;
}

.tweet-instructions {
    background: #f0f8ff;
    padding: 15px;
    margin-bottom: 25px;
    border-left: 4px solid #1da1f2;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: normal;
    margin-bottom: 8px;
    color: #2c2c2c;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    font-size: 14px;
    font-family: 'Georgia', serif;
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b4513;
    background: #fff;
}

.char-count {
    font-size: 12px;
    color: #666;
    font-family: 'Courier New', monospace;
    margin-top: 5px;
    display: block;
}

.after-tweet {
    background: #f5f5f5;
    padding: 15px;
    margin-top: 20px;
    border-left: 4px solid #8b4513;
    font-size: 13px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.benefactor {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 25px;
    background: #fafafa;
    border-left: 4px solid #d4b896;
}

.benefactor-avatar {
    margin-right: 25px;
    flex-shrink: 0;
}

.benefactor-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d4b896;
}

.benefactor-name {
    font-weight: bold;
    color: #8b4513;
    margin-bottom: 8px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
}

.benefactor-desc {
    font-size: 15px;
    color: #666;
    font-style: italic;
    line-height: 1.5;
}

.story {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    padding: 40px;
    background: #f8f9fa;
    border-left: 6px solid #90c695;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.story-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.story-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #90c695;
    margin-right: 15px;
}

.story-user {
    display: flex;
    flex-direction: column;
}

.story-name {
    font-size: 14px;
    color: #666;
    font-family: 'Courier New', monospace;
    margin-bottom: 2px;
}

.story-location {
    font-size: 12px;
    color: #999;
}

.story-content {
    flex: 1;
}

.story-image {
    width: 100%;
    max-width: 400px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.story-text {
    font-size: 20px;
    color: #2c2c2c;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 15px;
}

.story-meta {
    font-size: 12px;
    color: #666;
    text-align: right;
}

.request {
    display: flex;
    margin-bottom: 30px;
    padding: 30px;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
}

.request-avatar {
    margin-right: 25px;
    flex-shrink: 0;
}

.request-avatar img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0e0e0;
}

.request-content {
    flex: 1;
}

.request-text {
    font-size: 17px;
    color: #2c2c2c;
    margin-bottom: 18px;
    font-style: italic;
    line-height: 1.5;
}

.request-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #888;
    border-top: 1px solid #e0e0e0;
    padding-top: 12px;
}

.request-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

@media (max-width: 768px) {
    .benefactor,
    .request {
        flex-direction: column;
        text-align: center;
    }

    .benefactor-avatar,
    .request-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .request-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .story {
        padding: 25px 20px;
    }
    
    .story-text {
        font-size: 18px;
    }
    
    .story-image {
        height: 160px;
    }
}