/* ==========================================================
   WorldSpace Broadband
   Admin Authentication
========================================================== */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f3f7fb;
    color: #14213d;
}


/* ==========================================================
   Login Page
========================================================== */

.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;

    background:
        linear-gradient(
            135deg,
            #eef6ff 0%,
            #ffffff 50%,
            #eafcff 100%
        );
}


/* ==========================================================
   Login Card
========================================================== */

.admin-login-card {
    width: 100%;
    max-width: 430px;

    padding: 40px;

    background: #ffffff;

    border: 1px solid #e0e8f1;

    border-radius: 20px;

    box-shadow:
        0 20px 50px
        rgba(20, 50, 90, 0.12);
}


/* ==========================================================
   Header
========================================================== */

.admin-login-header {
    text-align: center;
    margin-bottom: 30px;
}

.admin-login-header h1 {
    margin: 0 0 8px;

    color: #102a56;

    font-size: 25px;
}

.admin-login-header p {
    margin: 0;

    color: #68778c;

    font-size: 14px;
}


/* ==========================================================
   Error
========================================================== */

.admin-login-error {
    margin-bottom: 20px;
    padding: 12px 14px;

    border: 1px solid #f1b5b2;
    border-radius: 8px;

    background: #fff4f3;

    color: #c62828;

    font-size: 13px;
}


/* ==========================================================
   Success
========================================================== */

.admin-login-success {
    margin-bottom: 20px;
    padding: 12px 14px;

    border: 1px solid #b7dfc0;
    border-radius: 8px;

    background: #f0fff4;

    color: #217a3b;

    font-size: 13px;
}


/* ==========================================================
   Form
========================================================== */

.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-form-field label {
    color: #263b59;

    font-size: 14px;

    font-weight: 700;
}

.admin-form-field input {
    width: 100%;
    min-height: 48px;

    padding: 12px 14px;

    border: 1px solid #d5dfeb;
    border-radius: 8px;

    background: #ffffff;

    color: #263b59;

    font-size: 14px;
}

.admin-form-field input:focus {
    outline: none;

    border-color: #008ee8;

    box-shadow:
        0 0 0 3px
        rgba(0, 142, 232, 0.12);
}


/* ==========================================================
   Login Button
========================================================== */

.admin-login-button {
    width: 100%;
    min-height: 50px;

    border: 1px solid #006dcc;
    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            #006dcc,
            #008ee8
        );

    color: #ffffff;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.admin-login-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 8px 20px
        rgba(0, 109, 204, 0.25);
}


/* ==========================================================
   Mobile
========================================================== */

@media (max-width: 480px) {

    .admin-login-page {
        padding: 20px 14px;
    }

    .admin-login-card {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .admin-login-header h1 {
        font-size: 22px;
    }

}


/* ==========================================================
   ADMIN DASHBOARD
========================================================== */

.admin-layout {
    min-height: 100vh;
    display: flex;
    background: #f3f7fb;
}


/* ==========================================================
   Sidebar
========================================================== */

.admin-sidebar {
    width: 240px;
    flex-shrink: 0;
    min-height: 100vh;
    padding: 28px 18px;

    background:
        linear-gradient(
            180deg,
            #071b36,
            #0b2f63
        );

    color: #ffffff;
}

.admin-sidebar__brand {
    padding: 10px 12px 30px;
}

.admin-sidebar__brand h2 {
    margin: 0 0 5px;
    font-size: 22px;
}

.admin-sidebar__brand span {
    color: rgba(255,255,255,.70);
    font-size: 12px;
}

.admin-sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-sidebar__nav a {
    display: block;
    padding: 13px 14px;

    border-radius: 8px;

    color: rgba(255,255,255,.78);

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition: .2s ease;
}

.admin-sidebar__nav a:hover,
.admin-sidebar__nav a.active {
    background: rgba(255,255,255,.12);
    color: #ffffff;
}


/* ==========================================================
   Main
========================================================== */

.admin-main {
    flex: 1;
    min-width: 0;
    padding: 30px;
}


/* ==========================================================
   Topbar
========================================================== */

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 30px;
}

.admin-topbar h1 {
    margin: 0 0 5px;

    color: #102a56;

    font-size: 28px;
}

.admin-topbar p {
    margin: 0;

    color: #68778c;

    font-size: 14px;
}


