/*
|--------------------------------------------------------------------------
| UV MSP Portal
| Modern Portal Stylesheet
|--------------------------------------------------------------------------
*/


/*
|--------------------------------------------------------------------------
| Global Variables
|--------------------------------------------------------------------------
*/

:root {

    --portal-primary: #2f8cff;

    --portal-primary-dark: #1769c2;

    --portal-secondary: #20b8f3;

    --portal-success: #20c997;

    --portal-warning: #f5b942;

    --portal-danger: #ef5b67;

    --portal-dark: #101923;

    --portal-dark-2: #162330;

    --portal-text: #263746;

    --portal-muted: #718096;

    --portal-background: #eef3f8;

    --portal-card: #ffffff;

    --portal-border: #e1e8ef;

    --portal-shadow:
        0 10px 35px rgba(15, 32, 50, 0.10);

    --portal-shadow-hover:
        0 15px 40px rgba(15, 32, 50, 0.16);

    --portal-radius: 14px;

    --portal-radius-small: 9px;

    --portal-max-width: 1240px;

}


/*
|--------------------------------------------------------------------------
| Global Reset
|--------------------------------------------------------------------------
*/

* {

    box-sizing: border-box;

}


html {

    min-height: 100%;

    scroll-behavior: smooth;

}


body {

    margin: 0;

    min-height: 100vh;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    color: var(--portal-text);

    background-color: var(--portal-background);

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;

}


/*
|--------------------------------------------------------------------------
| Links
|--------------------------------------------------------------------------
*/

a {

    color: var(--portal-primary);

    text-decoration: none;

}


a:hover {

    color: var(--portal-primary-dark);

}


/*
|--------------------------------------------------------------------------
| Background
|--------------------------------------------------------------------------
*/

.portal-background {

    position: relative;

    min-height: 100vh;

    padding: 25px 20px;

    background-image:
        url("/assets/images/background.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    background-attachment: fixed;

}


.portal-background::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(7, 19, 31, 0.78),
            rgba(15, 40, 60, 0.62)
        );

    z-index: 0;

}


/*
|--------------------------------------------------------------------------
| Main Portal Container
|--------------------------------------------------------------------------
*/

.portal-container {

    position: relative;

    z-index: 1;

    width: 100%;

    max-width: var(--portal-max-width);

    margin: 0 auto;

    background:
        rgba(246, 249, 252, 0.97);

    border-radius: 18px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.28);

    overflow: hidden;

}


/*
|--------------------------------------------------------------------------
| Portal Header
|--------------------------------------------------------------------------
*/

.portal-header {

    position: relative;

    padding: 28px 35px 24px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f5f8fb
        );

    border-bottom: 1px solid var(--portal-border);

    text-align: center;

}


.portal-logo {

    display: block;

    width: auto;

    max-width: 260px;

    height: auto;

    max-height: 90px;

    margin: 0 auto 12px;

}


.portal-title {

    margin: 0;

    color: var(--portal-dark);

    font-size: 25px;

    font-weight: 750;

    letter-spacing: -0.4px;

}


.portal-subtitle {

    margin: 5px 0 0;

    color: var(--portal-muted);

    font-size: 14px;

}


/*
|--------------------------------------------------------------------------
| Navigation
|--------------------------------------------------------------------------
*/

.portal-nav {

    padding: 0 20px;

    background:
        linear-gradient(
            135deg,
            #101923,
            #172736
        );

    border-bottom: 1px solid rgba(255,255,255,0.06);

}


.portal-nav ul {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    justify-content: center;

    margin: 0;

    padding: 0;

    list-style: none;

}


.portal-nav li {

    margin: 0;

    padding: 0;

}


.portal-nav a {

    display: block;

    position: relative;

    padding: 14px 18px;

    color: rgba(255,255,255,0.78);

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;

}


.portal-nav a:hover {

    background:
        rgba(47, 140, 255, 0.15);

    color: #ffffff;

}


.portal-nav a.active {

    background:
        rgba(47, 140, 255, 0.22);

    color: #ffffff;

}


.portal-nav a.active::after {

    content: "";

    position: absolute;

    left: 18px;

    right: 18px;

    bottom: 0;

    height: 3px;

    background: var(--portal-primary);

    border-radius:
        3px 3px 0 0;

}


/*
|--------------------------------------------------------------------------
| Customer / General Main Content
|--------------------------------------------------------------------------
*/

