/* ============================================
   COMMUNITY PAGE STYLES - COMPLETE FIX
   ============================================ */

/* ---------- MAIN CONTAINER ---------- */
.app-container {
    max-width: 1175px;
    margin: 0 auto;
    padding: 10px 0 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
}

/* ---------- DASHBOARD LAYOUT ---------- */
.dashboard {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 10px;
}

/* ---------- CARD COMPONENTS ---------- */
.card {
    background: white;
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 0 4px 12px rgba(73, 52, 34, 0.08);
    margin-bottom: 10px;
    width: 100%;
    overflow: hidden;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #3b2d1f;
    margin: 0 auto;
    /* border-bottom: 2px solid #dec9b6; */
    padding-bottom: 0.6rem;
}

.card-title i {
    color: #9f7d60;
    font-size: 1.3rem;
}

/* ---------- AUTH BUTTONS ---------- */
.auth-buttons {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
    margin: 0 auto;
    padding-bottom: 10px;
}

.btn-auth {
    background: #efe4d9;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    color: #4a3727;
    font-weight: 500;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.btn-auth.primary {
    background: #b29073;
    color: white;
}

.user-badge {
    background: #b29073;
    color: white;
    border-radius: 40px;
    padding: 0.4rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    max-width: 100%;
}

.logout-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid white;
    color: white;
    border-radius: 30px;
    padding: 0.2rem 0.8rem;
    font-size: 0.75rem;
    margin-left: auto;
    cursor: pointer;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* ---------- AUTH MESSAGES ---------- */
.auth-message {
    background: #efe0d1;
    border-radius: 50px;
    padding: 0.8rem 1.2rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    border: 1px dashed #b29073;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a3727;
}

.lock-icon {
    color: #b29073;
}

/* ---------- PRAYER WALL ---------- */
.prayer-requests-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

/* FIXED: Prayer items with proper text wrapping */
.prayer-item,
.prayer-card,
#leftPrayerRequestsList .prayer-item {
    background: #f6eee7;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid #b29073;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
}

.prayer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    gap: 8px;
}

.prayer-author {
    font-weight: 600;
    color: #4a3727;
    display: flex;
    align-items: center;
    gap: 5px;
}

.prayer-category {
    background: #d1b69c;
    color: white;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

/* FIXED: Prayer request text with word break */
.prayer-request,
.prayer-item p {
    margin: 0.8rem 0;
    line-height: 1.5;
    color: #2c241e;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    font-size: 0.95rem;
}

.prayer-footer {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
    color: #7b624a;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.pray-now-btn, .prayer-comment-btn {
    background: transparent;
    border: 1px solid #b5987e;
    border-radius: 30px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    color: #5a4231;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pray-now-btn:hover, .prayer-comment-btn:hover {
    background: #b5987e;
    color: white;
}

.prayer-count {
    background: #e0d0c0;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-left: 5px;
}

/* ---------- PRAYER GROUPS ---------- */
.groups-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.group-item {
    padding: 0.8rem;
    background: #f6eee7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.group-item i {
    color: #b29073;
    font-size: 1.1rem;
}

/* ---------- FEED TABS ---------- */
.feed-tabs {
    display: flex;
    gap: 0.5rem;
    margin: 0 auto;
    flex-wrap: wrap;
    padding-bottom: 1rem;
}

.tab {
    background: transparent;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    border: none;
    color: #4d3a2a;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab:hover {
    background: #d1b69c;
    color: white;
}

.tab.active {
    background: #b2947c;
    color: white;
}

/* ---------- FEED CONTENT ---------- */
.feed-post-form {
    margin-bottom: 1.5rem;
}

.feed-post-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #d9c3b0;
    resize: vertical;
    font-family: inherit;
    font-size: 0.95rem;
}

.feed-post-form textarea:focus {
    outline: none;
    border-color: #b29073;
    box-shadow: 0 0 0 2px rgba(178, 144, 115, 0.2);
}

.feed-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
}

.feed-post {
    background: #f9f5f0;
    padding: 1.2rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border-left: 4px solid #d1b69c;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.feed-post:hover {
    background: #f5ede4;
}