.admin-topbar__role {
    display: inline-flex;
    align-items: center;

    margin-top: 6px;
    padding: 4px 10px;

    border: 1px solid #d5dfeb;
    border-radius: 999px;

    background: #f4f7fb;

    color: #31506f;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.admin-logout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 0 18px;

    border-radius: 8px;

    background: #ffffff;

    border: 1px solid #d5dfeb;

    color: #31506f;

    text-decoration: none;

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


/* ==========================================================
   Statistics
========================================================== */

.admin-stats {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;

    margin-bottom: 28px;
}

.admin-stat-card {
    padding: 22px;

    background: #ffffff;

    border: 1px solid #e0e8f1;

    border-radius: 14px;

    box-shadow:
        0 8px 25px
        rgba(25,60,100,.06);
}

.admin-stat-card span {
    display: block;

    margin-bottom: 10px;

    color: #68778c;

    font-size: 13px;
}

.admin-stat-card strong {
    color: #102a56;

    font-size: 30px;
}


/* ==========================================================
   Panel
========================================================== */

.admin-panel {
    background: #ffffff;

    border: 1px solid #e0e8f1;

    border-radius: 16px;

    box-shadow:
        0 10px 30px
        rgba(25,60,100,.06);

    overflow: hidden;
}

.admin-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 22px 24px;

    border-bottom: 1px solid #e8eef5;
}

.admin-panel__header h2 {
    margin: 0 0 5px;

    color: #102a56;

    font-size: 19px;
}

.admin-panel__header p {
    margin: 0;

    color: #68778c;

    font-size: 13px;
}

.admin-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 0 16px;

    border-radius: 8px;

    background: #006dcc;

    color: #ffffff;

    text-decoration: none;

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


/* ==========================================================
   Table
========================================================== */

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

.admin-table {
    width: 100%;

    border-collapse: collapse;

    font-size: 13px;
}

.admin-table th {
    padding: 14px 18px;

    background: #f7f9fc;

    color: #52647b;

    text-align: left;

    font-size: 12px;

    white-space: nowrap;
}

.admin-table td {
    padding: 15px 18px;

    border-top: 1px solid #edf1f5;

    color: #344b68;

    vertical-align: middle;
}

.admin-table tr:hover td {
    background: #fafcff;
}

.admin-table small {
    color: #7b8797;
}

.admin-reference {
    color: #006dcc;

    font-weight: 700;

    text-decoration: none;
}

.admin-reference:hover {
    text-decoration: underline;
}


/* ==========================================================
   Status
========================================================== */

.admin-status {
    display: inline-flex;

    padding: 6px 9px;

    border-radius: 999px;

    background: #eef5ff;

    color: #006dcc;

    font-size: 11px;

    font-weight: 700;

    white-space: nowrap;
}


/* ==========================================================
   Empty
========================================================== */

.admin-empty {
    padding: 50px 20px;

    text-align: center;

    color: #68778c;

    font-size: 14px;
}


/* ==========================================================
   Tablet
========================================================== */