.portal-content {

    padding: 40px;
    
    text-align: center;

}


.portal-content h1 {

    margin-top: 0;

    margin-bottom: 8px;

    color: var(--portal-dark);

    font-size: 30px;

    font-weight: 750;

    letter-spacing: -0.5px;

}


.portal-content h2 {

    margin-top: 0;

    margin-bottom: 8px;

    color: var(--portal-primary);

    font-size: 22px;

    font-weight: 700;

}


.portal-content h3 {

    margin-top: 35px;

    margin-bottom: 18px;

    color: var(--portal-dark);

    font-size: 19px;

    font-weight: 700;

}


/*
|--------------------------------------------------------------------------
| Dashboard Cards
|--------------------------------------------------------------------------
*/

.dashboard-cards {

    display: grid;

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

    gap: 18px;

    width: 100%;

    max-width: 1000px;

    margin: 30px auto;

}


.dashboard-card {

    position: relative;

    padding: 24px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f7fafc
        );

    border: 1px solid var(--portal-border);

    border-radius: var(--portal-radius);

    box-shadow: var(--portal-shadow);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

}


.dashboard-card:hover {

    transform: translateY(-3px);

    box-shadow:
        var(--portal-shadow-hover);

}


.dashboard-card-title {

    color: var(--portal-muted);

    font-size: 12px;

    font-weight: 750;

    text-transform: uppercase;

    letter-spacing: 0.9px;

}


.dashboard-card-value {

    margin: 7px 0;

    color: var(--portal-dark);

    font-size: 38px;

    line-height: 1.1;

    font-weight: 750;

}


.dashboard-card-status {

    font-size: 13px;

    font-weight: 650;

}


/*
|--------------------------------------------------------------------------
| Portal Dashboard Cards
|--------------------------------------------------------------------------
*/

.portal-dashboard-cards {

    display: grid;

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

    width: 100%;

    gap: 18px;

    margin: 25px 0;

}


.portal-dashboard-cards .portal-card {

    position: relative;

    margin: 0;

    padding: 22px;

    text-align: left;

}


.portal-dashboard-cards .portal-card h3 {

    margin: 0 0 8px;

    color: var(--portal-muted);

    font-size: 12px;

    font-weight: 750;

    text-transform: uppercase;

    letter-spacing: 0.8px;

}


.portal-dashboard-cards .portal-card p {

    margin: 0;

    color: var(--portal-dark);

    font-size: 28px;

    font-weight: 750;

}


/*
|--------------------------------------------------------------------------
| Status
|--------------------------------------------------------------------------
*/

.status-active {

    color: var(--portal-success);

}


.status-warning {

    color: var(--portal-warning);

}


.status-failed {

    color: var(--portal-danger);

}


/*
|--------------------------------------------------------------------------
| Status Badges
|--------------------------------------------------------------------------
*/

.status-badge {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 5px 10px;

    border-radius: 999px;

    font-size: 12px;

    font-weight: 700;

}


.status-badge::before {

    content: "";

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: currentColor;

}


.status-badge.active {

    color: #087f5b;

    background: #dff8ef;

}


.status-badge.failed {

    color: #c92a38;

    background: #fde3e6;

}


.status-badge.warning {

    color: #9a6700;

    background: #fff3cd;

}


/*
|--------------------------------------------------------------------------
| Content Cards
|--------------------------------------------------------------------------
*/

.portal-card {

    width: 100%;

    max-width: 1000px;

    margin: 25px auto;

    padding: 26px;

    background: var(--portal-card);

    border: 1px solid var(--portal-border);

    border-radius: var(--portal-radius);

    box-shadow: var(--portal-shadow);

}


.portal-card h3 {

    margin-top: 0;

    color: var(--portal-dark);

}


.portal-card p:last-child {

    margin-bottom: 0;

}


/*
|--------------------------------------------------------------------------
| Tables
|--------------------------------------------------------------------------
*/

.portal-table-wrapper {

    width: 100%;

    margin: 18px auto;

    overflow-x: auto;

    border:
        1px solid var(--portal-border);

    border-radius: 10px;

}


.portal-table {

    width: 100%;

    border-collapse: collapse;

    background: #ffffff;

}


.portal-table th {

    padding: 14px 13px;

    background:
        linear-gradient(
            135deg,
            #162330,
            #1d3040
        );

    color: #ffffff;

    font-size: 11px;

    font-weight: 750;

    text-transform: uppercase;

    letter-spacing: 0.7px;

    white-space: nowrap;

}


