/* ==========================================
   ADMIN DEFAULTS PAGE
========================================== */

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


/* ==========================================
   PAGE HEADER
========================================== */

.admin-defaults-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

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

.admin-defaults-header h1 i {
    margin-right: 8px;
    color: #f59e0b;
}

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


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

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

.admin-default-summary-card {
    background: #ffffff;
    border-radius: 17px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.06);
}

.admin-default-summary-card span {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}

.admin-default-summary-card h2 {
    margin: 0;
    font-size: 21px;
    color: #111827;
}

.admin-default-summary-icon {
    width: 47px;
    height: 47px;
    min-width: 47px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.admin-default-summary-icon.outstanding {
    background: #fff7ed;
    color: #f97316;
}

.admin-default-summary-icon.members {
    background: #fef2f2;
    color: #dc2626;
}

.admin-default-summary-icon.records {
    background: #eff6ff;
    color: #2563eb;
}

.admin-default-summary-icon.cleared {
    background: #ecfdf5;
    color: #16a34a;
}


/* ==========================================
   HISTORY CARD
========================================== */

.admin-default-history-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 22px rgba(15, 23, 42, 0.06);
}

.admin-default-history-header {
    padding: 23px 24px;
    border-bottom: 1px solid #edf0f3;
}

.admin-default-history-header h2 {
    margin: 0 0 5px;
    font-size: 19px;
    color: #1f2937;
}

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


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

.admin-default-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.admin-default-table {
    width: 100%;
    min-width: 1450px;
    border-collapse: collapse;
}

.admin-default-table th {
    padding: 15px 16px;
    text-align: left;
    background: #f8fafc;
    border-bottom: 1px solid #e8ecf1;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #64748b;
    white-space: nowrap;
}

.admin-default-table td {
    padding: 17px 16px;
    border-bottom: 1px solid #eef1f4;
    font-size: 13px;
    color: #374151;
    vertical-align: middle;
}

.admin-default-table tbody tr:last-child td {
    border-bottom: none;
}

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


/* ==========================================
   MEMBER
========================================== */

.admin-default-member {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-default-member-icon {
    width: 38px;
    min-width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #eef4ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-default-member strong {
    display: block;
    color: #1f2937;
    margin-bottom: 3px;
}

.admin-default-member small,
.admin-default-subtext {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    color: #8b95a5;
}


/* ==========================================
   DEFAULT DATA
========================================== */

.admin-default-penalty {
    color: #dc2626;
}

.admin-default-reason {
    display: inline-block;
    max-width: 210px;
    line-height: 1.45;
}


/* ==========================================
   STATUS
========================================== */

.admin-default-status,
.admin-contribution-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 82px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.admin-default-status.unpaid,
.admin-contribution-status.overdue {
    background: #fef2f2;
    color: #dc2626;
}

.admin-default-status.paid,
.admin-contribution-status.paid {
    background: #ecfdf5;
    color: #15803d;
}

.admin-contribution-status.pending {
    background: #fff7ed;
    color: #c2410c;
}


/* ==========================================
   EMPTY
========================================== */

.admin-default-empty {
    padding: 70px 20px;
    text-align: center;
}

.admin-default-empty-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 17px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.admin-default-empty h3 {
    margin: 0 0 6px;
    color: #1f2937;
}

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