@media (max-width: 1000px) {

    .admin-sidebar {
        width: 200px;
    }

    .admin-main {
        padding: 24px;
    }

    .admin-stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ==========================================================
   Mobile
========================================================== */

@media (max-width: 700px) {

    .admin-layout {
        display: block;
    }

    .admin-sidebar {
        width: 100%;
        min-height: auto;

        padding: 15px;
    }

    .admin-sidebar__brand {
        padding: 5px 8px 15px;
    }

    .admin-sidebar__nav {
        flex-direction: row;
        overflow-x: auto;
    }

    .admin-sidebar__nav a {
        white-space: nowrap;
    }

    .admin-main {
        padding: 18px 14px;
    }

    .admin-topbar {
        align-items: flex-start;
    }

    .admin-topbar h1 {
        font-size: 23px;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-panel__header {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* ==========================================================
   Applications - Search & Filter
========================================================== */

.admin-filter-form {
    display: grid;
    grid-template-columns:
        minmax(280px, 2fr)
        minmax(180px, 1fr)
        minmax(150px, 1fr)
        minmax(150px, 1fr)
        auto;
    gap: 16px;
    align-items: end;
    margin-top: 5px;
}

.admin-filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 1px;
}

.admin-filter-actions .admin-button {
    min-height: 44px;
    padding-left: 16px;
    padding-right: 16px;

    white-space: nowrap;

    box-sizing: border-box;
}


/* ==========================================================
   Applications - Better Inputs
========================================================== */

.admin-form-field input,
.admin-form-field select,
.admin-form-field textarea {
    width: 100%;
    box-sizing: border-box;
}

.admin-filter-form .admin-form-field input,
.admin-filter-form .admin-form-field select {
    min-height: 44px;
}


/* ==========================================================
   Applications - Table
========================================================== */

.admin-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

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

.admin-table th {
    white-space: nowrap;
}

.admin-table td {
    vertical-align: middle;
}

.admin-table td strong {
    display: block;
}

.admin-table td small {
    display: block;
    margin-top: 4px;
}


/* ==========================================================
   Applications - Status Badges
========================================================== */

.admin-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 28px;
    padding: 5px 11px;

    border-radius: 999px;

    background: #eef5ff;
    color: #006dcc;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;

    white-space: nowrap;
}


/* ==========================================================
   Applications - Pagination
========================================================== */

.admin-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    margin-top: 20px;
    padding: 18px 4px 2px;

    border-top: 1px solid #e8edf3;
}

.admin-pagination__info {
    color: #68778c;
    font-size: 13px;
}

.admin-pagination__links {
    display: flex;
    align-items: center;
    gap: 7px;
}

.admin-pagination__links a,
.admin-pagination__links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 38px;
    padding: 0 11px;

    border: 1px solid #dce3eb;
    border-radius: 8px;

    background: #fff;
    color: #344054;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    box-sizing: border-box;

    transition:
        background .15s ease,
        border-color .15s ease,
        color .15s ease,
        transform .15s ease;
}

.admin-pagination__links a:hover {
    background: #f5f8fc;
    border-color: #b9c7d8;
    transform: translateY(-1px);
}

.admin-pagination__links .active {
    background: #006dcc;
    border-color: #006dcc;
    color: #fff;
}

.admin-pagination__links .disabled {
    opacity: 0.45;
    cursor: not-allowed;
}


/* ==========================================================
   Applications - Result Summary
========================================================== */

.admin-results-summary {
    color: #68778c;
    font-size: 13px;
}

.admin-results-summary strong {
    color: #344054;
}


/* ==========================================================
   Applications - Mobile
========================================================== */

@media (max-width: 900px) {

    .admin-filter-form {
        grid-template-columns: 1fr 1fr;
    }

    .admin-filter-actions {
        grid-column: 1 / -1;
    }

}


@media (max-width: 700px) {

    .admin-filter-form {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .admin-filter-actions {
        grid-column: auto;
        width: 100%;
    }

    .admin-filter-actions .admin-button {
        flex: 1;
        text-align: center;
    }

    .admin-pagination {
        flex-direction: column;
        align-items: stretch;

        gap: 14px;

        padding-left: 0;
        padding-right: 0;
    }

    .admin-pagination__info {
        text-align: center;
    }

    .admin-pagination__links {
        justify-content: center;
        flex-wrap: wrap;

        gap: 6px;
    }

    .admin-pagination__links a,
    .admin-pagination__links span {
        min-width: 40px;
        height: 40px;
    }

}

/* ==========================================================
   Dashboard - Application Status Colors
========================================================== */

.admin-stat-card--submitted {
    border-left: 5px solid #006dcc;
}

.admin-stat-card--received {
    border-left: 5px solid #f59e0b;
}

.admin-stat-card--verified {
    border-left: 5px solid #7c3aed;
}

.admin-stat-card--process {
    border-left: 5px solid #eab308;
}

.admin-stat-card--scheduled {
    border-left: 5px solid #0891b2;
}

.admin-stat-card--activated {
    border-left: 5px solid #16a34a;
}

.admin-stat-card--rejected {
    border-left: 5px solid #dc2626;
}


/* Dashboard status card hover */

.admin-stat-card--submitted:hover,
.admin-stat-card--received:hover,
.admin-stat-card--verified:hover,
.admin-stat-card--process:hover,
.admin-stat-card--scheduled:hover,
.admin-stat-card--activated:hover,
.admin-stat-card--rejected:hover {
    transform: translateY(-2px);
}


/* ==========================================================
   Dashboard - Status Percentage
========================================================== */

.admin-stat-card__percentage {
    display: block;

    margin-top: 7px;

    color: #68778c;

    font-size: 12px;
    font-weight: 600;
}



/* ==========================================================
   Dashboard - Quick Actions
========================================================== */

.admin-quick-actions {
    margin-bottom: 28px;
}

.admin-quick-actions__grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;

    padding: 20px 24px 24px;
}