.portal-table td {

    padding: 14px 13px;

    border-bottom:
        1px solid var(--portal-border);

    color: var(--portal-text);

    font-size: 14px;

}


.portal-table tbody tr:last-child td {

    border-bottom: none;

}


.portal-table tbody tr {

    transition:
        background-color 0.15s ease;

}


.portal-table tbody tr:hover {

    background: #f6f9fc;

}


.portal-table tbody tr:hover td {

    background: #f6f9fc;

}


/*
|--------------------------------------------------------------------------
| Buttons
|--------------------------------------------------------------------------
*/

.portal-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 42px;

    padding: 10px 19px;

    background:
        linear-gradient(
            135deg,
            var(--portal-primary),
            #2478df
        );

    color: #ffffff;

    border: none;

    border-radius: 9px;

    box-shadow:
        0 4px 12px
        rgba(47, 140, 255, 0.22);

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease;

}


.portal-button:hover {

    background:
        linear-gradient(
            135deg,
            #2478df,
            var(--portal-primary-dark)
        );

    color: #ffffff;

    transform: translateY(-1px);

    box-shadow:
        0 7px 18px
        rgba(47, 140, 255, 0.28);

}


.portal-button:active {

    transform: translateY(0);

}


.portal-button-success {

    background:
        linear-gradient(
            135deg,
            #20a779,
            #198754
        );

}


.portal-button-success:hover {

    background:
        linear-gradient(
            135deg,
            #198754,
            #147347
        );

}


.portal-button-danger {

    background:
        linear-gradient(
            135deg,
            #ef5b67,
            #dc3545
        );

}


.portal-button-danger:hover {

    background:
        linear-gradient(
            135deg,
            #dc3545,
            #b52a37
        );

}


/*
|--------------------------------------------------------------------------
| Quick Actions
|--------------------------------------------------------------------------
*/

.quick-actions {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin: 25px auto;

}


/*
|--------------------------------------------------------------------------
| Forms
|--------------------------------------------------------------------------
*/

.portal-form {

    width: 100%;

    max-width: 650px;

    margin: 25px auto;

    text-align: left;

}


.portal-form-group {

    margin-bottom: 20px;

}


.portal-form label {

    display: block;

    margin-bottom: 7px;

    color: var(--portal-dark);

    font-size: 13px;

    font-weight: 700;

}


.portal-form input,
.portal-form select,
.portal-form textarea {

    width: 100%;

    padding: 12px 14px;

    background: #ffffff;

    color: var(--portal-text);

    border:
        1px solid #ccd6df;

    border-radius: 9px;

    font-size: 15px;

    line-height: 1.4;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;

}


.portal-form input:focus,
.portal-form select:focus,
.portal-form textarea:focus {

    outline: none;

    border-color:
        var(--portal-primary);

    box-shadow:
        0 0 0 4px
        rgba(47, 140, 255, 0.12);

}


.portal-form textarea {

    min-height: 120px;

    resize: vertical;

}


/*
|--------------------------------------------------------------------------
| Alerts
|--------------------------------------------------------------------------
*/

.portal-alert {

    width: 100%;

    max-width: 800px;

    margin: 20px auto;

    padding: 14px 18px;

    border-radius: 9px;

    font-size: 14px;

    font-weight: 650;

}


.portal-alert-success {

    background: #dff8ef;

    color: #087f5b;

    border:
        1px solid #b7ead8;

}


.portal-alert-warning {

    background: #fff3cd;

    color: #856404;

    border:
        1px solid #ffe69c;

}


.portal-alert-danger {

    background: #fde3e6;

    color: #b4232f;

    border:
        1px solid #f5b9bf;

}


/*
|--------------------------------------------------------------------------
| Admin Layout
|--------------------------------------------------------------------------
*/

.admin-layout {

    display: grid;

    grid-template-columns:
        225px minmax(0, 1fr);

    width: calc(100% - 50px);

    max-width: 1160px;

    margin: 30px auto;

    gap: 22px;

    align-items: start;

}


/*
|--------------------------------------------------------------------------
| Admin Sidebar
|--------------------------------------------------------------------------
*/

.admin-sidebar {

    width: 100%;

    padding: 18px;

    background:
        linear-gradient(
            145deg,
            #101923,
            #172a3a
        );

    border:
        1px solid rgba(255,255,255,0.06);

    border-radius: var(--portal-radius);

    box-shadow:
        0 12px 35px
        rgba(0,0,0,0.18);

}


