/* ==========================================
   ADMIN NOTIFICATIONS
========================================== */

.admin-notifications-page {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}


/* HEADER */

.admin-notifications-header {
    margin-bottom: 24px;
}

.admin-notifications-header h1 {
    margin: 0 0 6px;
    font-size: 28px;
    color: #1f2937;
}

.admin-notifications-header h1 i {
    margin-right: 8px;
    color: #2563eb;
}

.admin-notifications-header p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}


/* ==========================================
   SUMMARY
========================================== */

.notification-summary-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}


.notification-summary-card {
    min-height: 120px;

    padding: 19px;

    border-radius: 17px;

    background: #ffffff;

    display: flex;
    align-items: center;

    gap: 14px;

    box-shadow:
        0 5px 20px
        rgba(15, 23, 42, .06);
}


.notification-summary-icon {
    width: 48px;
    min-width: 48px;
    height: 48px;

    border-radius: 13px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
}


.notification-summary-icon.total {
    background: #eff6ff;
    color: #2563eb;
}

.notification-summary-icon.unread {
    background: #fff7ed;
    color: #ea580c;
}

.notification-summary-icon.read {
    background: #ecfdf5;
    color: #16a34a;
}

.notification-summary-icon.today {
    background: #f5f3ff;
    color: #7c3aed;
}


.notification-summary-card span {
    display: block;

    margin-bottom: 5px;

    font-size: 10px;
    font-weight: 700;

    color: #6b7280;

    text-transform: uppercase;
}


.notification-summary-card h2 {
    margin: 0 0 4px;

    font-size: 20px;

    color: #111827;
}


.notification-summary-card small {
    font-size: 10px;

    color: #9ca3af;
}


/* ==========================================
   FILTER
========================================== */

.notification-filter-card {
    padding: 17px;

    margin-bottom: 22px;

    border-radius: 15px;

    background: #ffffff;

    box-shadow:
        0 5px 20px
        rgba(15, 23, 42, .05);
}


.notification-filter-form {
    display: grid;

    grid-template-columns:
        minmax(270px, 1fr)
        160px
        160px
        auto
        auto;

    gap: 10px;
}


.notification-search-box {
    height: 45px;

    padding: 0 13px;

    border: 1px solid #dce1e7;

    border-radius: 9px;

    display: flex;
    align-items: center;

    gap: 9px;
}


.notification-search-box i {
    color: #9ca3af;
}


.notification-search-box input {
    width: 100%;

    border: none;

    outline: none;

    background: transparent;

    font-size: 12px;
}


.notification-filter-form select {
    height: 45px;

    padding: 0 11px;

    border: 1px solid #dce1e7;

    border-radius: 9px;

    background: #ffffff;

    outline: none;

    font-size: 11px;
}


.notification-filter-form button,
.notification-reset-btn {
    min-height: 45px;

    padding: 0 15px;

    border-radius: 9px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 6px;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;
}


.notification-filter-form button {
    border: none;

    background: #2563eb;

    color: #ffffff;

    cursor: pointer;
}


.notification-reset-btn {
    background: #f3f4f6;

    color: #4b5563;
}


/* ==========================================
   RECORD CARD
========================================== */

.notification-record-card {
    background: #ffffff;

    border-radius: 17px;

    overflow: hidden;

    box-shadow:
        0 5px 20px
        rgba(15, 23, 42, .05);
}


.notification-record-header {
    padding: 21px 22px;

    border-bottom:
        1px solid #edf0f3;
}


.notification-record-header h2 {
    margin: 0 0 4px;

    font-size: 17px;
}


.notification-record-header p {
    margin: 0;

    color: #6b7280;

    font-size: 10px;
}


/* ==========================================
   TABLE
========================================== */

.notification-table-wrap {
    overflow-x: auto;
}


.notification-table {
    width: 100%;

    min-width: 1050px;

    border-collapse: collapse;
}