.admin-quick-action {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-height: 92px;
    padding: 16px 18px;

    background: #f8fbff;

    border: 1px solid #dce6f1;
    border-radius: 10px;

    color: #102a56;

    text-decoration: none;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.admin-quick-action:hover {
    transform: translateY(-2px);

    background: #ffffff;

    border-color: #b8cce2;

    box-shadow:
        0 8px 20px
        rgba(25,60,100,.08);
}

.admin-quick-action strong {
    display: block;

    margin-bottom: 7px;

    color: #102a56;

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

.admin-quick-action span {
    display: block;

    color: #68778c;

    font-size: 12px;
    line-height: 1.4;
}


/* ==========================================================
   Quick Actions - Responsive
========================================================== */

@media (max-width: 1000px) {

    .admin-quick-actions__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 700px) {

    .admin-quick-actions__grid {
        grid-template-columns: 1fr;

        padding: 16px;
    }

    .admin-quick-action {
        min-height: 78px;
    }

}


/* ==========================================================
   Applications - Status Colors
========================================================== */

.admin-status--submitted {
    background: #fff7e6;
    color: #b76e00;
}

.admin-status--received {
    background: #eef5ff;
    color: #006dcc;
}

.admin-status--verified {
    background: #edf9f1;
    color: #18864b;
}

.admin-status--process {
    background: #f4efff;
    color: #6f42c1;
}

.admin-status--scheduled {
    background: #fff0f5;
    color: #c23868;
}

.admin-status--activated {
    background: #eaf8f0;
    color: #087443;
}

.admin-status--rejected {
    background: #fff0f0;
    color: #c62828;
}

.admin-status--default {
    background: #f1f3f5;
    color: #495057;
}

/* ==========================================================
   Application View - Details
========================================================== */

.admin-details-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;

    padding: 22px 24px 24px;
}

.admin-detail-item {
    min-width: 0;

    padding: 16px;

    background: #f8fbff;

    border: 1px solid #e1e9f2;

    border-radius: 10px;
}

.admin-detail-item span {
    display: block;

    margin-bottom: 7px;

    color: #68778c;

    font-size: 12px;
    font-weight: 600;
}

.admin-detail-item strong {
    display: block;

    color: #102a56;

    font-size: 14px;

    word-break: break-word;
}


/* ==========================================================
   Application View - Documents
========================================================== */

.admin-document-list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;

    padding: 22px 24px 24px;
}

.admin-document-item {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 16px;

    background: #f8fbff;

    border: 1px solid #e1e9f2;

    border-radius: 10px;
}

.admin-document-item > div {
    min-width: 0;
}

.admin-document-item strong {
    display: block;

    margin-bottom: 6px;

    color: #102a56;

    font-size: 14px;
}

.admin-document-item small {
    display: block;

    color: #68778c;

    font-size: 12px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}


/* ==========================================================
   Application View - Status Form
========================================================== */

.admin-status-form {
    display: grid;

    gap: 18px;

    padding: 22px 24px 24px;
}

.admin-status-form .admin-form-field {
    margin: 0;
}

.admin-form-field select,
.admin-form-field textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 11px 13px;

    border: 1px solid #d5dfeb;

    border-radius: 8px;

    background: #ffffff;

    color: #243b53;

    font-family: inherit;

    font-size: 13px;

    outline: none;

    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.admin-form-field select {
    min-height: 44px;

    cursor: pointer;
}

.admin-form-field textarea {
    min-height: 120px;

    resize: vertical;

    line-height: 1.5;
}

.admin-form-field select:focus,
.admin-form-field textarea:focus {
    border-color: #006dcc;

    box-shadow:
        0 0 0 3px
        rgba(0,109,204,.10);
}

.admin-status-form .admin-button--primary {
    justify-self: start;

    min-height: 42px;

    padding: 0 18px;
}


/* ==========================================================
   Application View - Alerts
========================================================== */