.admin-sidebar h3 {

    margin: 4px 8px 18px;

    padding-bottom: 14px;

    color: #ffffff;

    border-bottom:
        1px solid
        rgba(255,255,255,0.10);

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1px;

    text-align: left;

}


.admin-sidebar ul {

    margin: 0;

    padding: 0;

    list-style: none;

}


.admin-sidebar li {

    margin: 3px 0;

    padding: 0;

}


.admin-sidebar a {

    display: flex;

    align-items: center;

    padding: 11px 12px;

    color:
        rgba(255,255,255,0.72);

    border-radius: 8px;

    text-align: left;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.15s ease;

}


.admin-sidebar a:hover {

    background:
        rgba(47,140,255,0.16);

    color: #ffffff;

    transform: translateX(2px);

}


.admin-sidebar a.active {

    background:
        linear-gradient(
            135deg,
            rgba(47,140,255,0.95),
            rgba(36,120,223,0.90)
        );

    color: #ffffff;

    box-shadow:
        0 5px 15px
        rgba(47,140,255,0.20);

}


/*
|--------------------------------------------------------------------------
| Admin Content
|--------------------------------------------------------------------------
*/

.admin-content {

    width: 100%;

    min-width: 0;

    padding: 30px;

    background:
        rgba(255,255,255,0.96);

    border:
        1px solid var(--portal-border);

    border-radius: var(--portal-radius);

    box-shadow: var(--portal-shadow);
    
    text-align: center;

}


.admin-page-header {

    margin-bottom: 25px;

    padding-bottom: 20px;

    border-bottom:
        1px solid var(--portal-border);

    text-align: center;

}


.admin-page-header h1 {

    margin: 0 0 5px;

    color: var(--portal-dark);

    font-size: 27px;

    font-weight: 750;

}


.admin-page-header h2 {

    margin-top: 0;

    color: var(--portal-primary);

    font-weight: 600;

}


/*
|--------------------------------------------------------------------------
| Admin Cards
|--------------------------------------------------------------------------
*/

.admin-content .portal-card {

    width: 100%;

    max-width: none;

    margin: 20px 0;

}


.admin-content .portal-card:first-child {

    margin-top: 0;

}

/*
|--------------------------------------------------------------------------
| Dashboard Card Margin Override
|--------------------------------------------------------------------------
*/

.admin-content .portal-dashboard-cards .portal-card {

    margin: 0;

}

/*
|--------------------------------------------------------------------------
| Empty States
|--------------------------------------------------------------------------
*/

.portal-empty-state {

    padding: 35px 20px;

    text-align: center;

}


.portal-empty-state h3 {

    margin: 0 0 8px;

    color: var(--portal-dark);

}


.portal-empty-state p {

    margin: 0;

    color: var(--portal-muted);

}


/*
|--------------------------------------------------------------------------
| Login / Authentication
|--------------------------------------------------------------------------
*/

.login-card {

    width: 100%;

    max-width: 470px;

    margin: 35px auto;

    padding: 35px;

    background:
        rgba(255,255,255,0.98);

    border:
        1px solid var(--portal-border);

    border-radius: 16px;

    box-shadow:
        0 18px 50px
        rgba(15,32,50,0.16);

}


.login-card h2 {

    margin-top: 0;

    margin-bottom: 25px;

    color: var(--portal-dark);

    text-align: center;

    font-size: 25px;

}


.login-form {

    text-align: left;

}


.login-form label {

    display: block;

    margin-bottom: 7px;

    color: var(--portal-dark);

    font-size: 13px;

    font-weight: 700;

}


.login-form input {

    width: 100%;

    margin-bottom: 18px;

    padding: 12px 14px;

    border:
        1px solid #ccd6df;

    border-radius: 9px;

    font-size: 15px;

}


.login-form input:focus {

    outline: none;

    border-color:
        var(--portal-primary);

    box-shadow:
        0 0 0 4px
        rgba(47,140,255,0.12);

}


.login-form .portal-button {

    width: 100%;

    margin-top: 5px;

}


.login-error {

    margin-bottom: 20px;

    padding: 13px 15px;

    background: #fde3e6;

    border:
        1px solid #f5b9bf;

    border-radius: 9px;

    color: #b4232f;

    font-size: 14px;

    font-weight: 600;

}


