﻿/* =========================
   BCC CONTENT MANAGEMENT V2
========================= */

.notice-page {
    max-width: 1200px;
    margin: 0 auto;
}

.notice-page-header {
    background: linear-gradient(135deg, #4b2e83, #111827);
    color: #ffffff;
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    box-shadow: 0 18px 45px rgba(75, 46, 131, 0.22);
}

.notice-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.14);
    border-radius: 999px;
    padding: 7px 14px;
    font-weight: 800;
    margin-bottom: 12px;
}

.notice-page-header h2 {
    font-weight: 900;
    margin-bottom: 6px;
}

.notice-page-header p {
    color: #e5e7eb;
    margin: 0;
}

.notice-primary-btn,
.notice-secondary-btn {
    border: none;
    border-radius: 14px;
    padding: 10px 16px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.notice-primary-btn {
    background: #ffffff;
    color: #4b2e83;
}

.notice-secondary-btn {
    background: #f3f4f6;
    color: #374151;
}

.notice-form-card,
.notice-list-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
    margin-bottom: 24px;
    overflow: hidden;
}

.notice-form-card {
    padding: 24px;
}

.notice-form-header,
.notice-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.notice-list-header {
    padding: 22px 24px;
    border-bottom: 1px solid #eef2f7;
    margin-bottom: 0;
}

    .notice-form-header h5,
    .notice-list-header h5 {
        font-weight: 900;
        margin: 0;
    }

    .notice-list-header span {
        color: #6b7280;
        font-weight: 800;
    }

.notice-close-btn {
    border: none;
    background: #f3f4f6;
    color: #374151;
    width: 38px;
    height: 38px;
    border-radius: 13px;
}

.notice-input {
    border-radius: 14px !important;
    border-color: #d1d5db !important;
    padding: 10px 12px !important;
}

.notice-check {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #374151;
}

.notice-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.notice-table-wrapper {
    overflow-x: auto;
}

.notice-table {
    margin-bottom: 0;
}

    .notice-table thead th {
        background: #f8fafc;
        color: #6b7280;
        font-size: 0.78rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        font-weight: 900;
        border-bottom: 1px solid #e5e7eb;
        padding: 14px 18px;
    }

    .notice-table tbody td {
        padding: 16px 18px;
        border-bottom: 1px solid #eef2f7;
    }

.notice-title-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .notice-title-cell strong {
        display: block;
        color: #111827;
        font-weight: 900;
    }

    .notice-title-cell span {
        display: block;
        color: #6b7280;
        font-size: 0.82rem;
        font-weight: 600;
    }

.notice-type-icon {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notice-type-badge,
.notice-status,
.notice-pinned {
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.notice-announcement {
    background: #eff6ff;
    color: #0d6efd;
}

.notice-event {
    background: #fff7ed;
    color: #ea580c;
}

.notice-prayer {
    background: #f3f0ff;
    color: #4b2e83;
}

.notice-celebration {
    background: #ecfdf5;
    color: #16a34a;
}

.notice-reminder {
    background: #fef3c7;
    color: #b45309;
}

.notice-emergency {
    background: #fef2f2;
    color: #dc3545;
}

.notice-status.active {
    background: #ecfdf5;
    color: #16a34a;
}

.notice-status.inactive {
    background: #f3f4f6;
    color: #6b7280;
}

.notice-pinned {
    background: #f3f0ff;
    color: #4b2e83;
}

.notice-action-btn {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 12px;
    margin-left: 4px;
}

    .notice-action-btn.edit {
        background: #eff6ff;
        color: #0d6efd;
    }

    .notice-action-btn.toggle {
        background: #fef3c7;
        color: #b45309;
    }

    .notice-action-btn.delete {
        background: #fef2f2;
        color: #dc3545;
    }

.notice-empty {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

    .notice-empty i {
        width: 70px;
        height: 70px;
        border-radius: 22px;
        background: #f3f0ff;
        color: #4b2e83;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        margin-bottom: 18px;
    }

    .notice-empty h5 {
        font-weight: 900;
        color: #111827;
    }

@media (max-width: 768px) {
    .notice-page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .notice-form-actions {
        flex-direction: column;
    }

    .notice-primary-btn,
    .notice-secondary-btn {
        width: 100%;
        justify-content: center;
    }
}
.prayer-point-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.prayer-point-number {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #f3f0ff;
    color: #4b2e83;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}