.admin-alert {
    margin-bottom: 20px;

    padding: 13px 16px;

    border-radius: 9px;

    font-size: 13px;

    font-weight: 600;
}

.admin-alert--success {
    background: #edf9f1;

    border: 1px solid #bfe7cc;

    color: #18713e;
}

.admin-alert--error {
    background: #fff0f0;

    border: 1px solid #f1c2c2;

    color: #b42318;
}


/* ==========================================================
   Application View - History
========================================================== */

.admin-history {
    padding: 22px 24px 24px;
}

.admin-history__item {
    position: relative;

    padding: 0 0 22px 24px;

    margin-left: 5px;

    border-left: 2px solid #dce6f1;
}

.admin-history__item:last-child {
    padding-bottom: 0;

    border-left-color: transparent;
}

.admin-history__item::before {
    content: "";

    position: absolute;

    top: 2px;

    left: -7px;

    width: 12px;

    height: 12px;

    border-radius: 50%;

    background: #006dcc;

    border: 3px solid #ffffff;

    box-shadow:
        0 0 0 1px #b9cce0;
}

.admin-history__status {
    color: #102a56;

    font-size: 14px;

    font-weight: 700;
}

.admin-history__date {
    margin-top: 4px;

    color: #68778c;

    font-size: 12px;
}

.admin-history__remarks {
    margin-top: 10px;

    padding: 10px 12px;

    background: #f8fbff;

    border: 1px solid #e1e9f2;

    border-radius: 7px;

    color: #475467;

    font-size: 13px;

    line-height: 1.5;
}


/* ==========================================================
   Application View - Empty State
========================================================== */

.admin-empty-state {
    padding: 30px 24px;

    text-align: center;

    color: #68778c;

    font-size: 13px;
}


/* ==========================================================
   Application View - Responsive
========================================================== */

@media (max-width: 1000px) {

    .admin-details-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 700px) {

    .admin-details-grid {
        grid-template-columns: 1fr;

        padding: 16px;
    }

    .admin-document-list {
        grid-template-columns: 1fr;

        padding: 16px;
    }

    .admin-document-item {
        align-items: flex-start;

        flex-direction: column;
    }

    .admin-document-item .admin-button {
        width: 100%;

        text-align: center;

        box-sizing: border-box;
    }

    .admin-status-form {
        padding: 16px;
    }

    .admin-history {
        padding: 18px 16px 20px;
    }

    .admin-history__item {
        padding-left: 20px;
    }

}

/* ==========================================================
   Application Details - Alerts
========================================================== */

.admin-alert {
    margin-bottom: 20px;

    padding: 13px 16px;

    border: 1px solid transparent;
    border-radius: 8px;

    font-size: 13px;
    line-height: 1.5;
}

.admin-alert--success {
    background: #edf9f1;
    border-color: #b7e4c7;
    color: #166534;
}

.admin-alert--error {
    background: #fff0f0;
    border-color: #f3b4b4;
    color: #b42318;
}


/* ==========================================================
   Application Details - Buttons
========================================================== */

.admin-button {
    display: inline-flex;

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

    min-height: 40px;

    padding: 9px 15px;

    border: 1px solid #d5dee9;
    border-radius: 7px;

    background: #ffffff;
    color: #344054;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.admin-button:hover {
    background: #f5f8fc;
    border-color: #b9c7d8;

    transform: translateY(-1px);
}

.admin-button--primary {
    background: #006dcc;
    border-color: #006dcc;
    color: #ffffff;
}

.admin-button--primary:hover {
    background: #005fae;
    border-color: #005fae;
}

.admin-button--secondary {
    background: #ffffff;
    color: #344054;
}

.admin-button--small {
    min-height: 34px;

    padding: 7px 12px;

    font-size: 12px;
}


/* ==========================================================
   Application Details - Information Grid
========================================================== */

.admin-details-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;

    padding: 4px 0;
}

.admin-detail-item {
    padding: 15px 16px;

    border: 1px solid #e3e9f0;
    border-radius: 8px;

    background: #f9fbfd;
}

.admin-detail-item span {
    display: block;

    margin-bottom: 6px;

    color: #68778c;

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

    text-transform: uppercase;
    letter-spacing: .03em;
}

.admin-detail-item strong {
    display: block;

    color: #102a56;

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

    line-height: 1.5;

    word-break: break-word;
}


