﻿.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(8, 34, 61, 0.92), rgba(17, 88, 125, 0.82)), url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=80') center center / cover no-repeat;
    font-family: "Segoe UI", Arial, sans-serif;
    padding: 40px 15px;
    color: #fff;
}

.login-shell {
    max-width: 1080px;
    margin: 0 auto;
    display: table;
    width: 100%;
    height: calc(100vh - 80px);
}

    .login-shell > div {
        display: table-cell;
        vertical-align: middle;
        float: none;
    }

.login-branding {
    padding: 30px 50px 30px 15px;
}

    .login-branding h1 {
        font-size: 44px;
        font-weight: 600;
        margin-bottom: 18px;
    }

    .login-branding p {
        font-size: 16px;
        line-height: 1.9;
        color: rgba(255, 255, 255, 0.86);
        max-width: 480px;
    }

.login-highlights {
    margin-top: 35px;
    padding: 0;
    list-style: none;
}

    .login-highlights li {
        margin-bottom: 14px;
        font-size: 15px;
        color: rgba(255, 255, 255, 0.9);
    }

.login-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 14px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
    padding: 34px 34px 28px;
    color: #34495e;
}

    .login-card .brand-mark {
        width: 56px;
        height: 56px;
        border-radius: 16px;
        background: linear-gradient(145deg, #0e6ba8, #0a3f68);
        color: #fff;
        text-align: center;
        line-height: 56px;
        font-size: 24px;
        margin-bottom: 18px;
    }

    .login-card h2 {
        margin-top: 0;
        font-weight: 600;
        color: #163047;
        margin-bottom: 8px;
    }

    .login-card .text-muted {
        color: #7b8b9a;
    }

    .login-card .form-control {
        height: 46px;
        border-radius: 8px;
        border-color: #d7e2eb;
        box-shadow: none;
        padding-left: 14px;
    }

        .login-card .form-control:focus {
            border-color: #0e6ba8;
            box-shadow: 0 0 0 3px rgba(14, 107, 168, 0.08);
        }

.btn-elegant {
    background: linear-gradient(135deg, #0e6ba8, #0b4d79);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    padding: 12px 16px;
}

    .btn-elegant:hover,
    .btn-elegant:focus {
        color: #fff;
        background: linear-gradient(135deg, #0f76ba, #0b578a);
    }

.login-footer-note {
    margin-top: 18px;
    font-size: 13px;
    color: #8b99a6;
}

.dashboard-body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f4f7fb;
    color: #33475b;
}

.app-shell {
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 240px;
    background: linear-gradient(180deg, #17324a 0%, #0b1f31 100%);
    color: #dce7f1;
    padding: 24px 18px;
    box-shadow: 6px 0 18px rgba(17, 31, 46, 0.08);
}

.brand-panel {
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    margin-bottom: 24px;
    padding-bottom: 18px;
}

    .brand-panel h3 {
        margin: 0;
        font-size: 24px;
        font-weight: 600;
        color: #fff;
    }

    .brand-panel span {
        color: rgba(220, 231, 241, 0.75);
        font-size: 13px;
    }

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .sidebar-menu li {
        margin-bottom: 8px;
    }

        .sidebar-menu li a {
            display: block;
            color: #dce7f1;
            padding: 12px 14px;
            border-radius: 10px;
            text-decoration: none;
            transition: all 0.2s ease-in-out;
        }

            .sidebar-menu li.active a,
            .sidebar-menu li a:hover {
                background: rgba(255, 255, 255, 0.12);
                color: #fff;
            }

    .sidebar-menu .glyphicon {
        margin-right: 10px;
    }

.sidebar-dropdown .sidebar-caret {
    margin-top: 8px;
    margin-right: 0;
}

.submenu {
    list-style: none;
    padding: 6px 0 0 0;
    margin: 8px 0 0;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

    .submenu li {
        margin-bottom: 0;
    }

        .submenu li a {
            color: #dce7f1;
            padding: 10px 18px 10px 42px;
            border-radius: 8px;
            font-size: 14px;
        }

            .submenu li a:hover,
            .submenu li a:focus {
                background: rgba(255, 255, 255, 0.1);
                color: #fff;
                text-decoration: none;
            }

.sidebar-footer {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 24px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
}

    .sidebar-footer h5 {
        color: #fff;
        margin-top: 0;
        margin-bottom: 8px;
    }

    .sidebar-footer p {
        color: rgba(220, 231, 241, 0.75);
        margin-bottom: 0;
        font-size: 13px;
    }

.main-panel {
    margin-left: 240px;
    min-height: 100vh;
}

.topbar {
    background: #fff;
    padding: 18px 28px;
    box-shadow: 0 4px 18px rgba(17, 31, 46, 0.06);
}

    .topbar h2 {
        margin: 0;
        font-size: 24px;
        font-weight: 600;
        color: #163047;
        display: inline-block;
        vertical-align: middle;
    }

.mobile-menu-toggle {
    margin-right: 12px;
    border-radius: 10px;
    border: 1px solid #dce6ef;
    color: #163047;
}

.topbar .topbar-meta {
    color: #8091a5;
    margin-top: 4px;
    font-size: 13px;
}

.user-chip {
    background: #f4f7fb;
    border-radius: 30px;
    padding: 8px 16px;
    display: inline-block;
    color: #4a6074;
    font-weight: 600;
    margin-top: 8px;
}

.page-wrapper {
    padding: 28px;
}

.sidebar-overlay {
    display: none;
}

.hero-card,
.metric-card,
.panel-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(15, 42, 68, 0.08);
    border: 1px solid #eef3f8;
}

.hero-card {
    padding: 28px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbfe 100%);
}

    .hero-card h3,
    .panel-card h3 {
        margin-top: 0;
        color: #163047;
        font-weight: 600;
    }

    .hero-card p,
    .panel-card p {
        color: #728395;
    }

.metric-card {
    padding: 22px;
    margin-bottom: 24px;
}

    .metric-card .metric-label {
        color: #8091a5;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .metric-card .metric-value {
        font-size: 32px;
        font-weight: 700;
        color: #163047;
        margin: 8px 0 6px;
    }

    .metric-card .metric-trend {
        font-size: 13px;
        color: #2d9d78;
    }

.panel-card {
    padding: 24px;
    margin-bottom: 24px;
}

.activity-list,
.status-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .activity-list li,
    .status-list li {
        padding: 14px 0;
        border-bottom: 1px solid #edf2f7;
    }

        .activity-list li:last-child,
        .status-list li:last-child {
            border-bottom: none;
        }

.activity-title,
.status-title {
    font-weight: 600;
    color: #24425d;
}

.activity-time,
.status-desc {
    color: #8192a4;
    font-size: 13px;
    margin-top: 3px;
}

.status-pill {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

    .status-pill.success {
        background: #e9f8f2;
        color: #21825f;
    }

    .status-pill.warning {
        background: #fff4df;
        color: #b67d12;
    }

    .status-pill.info {
        background: #eaf4fb;
        color: #0e6ba8;
    }

.password-card {
    max-width: 900px;
    margin: 0 auto;
}

.password-guidance {
    background: linear-gradient(135deg, #143551, #0e5d87);
    color: #fff;
    border-radius: 14px;
    padding: 30px;
    height: 100%;
}

    .password-guidance h3 {
        margin-top: 0;
        font-weight: 600;
    }

    .password-guidance ul {
        padding-left: 18px;
        margin-top: 18px;
    }

    .password-guidance li {
        margin-bottom: 12px;
        color: rgba(255, 255, 255, 0.9);
    }

.password-form {
    padding: 30px;
}

    .password-form .form-control {
        height: 44px;
        border-radius: 8px;
        border: 1px solid #d8e3ec;
        box-shadow: none;
    }

        .password-form .form-control:focus {
            border-color: #0e6ba8;
            box-shadow: 0 0 0 3px rgba(14, 107, 168, 0.08);
        }

.password-actions {
    margin-top: 22px;
}

@media (max-width: 991px) {
    .login-shell,
    .login-shell > div {
        display: block;
        height: auto;
    }

    .login-branding {
        padding: 10px 15px 24px;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        z-index: 1050;
        transform: translateX(-100%);
        transition: transform 0.25s ease-in-out;
    }

        .sidebar.open {
            transform: translateX(0);
        }

    .topbar {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

        .topbar h2 {
            display: block;
            margin-top: 12px;
        }

    .mobile-menu-toggle {
        display: inline-block !important;
    }

    .sidebar-menu li a {
        white-space: normal;
    }

    .submenu {
        background: rgba(255, 255, 255, 0.08);
    }

        .submenu li a {
            color: #dce7f1;
        }

    .sidebar-overlay.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(11, 31, 49, 0.45);
        z-index: 1040;
    }

    .sidebar-footer {
        position: absolute;
        left: 18px;
        right: 18px;
        bottom: 24px;
    }

    .main-panel {
        margin-left: 0;
        width: 100%;
    }
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none !important;
    }

    .sidebar {
        transform: none !important;
    }

    .sidebar-footer {
        position: absolute;
    }
}

@media (max-width: 767px) {
    .topbar,
    .page-wrapper,
    .hero-card,
    .panel-card,
    .metric-card,
    .password-form,
    .password-guidance,
    .login-card {
        padding: 20px;
    }

    .login-branding h1 {
        font-size: 34px;
    }
}

.mobile-logout-icon {
    display: inline-block !important;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    border-radius: 50%;
    background: #fff3f2;
    color: #c0392b;
    border: 1px solid #f1d0cc;
    font-size: 16px;
    text-decoration: none;
    margin-top: 8px;
}

    .mobile-logout-icon:hover,
    .mobile-logout-icon:focus {
        background: #c0392b;
        color: #fff;
        text-decoration: none;
    }

@media (max-width: 767px) {
    .topbar .col-sm-4.text-right {
        position: absolute;
        top: 18px;
        right: 20px;
    }

    .topbar .col-sm-8 {
        padding-right: 60px;
    }

    .user-chip.visible-xs,
    .user-chip.visible-sm {
        margin-top: 12px;
        font-size: 13px;
        padding: 7px 14px;
    }
}
@media (max-width: 767px) {
    .user-chip.visible-xs,
    .user-chip.visible-sm {
        display: none !important;
    }
}
.password-toggle {
    cursor: pointer;
    background: #f7fafc;
    border-left: 0;
    color: #4a6074;
}

    .password-toggle:hover {
        background: #eef4f9;
        color: #0e6ba8;
    }
.input-group .form-control {
    border-right: 0;
}

.input-group .input-group-addon {
    border-radius: 0 8px 8px 0;
}