.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.feed-header span:first-child {
    font-weight: 600;
    color: #4a3727;
    display: flex;
    align-items: center;
    gap: 5px;
}

.feed-header span:last-child {
    color: #7b624a;
    font-size: 0.8rem;
}

.feed-post p {
    margin: 0.8rem 0;
    line-height: 1.5;
    color: #2c241e;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.feed-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.feed-like-btn,
.feed-comment-btn {
     background: transparent;
    border: 1px solid #b5987e;
    border-radius: 30px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    color: #5a4231;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.feed-like-btn:hover,
.feed-comment-btn:hover {
     background: #b5987e;
    color: white;
}

/* ---------- TESTIMONIES ---------- */
.testimonies-grid {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
}

.testimony-card {
    background: #fbf6f0;
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border-left: 4px solid #d1b69c;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.testimony-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    gap: 8px;
}

.testimony-author {
    font-weight: 600;
    color: #4a3727;
    display: flex;
    align-items: center;
    gap: 5px;
}

.testimony-author i {
    color: #b29073;
}

.testimony-category {
    background: #d1b69c;
    color: white;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    white-space: nowrap;
}

.testimony-title {
    font-size: 1.1rem;
    margin: 0.8rem 0;
    color: #2c241e;
    font-weight: 600;
}

.testimony-preview {
    color: #4a3a2b;
    line-height: 1.5;
    margin: 0.8rem 0;
    word-wrap: break-word;
}

.testimony-footer {
    display: flex;
    gap: 5px;
    margin-top: 1rem;
    color: #7b624a;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.testimony-footer button {
    background: transparent;
    border: 1px solid #b5987e;
    border-radius: 30px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    color: #5a4231;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.testimony-footer button:hover {
    background: #b5987e;
    color: white;
}

.testimony-like-btn i.fas {
    color: #f44336;
}

.testimony-date {
    font-size: 0.8rem;
    color: #7b624a;
    margin-left: auto;
}

/* ---------- SUBMIT FORMS ---------- */
.testimony-submit-form,
.prayer-submit-form {
    background: #f4ece2;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.testimony-submit-form h4,
.prayer-submit-form h4 {
    display: flex;
    gap: 8px;
    margin-bottom: 1rem;
    color: #4a3727;
    font-size: 1.1rem;
}

.input-line {
    background: white;
    border-radius: 10px;
    padding: 0.6rem 1rem;
    margin: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #cdb8a6;
}

.input-line i {
    color: #947b63;
    width: 1.4rem;
    text-align: center;
}

.input-line input,
.input-line select,
.input-line textarea {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-size: 0.95rem;
    font-family: inherit;
}

.input-line textarea {
    resize: vertical;
    min-height: 80px;
}

/* ---------- CHECKBOX STYLES ---------- */
.checkb {
    margin: 1rem 0;
}

.checklabel {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a3727;
    cursor: pointer;
    font-size: 0.95rem;
}

.checklabel input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

/* ---------- LIVE CHAT ---------- */
.chat-container {
    background: #f6eee7;
    border-radius: 16px;
    padding: 1.2rem;
}

.chat-messages {
    height: 350px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
}

.chat-message {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    animation: fadeIn 0.3s ease;
    max-width: 100%;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.own-message {
    flex-direction: row-reverse;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 1rem;
}

.chat-bubble {
    background: white;
    border-radius: 18px 18px 18px 4px;
    padding: 10px 15px;
    max-width: 70%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.own-message .chat-bubble {
    background: #b29073;
    color: white;
    border-radius: 18px 18px 4px 18px;
}

.chat-header {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
    font-size: 0.8rem;
    flex-wrap: wrap;
}

.chat-name {
    font-weight: 600;
}

.chat-time {
    color: #999;
    font-size: 0.7rem;
}

.own-message .chat-time {
    color: rgba(255, 255, 255, 0.8);
}

.chat-text {
    word-wrap: break-word;
    line-height: 1.4;
}

.chat-input-area {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.chat-input-area input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid #d9c3b0;
    border-radius: 30px;
    outline: none;
    font-size: 0.95rem;
}

.chat-input-area input:focus {
    border-color: #b29073;
}

.chat-input-area button {
    background: #b29073;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 25px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
}

.chat-input-area button:hover {
    background: #9e7d60;
}

#typingIndicator {
    font-size: 0.8rem;
    color: #7b624a;
    padding: 5px 12px;
    font-style: italic;
    min-height: 30px;
}

/* ---------- EVENTS ---------- */
.events-list {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 5px;
}

.event-card {
    background: #eae0d4;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 15px;
    transition: transform 0.2s ease;
}

.event-card:hover {
    transform: translateY(-2px);
}

.event-date-badge {
    background: white;
    border-radius: 10px;
    padding: 8px;
    min-width: 55px;
    text-align: center;
    flex-shrink: 0;
}

.event-month {
    display: block;
    font-size: 0.75rem;
    color: #b29073;
    font-weight: 600;
    text-transform: uppercase;
}

.event-day {
    display: block;
    font-size: 1.3rem;
    font-weight: bold;
    color: #4a3727;
    line-height: 1.2;
}

.event-details {
    flex: 1;
    min-width: 0;
}

.event-title {
    font-size: 1rem;
    margin: 0 0 5px;
    color: #2c241e;
    font-weight: 600;
    word-wrap: break-word;
}

.event-time {
    font-size: 0.8rem;
    color: #4a3727;
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-time i {
    color: #b29073;
}

.event-description {
    font-size: 0.85rem;
    color: #4a3a2b;
    margin: 5px 0;
    line-height: 1.4;
    word-wrap: break-word;
}

.event-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 0.8rem;
    color: #7b624a;
    flex-wrap: wrap;
    gap: 8px;
}

.event-meta i {
    color: #b29073;
    margin-right: 3px;
}

.event-reminder-btn {
    background: #b29073;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 4px 12px;
    cursor: pointer;
    font-size: 0.75rem;
    white-space: nowrap;
}

/* ---------- RIGHT COLUMN ---------- */
.safety-badge {
    background: #cfe0da;
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem 0;
    display: flex;
    gap: 10px;
    align-items: center;
    color: #2c241e;
}

.safety-badge i {
    color: #2c5f4a;
    font-size: 1.2rem;
}

.donate-section {
    background: #e6d5c4;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1rem;
}

.donate-section h4 {
    margin: 0 0 10px;
    color: #4a3727;
    font-size: 1.1rem;
}

.donate-section p {
    margin: 0 0 15px;
    color: #2c241e;
    font-size: 0.9rem;
}

.donate-section .btn {
    background: #b29073;
    color: white;
    padding: 10px 30px;
    border-radius: 30px;
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.donate-section .btn:hover {
    background: #9e7d60;
}

/* ---------- BUTTONS ---------- */
.btn {
    background: #b19174;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 0.7rem 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
}

.btn:hover {
    background: #9e7d60;
}

.btn-google {
    background: white;
    color: #4a3a2b;
    border: 1px solid #b19174;
}

.btn-google:hover {
    background: #f8f0e8;
}

/* ---------- EMPTY STATES ---------- */
.empty-state {
    text-align: center;
    padding: 2rem;
    color: #7b624a;
    font-style: italic;
}

.empty-state i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #d1b69c;
}

.empty-state h3 {
    margin: 0.5rem 0;
    color: #4a3727;
    font-weight: 500;
    font-size: 1.1rem;
}

/* ---------- LOADING SPINNER ---------- */
.loading-spinner {
    text-align: center;
    padding: 2rem;
    color: #b29073;
}

.loading-spinner:after {
    content: '...';
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* ---------- MODALS ---------- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-card {
    background: #fefcf9;
    max-width: 420px;
    width: 90%;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #3b2f23;
    margin: 0;
}

.close-modal {
    font-size: 2rem;
    cursor: pointer;
    color: #876f58;
    line-height: 1;
}

.close-modal:hover {
    color: #4a3727;
}

.switch-auth {
    text-align: center;
    font-size: 0.9rem;
}

.switch-auth span {
    color: #b29073;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

/* ---------- LOGIN MODAL ---------- */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11000;
}

.login-modal-content {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    max-width: 320px;
    width: 90%;
    position: relative;
}

.login-modal-content i {
    font-size: 2.5rem;
    color: #b29073;
    margin-bottom: 1rem;
}

.login-modal-content h3 {
    margin: 0 0 10px;
    color: #4a3727;
}

.login-modal-content p {
    color: #7b624a;
    margin: 0 0 20px;
}

.login-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.login-modal-btn,
.signup-modal-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
}

.login-modal-btn {
    background: #b29073;
    color: white;
}

.signup-modal-btn {
    background: #f0e2d6;
    color: #4a3727;
}

.close-modal-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #7b624a;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal-btn:hover {
    background: rgba(0,0,0,0.05);
}

/* ---------- COMMENTS MODAL ---------- */
.comments-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.comments-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 550px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e0cfc0;
    background: #f8f0e8;
    border-radius: 20px 20px 0 0;
}

.comments-header h3 {
    margin: 0;
    color: #4a3727;
    font-size: 1.2rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #7b624a;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    background: rgba(0,0,0,0.1);
}

.comments-list {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.comment {
    background: #f6eee7;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 8px;
}

.comment-author {
    font-weight: 600;
    color: #4a3727;
}

.comment-date {
    color: #7b624a;
    font-size: 0.8rem;
}

.comment-text {
    color: #2c241e;
    line-height: 1.5;
    word-wrap: break-word;
}

.add-comment {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid #e0cfc0;
    background: #f8f0e8;
    border-radius: 0 0 20px 20px;
}

.add-comment textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d9c3b0;
    border-radius: 10px;
    resize: none;
    font-family: inherit;
    margin-bottom: 10px;
}

.add-comment textarea:focus {
    outline: none;
    border-color: #b29073;
}

.add-comment button {
    background: #b29073;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 8px 20px;
    cursor: pointer;
    float: right;
}

.add-comment::after {
    content: "";
    display: table;
    clear: both;
}

/* ---------- ADMIN BADGES ---------- */
.admin-badge {
    background: #ff4444;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-left: 5px;
}

.mod-badge {
    background: #ffaa00;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-left: 5px;
}

.moderation-badge {
    background: #ffaa00;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
}

.admin-controls {
    display: flex;
    gap: 5px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,0.1);
    flex-wrap: wrap;
}

.admin-btn {
    padding: 4px 10px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.75rem;
}

.admin-btn.approve {
    background: #4CAF50;
    color: white;
}

.admin-btn.reject {
    background: #ff9800;
    color: white;
}

.admin-btn.delete {
    background: #f44336;
    color: white;
}

.report-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.report-btn:hover {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

/* ---------- NOTIFICATIONS ---------- */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 10px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 100000;
    animation: slideInRight 0.3s ease;
    max-width: 350px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-success {
    background: #4CAF50;
}

.notification-error {
    background: #f44336;
}

.notification-info {
    background: #b29073;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
    .dashboard {
        grid-template-columns: 1fr 1fr;
    }
    
    .right-panel {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .right-panel {
        grid-column: span 1;
    }
    
    .app-container {
        padding: 10px;
    }
    
    .card {
        padding: 1rem;
    }
    
    .chat-input-area {
        flex-direction: column;
    }
    
    .chat-input-area button {
        width: 100%;
    }
    
    .chat-bubble {
        max-width: 85%;
    }
    
    .event-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .event-date-badge {
        align-self: flex-start;
    }
    
    .login-modal-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .feed-tabs {
        /* gap: 0.7rem; */
    }
    
    .tab {
        padding: 0.3rem 0.2rem;
        font-size: 0.9rem;
        border-radius: 10px;
        font-weight: 600;
    }
    
    .testimony-footer,
    .prayer-footer {
        flex-direction: column;
        gap: 8px;
    }
    
    .testimony-footer button,
    .pray-now-btn {
        width: 100%;
        justify-content: center;
    }
    
    .testimony-date {
        margin-left: 0;
    }
    
    .modal-card {
        padding: 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .chat-messages {
        height: 300px;
    }
}