.login-status {

    margin-top: 18px;

    color: var(--portal-muted);

    font-size: 13px;

    text-align: center;

}


.login-back {

    margin-top: 18px;

    text-align: center;

    font-size: 13px;

}


/*
|--------------------------------------------------------------------------
| Footer
|--------------------------------------------------------------------------
*/

.portal-footer {

    padding: 22px 25px;

    background:
        linear-gradient(
            135deg,
            #101923,
            #172736
        );

    border-top:
        1px solid
        rgba(255,255,255,0.06);

    color:
        rgba(255,255,255,0.60);

    text-align: center;

    font-size: 12px;

}


.portal-footer a {

    color:
        rgba(255,255,255,0.82);

}


.portal-footer a:hover {

    color: #ffffff;

}


/*
|--------------------------------------------------------------------------
| Responsive - Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 1000px) {

    .portal-dashboard-cards {

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

    }


    .admin-layout {

        grid-template-columns:
            200px minmax(0, 1fr);

        width: calc(100% - 30px);

    }


    .admin-content {

        padding: 25px;

    }

}


/*
|--------------------------------------------------------------------------
| Responsive - Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 768px) {

    .portal-background {

        padding: 10px;

        background-attachment: scroll;

    }


    .portal-container {

        border-radius: 12px;

    }


    .portal-header {

        padding: 22px 18px;

    }


    .portal-title {

        font-size: 21px;

    }


    .portal-subtitle {

        font-size: 13px;

    }


    .portal-content {

        padding: 25px 18px;

    }


    .portal-content h1 {

        font-size: 25px;

    }


    .portal-content h2 {

        font-size: 20px;

    }


    .dashboard-cards {

        grid-template-columns: 1fr;

        max-width: 450px;

    }


    .portal-dashboard-cards {

        grid-template-columns: 1fr;

    }


    .portal-nav {

        padding: 0;

    }


    .portal-nav ul {

        flex-direction: column;

    }


    .portal-nav li {

        width: 100%;

    }


    .portal-nav a {

        border-bottom:
            1px solid
            rgba(255,255,255,0.07);

        text-align: center;

    }


    .portal-nav a.active::after {

        display: none;

    }


    .portal-logo {

        max-width: 210px;

        max-height: 80px;

    }


    .admin-layout {

        grid-template-columns: 1fr;

        width: calc(100% - 20px);

        margin: 15px auto;

    }


    .admin-sidebar {

        padding: 14px;

    }


    .admin-sidebar ul {

        display: grid;

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

        gap: 5px;

    }


    .admin-sidebar a {

        justify-content: center;

        text-align: center;

    }


    .admin-content {

        padding: 20px;

    }


    .admin-page-header {

        text-align: center;

    }


    .portal-card {

        padding: 20px;

    }


    .login-card {

        margin: 20px auto;

        padding: 25px 20px;

    }

}


/*
|--------------------------------------------------------------------------
| Responsive - Small Phones
|--------------------------------------------------------------------------
*/

@media (max-width: 480px) {

    .portal-background {

        padding: 5px;

    }


    .portal-container {

        border-radius: 9px;

    }


    .portal-content {

        padding: 20px 14px;

    }


    .portal-dashboard-cards {

        gap: 12px;

    }


    .portal-card {

        padding: 17px;

    }


    .admin-layout {

        width: calc(100% - 10px);

    }


    .admin-sidebar ul {

        grid-template-columns: 1fr;

    }


    .admin-content {

        padding: 15px;

    }


    .portal-table th,
    .portal-table td {

        padding: 10px;

        font-size: 12px;

    }


    .quick-actions {

        flex-direction: column;

        align-items: stretch;

    }


    .quick-actions .portal-button {

        width: 100%;

    }

}

/*
|--------------------------------------------------------------------------
| Admin Sidebar Branding
|--------------------------------------------------------------------------
*/

.admin-sidebar-brand {

    margin-bottom: 18px;

    padding-bottom: 16px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.10);

    text-align: center;

}


.admin-sidebar-title {

    color: #ffffff;

    font-size: 14px;

    font-weight: 750;

    text-transform: uppercase;

    letter-spacing: 1px;

}


.admin-sidebar-subtitle {

    margin-top: 4px;

    color: rgba(255, 255, 255, 0.48);

    font-size: 11px;

    font-weight: 500;

    letter-spacing: 0.4px;

}