/* ==========================================================
   Application Details - Documents
========================================================== */

.admin-document-list {
    display: flex;

    flex-direction: column;

    gap: 12px;
}

.admin-document-item {
    display: flex;

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

    gap: 20px;

    padding: 15px 16px;

    border: 1px solid #e3e9f0;
    border-radius: 8px;

    background: #f9fbfd;
}

.admin-document-item > div {
    min-width: 0;
}

.admin-document-item strong {
    display: block;

    margin-bottom: 5px;

    color: #102a56;

    font-size: 13px;
}

.admin-document-item small {
    display: block;

    color: #68778c;

    font-size: 12px;

    line-height: 1.4;

    word-break: break-all;
}


/* ==========================================================
   Application Details - Status Form
========================================================== */

.admin-status-form {
    display: flex;

    flex-direction: column;

    gap: 18px;
}

.admin-status-form .admin-form-field {
    margin: 0;
}

.admin-form-field label {
    display: block;

    margin-bottom: 7px;

    color: #344054;

    font-size: 13px;
    font-weight: 600;
}

.admin-form-field input,
.admin-form-field select,
.admin-form-field textarea {
    border: 1px solid #d5dee9;
    border-radius: 7px;

    background: #ffffff;
    color: #1d2939;

    font-family: inherit;
    font-size: 13px;

    outline: none;

    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.admin-form-field input,
.admin-form-field select {
    min-height: 42px;

    padding: 9px 12px;
}

.admin-form-field textarea {
    min-height: 120px;

    padding: 11px 12px;

    resize: vertical;
}

.admin-form-field input:focus,
.admin-form-field select:focus,
.admin-form-field textarea:focus {
    border-color: #006dcc;

    box-shadow:
        0 0 0 3px
        rgba(0,109,204,.10);
}

.admin-status-form .admin-button {
    align-self: flex-start;
}


/* ==========================================================
   Application Details - Status History
========================================================== */

.admin-history {
    display: flex;

    flex-direction: column;

    gap: 12px;
}

.admin-history__item {
    position: relative;

    padding: 15px 17px 15px 20px;

    border: 1px solid #e3e9f0;
    border-radius: 8px;

    background: #f9fbfd;
}

.admin-history__item::before {
    content: "";

    position: absolute;

    left: 0;
    top: 12px;
    bottom: 12px;

    width: 4px;

    border-radius: 0 4px 4px 0;

    background: #006dcc;
}

.admin-history__status {
    color: #102a56;

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

.admin-history__date {
    margin-top: 5px;

    color: #68778c;

    font-size: 11px;
}

.admin-history__remarks {
    margin-top: 11px;

    padding-top: 11px;

    border-top: 1px solid #e3e9f0;

    color: #475467;

    font-size: 12px;

    line-height: 1.6;

    white-space: normal;
}


/* ==========================================================
   Application Details - Empty State
========================================================== */

.admin-empty-state {
    padding: 35px 20px;

    border: 1px dashed #d5dee9;
    border-radius: 8px;

    background: #fafbfd;

    text-align: center;
}

.admin-empty-state p {
    margin: 0;

    color: #68778c;

    font-size: 13px;
}


/* ==========================================================
   Application Details - Responsive
========================================================== */

@media (max-width: 700px) {

    .admin-details-grid {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .admin-document-item {
        align-items: flex-start;

        flex-direction: column;

        gap: 12px;
    }

    .admin-document-item .admin-button {
        width: 100%;
    }

    .admin-status-form .admin-button {
        width: 100%;
    }

}

/* ==========================================================
   Application Details - History Status Colors
========================================================== */

.admin-history__item--submitted::before {
    background: #f59e0b;
}

.admin-history__item--received::before {
    background: #006dcc;
}

.admin-history__item--verified::before {
    background: #18864b;
}

.admin-history__item--process::before {
    background: #7c3aed;
}

.admin-history__item--scheduled::before {
    background: #c23868;
}

.admin-history__item--activated::before {
    background: #087443;
}

.admin-history__item--rejected::before {
    background: #dc2626;
}

.admin-history__item--default::before {
    background: #68778c;
}

/* ==========================================================
   Applications - Active Filters
========================================================== */

.admin-active-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    padding: 14px 24px;

    background: #f8fbff;

    border-bottom: 1px solid #e8eef5;

    color: #68778c;

    font-size: 12px;
}

.admin-active-filters strong {
    color: #344054;

    font-size: 12px;
}

.admin-active-filter {
    display: inline-flex;
    align-items: center;

    min-height: 28px;
    padding: 4px 10px;

    background: #eef5ff;

    border: 1px solid #d5e4f5;
    border-radius: 999px;

    color: #006dcc;

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

    line-height: 1.2;
}

@media (max-width: 700px) {

    .admin-active-filters {
        align-items: flex-start;
        flex-direction: column;

        padding: 14px 16px;
    }

    .admin-active-filter {
        max-width: 100%;

        overflow-wrap: anywhere;
    }

}


/* ==========================================================
   Applications - Action Button
========================================================== */

.admin-table td:last-child {
    white-space: nowrap;
}

.admin-table .admin-button--small {
    min-height: 34px;
    padding: 0 12px;

    border-radius: 7px;

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

    box-sizing: border-box;
}

.admin-table .admin-button--small:hover {
    transform: translateY(-1px);
}

@media (max-width: 700px) {

    .admin-table .admin-button--small {
        min-height: 36px;
        padding: 0 13px;
    }

}


/* ==========================================================
   Applications - Table Readability
========================================================== */

.admin-table tbody tr {
    transition:
        background .15s ease;
}

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

.admin-table td {
    padding-top: 14px;
    padding-bottom: 14px;
}

.admin-table td strong {
    color: #102a56;
    font-weight: 700;
}

.admin-table td small {
    color: #68778c;
    font-size: 11px;
    line-height: 1.4;
}

.admin-table td:nth-child(1) strong {
    color: #006dcc;
    letter-spacing: .2px;
}

.admin-table td:nth-child(3) {
    color: #344054;
    font-weight: 600;
    white-space: nowrap;
}

.admin-table td:nth-child(4) strong {
    font-size: 13px;
}

.admin-table td:nth-child(6) {
    white-space: nowrap;
}


/* ==========================================================
   Application Details - Documents
========================================================== */

.admin-document-list {
    display: flex;
    flex-direction: column;

    gap: 12px;

    padding: 20px 24px 24px;
}

.admin-document-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 16px 18px;

    background: #f8fbff;

    border: 1px solid #dce6f1;
    border-radius: 10px;

    transition:
        background .15s ease,
        border-color .15s ease,
        box-shadow .15s ease;
}

.admin-document-item:hover {
    background: #ffffff;

    border-color: #c7d7e8;

    box-shadow:
        0 5px 15px
        rgba(25,60,100,.06);
}

.admin-document-item > div {
    min-width: 0;
}

.admin-document-item strong {
    display: block;

    margin-bottom: 5px;

    color: #102a56;

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

.admin-document-item small {
    display: block;

    max-width: 100%;

    overflow-wrap: anywhere;

    color: #68778c;

    font-size: 12px;
    line-height: 1.4;
}

.admin-document-item .admin-button {
    flex-shrink: 0;
}

@media (max-width: 700px) {

    .admin-document-list {
        padding: 16px;
    }

    .admin-document-item {
        align-items: flex-start;
        flex-direction: column;

        gap: 12px;
    }

    .admin-document-item .admin-button {
        width: 100%;

        text-align: center;
    }

}



/* ==========================================================
   Application Status - Current Status
========================================================== */

.admin-current-status {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    margin: 0 24px 20px;

    padding: 16px 18px;

    background: #f7faff;

    border: 1px solid #dce7f3;

    border-radius: 10px;
}

.admin-current-status__label {
    color: #68778c;

    font-size: 13px;

    font-weight: 600;
}


/* ==========================================================
   Application Status - Form
========================================================== */

.admin-status-form {
    padding: 0 24px 24px;
}

.admin-status-form .admin-form-field {
    margin-bottom: 18px;
}

.admin-status-form textarea {
    min-height: 120px;
    resize: vertical;
}


/* ==========================================================
   Application Status - Mobile
========================================================== */

@media (max-width: 700px) {

    .admin-current-status {
        align-items: flex-start;
        flex-direction: column;

        margin: 0 14px 18px;
        padding: 14px;
    }

    .admin-status-form {
        padding: 0 14px 18px;
    }

}