.notification-table th {
    padding: 14px;

    text-align: left;

    background: #f8fafc;

    color: #64748b;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;

    border-bottom:
        1px solid #e5e7eb;
}


.notification-table td {
    padding: 15px 14px;

    border-bottom:
        1px solid #eef1f4;

    vertical-align: middle;

    color: #374151;

    font-size: 11px;
}


.notification-table tbody tr:hover {
    background: #fafbfc;
}


/* DATE */

.notification-date {
    display: block;

    white-space: nowrap;
}


.notification-table td > small {
    display: block;

    margin-top: 3px;

    color: #8b95a5;

    font-size: 9px;
}


/* MEMBER */

.notification-member {
    display: flex;

    align-items: center;

    gap: 9px;
}


.notification-member-icon {
    width: 35px;
    min-width: 35px;
    height: 35px;

    border-radius: 10px;

    background: #eff6ff;

    color: #2563eb;

    display: flex;
    align-items: center;
    justify-content: center;
}


.notification-member strong {
    display: block;
}


.notification-member small {
    display: block;

    margin-top: 3px;

    color: #8b95a5;

    font-size: 9px;
}


/* CONTENT */

.notification-content {
    max-width: 480px;
}


.notification-content strong {
    display: block;

    margin-bottom: 4px;

    color: #1f2937;
}


.notification-content p {
    margin: 0;

    color: #6b7280;

    line-height: 1.5;

    font-size: 10px;
}


/* TYPE */

.notification-type {
    display: inline-flex;

    padding: 6px 9px;

    border-radius: 999px;

    background: #eff6ff;

    color: #2563eb;

    font-size: 9px;
    font-weight: 700;

    text-transform: capitalize;

    white-space: nowrap;
}


.notification-type.success {
    background: #ecfdf5;
    color: #15803d;
}


.notification-type.warning {
    background: #fff7ed;
    color: #c2410c;
}


.notification-type.error,
.notification-type.danger {
    background: #fef2f2;
    color: #dc2626;
}


.notification-type.info {
    background: #eff6ff;
    color: #2563eb;
}


/* STATUS */

.notification-status {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    padding: 6px 9px;

    border-radius: 999px;

    font-size: 9px;
    font-weight: 700;

    white-space: nowrap;
}


.notification-status.read {
    background: #ecfdf5;

    color: #15803d;
}


.notification-status.unread {
    background: #fff7ed;

    color: #c2410c;
}


.notification-status.unread i {
    font-size: 6px;
}


/* EMPTY */

.notification-empty {
    padding: 65px 20px;

    text-align: center;
}


.notification-empty-icon {
    width: 62px;
    height: 62px;

    margin: 0 auto 15px;

    border-radius: 50%;

    background: #f3f4f6;

    color: #6b7280;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 23px;
}


.notification-empty h3 {
    margin: 0 0 6px;
}


.notification-empty p {
    margin: 0;

    color: #6b7280;

    font-size: 11px;
}


/* ==========================================
   NOTIFICATION PAGINATION
========================================== */

.notification-pagination {
    padding: 18px 20px;

    border-top: 1px solid #edf0f3;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}


.notification-page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    flex-wrap: wrap;
}


.notification-page-number {
    width: 35px;
    height: 35px;

    border-radius: 8px;

    background: #f3f4f6;
    color: #374151;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    font-size: 11px;
    font-weight: 700;
}


.notification-page-number.active {
    background: #2563eb;
    color: #ffffff;
}


.notification-page-number:hover {
    background: #dbeafe;
    color: #1d4ed8;
}


.notification-page-nav {
    min-height: 37px;

    padding: 0 13px;

    border-radius: 8px;

    background: #eff6ff;
    color: #2563eb;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    text-decoration: none;

    font-size: 11px;
    font-weight: 700;

    white-space: nowrap;
}


.notification-page-nav.disabled {
    background: #f3f4f6;
    color: #9ca3af;

    cursor: not-allowed;
}