.admin-sidebar-icon {

    display: inline-flex;

    width: 24px;

    flex-shrink: 0;

    align-items: center;

    justify-content: center;

    margin-right: 7px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 15px;

}


.admin-sidebar a:hover .admin-sidebar-icon,
.admin-sidebar a.active .admin-sidebar-icon {

    color: #ffffff;

}

/*
|--------------------------------------------------------------------------
| Backup Job Actions
|--------------------------------------------------------------------------
*/

.backup-job-actions {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    justify-content: center;

    gap: 6px;

}


.backup-job-delete-form {

    margin: 0;

}

/*
|--------------------------------------------------------------------------
| Download Actions
|--------------------------------------------------------------------------
*/

.download-actions {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    justify-content: center;

    gap: 6px;

}


.download-delete-form {

    margin: 0;

}

/*
|--------------------------------------------------------------------------
| User Actions
|--------------------------------------------------------------------------
*/

.user-actions {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    justify-content: center;

    gap: 6px;

}


.user-delete-form {

    margin: 0;

}

/*
|--------------------------------------------------------------------------
| Portal Checkbox
|--------------------------------------------------------------------------
*/

.portal-checkbox-label {

    display: inline-flex !important;

    align-items: center;

    gap: 10px;

    cursor: pointer;

}


.portal-checkbox-label input {

    width: auto;

    margin: 0;

}

/*
|--------------------------------------------------------------------------
| Final Portal UI Components
|--------------------------------------------------------------------------
*/


/*
|--------------------------------------------------------------------------
| Header Branding
|--------------------------------------------------------------------------
*/

.portal-header-brand {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

}


.portal-header-text {

    text-align: center;

}


/*
|--------------------------------------------------------------------------
| Navigation Icons
|--------------------------------------------------------------------------
*/

.portal-nav a {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

}


.portal-nav-icon {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 18px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 14px;

}


.portal-nav a:hover .portal-nav-icon,
.portal-nav a.active .portal-nav-icon {

    color: #ffffff;

}


.portal-nav-logout a {

    color: rgba(255, 255, 255, 0.70);

}


.portal-nav-logout a:hover {

    background: rgba(239, 91, 103, 0.18);

    color: #ffffff;

}


/*
|--------------------------------------------------------------------------
| Detail Information Cards
|--------------------------------------------------------------------------
*/

.portal-customer-details {

    display: grid;

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

    gap: 16px;

    margin: 25px 0;

}


.portal-detail-item {

    padding: 18px;

    background: #f8fafc;

    border:
        1px solid var(--portal-border);

    border-radius: 10px;

    text-align: left;

}


.portal-detail-label {

    display: block;

    margin-bottom: 6px;

    color: var(--portal-muted);

    font-size: 11px;

    font-weight: 750;

    text-transform: uppercase;

    letter-spacing: 0.7px;

}


.portal-detail-value {

    display: block;

    color: var(--portal-dark);

    font-size: 15px;

    font-weight: 600;

    overflow-wrap: anywhere;

}


/*
|--------------------------------------------------------------------------
| Login Card Header
|--------------------------------------------------------------------------
*/

.login-card-header {

    margin-bottom: 25px;

    text-align: center;

}


.login-card-header h2 {

    margin-bottom: 6px;

}


.login-card-header p {

    margin: 0;

    color: var(--portal-muted);

    font-size: 14px;

}


/*
|--------------------------------------------------------------------------
| Footer Layout
|--------------------------------------------------------------------------
*/

.portal-footer-inner {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

}


.portal-footer-company {

    color: rgba(255, 255, 255, 0.85);

    font-weight: 600;

}


.portal-footer-text {

    color: rgba(255, 255, 255, 0.60);

}


.portal-footer-status {

    color: rgba(255, 255, 255, 0.65);

}


/*
|--------------------------------------------------------------------------
| Dashboard Card Template
|--------------------------------------------------------------------------
*/

.portal-dashboard-card-content {

    width: 100%;

}


.portal-dashboard-card-content h4 {

    margin: 0 0 8px;

    color: var(--portal-muted);

    font-size: 12px;

    font-weight: 750;

    text-transform: uppercase;

    letter-spacing: 0.8px;

}


.portal-dashboard-card-content p {

    margin: 0;

    color: var(--portal-dark);

    font-size: 28px;

    font-weight: 750;

}


/*
|--------------------------------------------------------------------------
| Detail Cards - Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 768px) {

    .portal-customer-details {

        grid-template-columns: 1fr;

    }

}