.auth-page {
    min-height: calc(100vh - 190px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 32px 0 48px;
}

.auth-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
    padding: 28px;
}

.auth-card-login {
    max-width: 460px;
}

.auth-card-wide {
    max-width: 920px;
}

.auth-card-header {
    margin-bottom: 24px;
    text-align: left;
}

.auth-card-header h1 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: #1f2937;
}

.auth-card-header p {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.5;
}

.auth-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
}

.auth-form-section {
    min-width: 0;
}

.auth-form-section h2 {
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: #374151;
}

.auth-card .form-group {
    margin-bottom: 16px;
}

.auth-card label {
    font-weight: 600;
    color: #374151;
}

.auth-card .form-control {
    min-height: 44px;
    border-radius: 10px;
    border-color: #d1d5db;
    box-shadow: none;
}

.auth-card textarea.form-control {
    min-height: 92px;
}

.auth-card .form-control:focus {
    border-color: #17a2b8;
    box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.15);
}

.auth-card .help-block,
.auth-card .hint-block {
    margin-top: 6px;
    color: #6b7280;
    font-size: 13px;
}

.auth-card .btn {
    min-height: 44px;
    border-radius: 10px;
    font-weight: 700;
}

.auth-links {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.auth-links p {
    margin: 0;
}

.auth-card .checkbox label {
    font-weight: 400;
    line-height: 1.45;
}

.auth-form-bottom {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #e5e7eb;
}

.auth-form-bottom .form-group {
    margin-bottom: 14px;
}

.auth-form-bottom .btn {
    margin-top: 8px;
}

.auth-flashes {
    margin-bottom: 18px;
}

@media (max-width: 767px) {
    .auth-page {
        padding: 18px 0 32px;
    }

    .auth-card {
        padding: 20px;
        border-radius: 14px;
    }

    .auth-card-header h1 {
        font-size: 24px;
    }

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

/* ==========================================================================
   USER NEW DASHBOARD
   ========================================================================== */

.usernew-page {
    position: relative;
    min-height: calc(100vh - 180px);
    padding: 28px 0 48px;
    color: #1f2937;
}

.usernew-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at top right, rgba(235, 57, 16, 0.10), transparent 340px),
        radial-gradient(circle at 12% 18%, rgba(23, 162, 184, 0.10), transparent 300px),
        linear-gradient(180deg, #fffafa 0%, #f8fafc 46%, #ffffff 100%);
}

.usernew-hero,
.usernew-status-card,
.usernew-important,
.usernew-nav-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.usernew-hero {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    margin-bottom: 22px;
    overflow: hidden;
    position: relative;
}

.usernew-hero::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -90px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(235, 57, 16, 0.08);
    pointer-events: none;
}

.usernew-hero-main {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.usernew-avatar {
    width: 86px;
    height: 86px;
    flex: 0 0 86px;
    border-radius: 24px;
    background: linear-gradient(135deg, #17a2b8, #0f766e);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 12px 24px rgba(23, 162, 184, 0.24);
}

.usernew-eyebrow {
    margin-bottom: 5px;
    color: #eb3910;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.usernew-hero h1 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 30px;
    line-height: 1.18;
    font-weight: 800;
}

.usernew-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.35;
}

.usernew-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.usernew-meta i {
    color: #17a2b8;
}

.usernew-hero-actions {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.usernew-btn,
.usernew-admin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
    text-decoration: none !important;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.usernew-btn-primary {
    background: #17a2b8;
    border: 1px solid #17a2b8;
    color: #ffffff !important;
}

.usernew-btn-primary:hover {
    background: #138496;
    border-color: #138496;
    color: #ffffff !important;
}

.usernew-btn-secondary {
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151 !important;
}

.usernew-btn-secondary:hover {
    border-color: #17a2b8;
    color: #0f766e !important;
}

.usernew-btn-light {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #374151 !important;
}

.usernew-btn-light:hover {
    border-color: #eb3910;
    color: #eb3910 !important;
}

.usernew-admin-link {
    width: auto;
    background: #111827;
    border: 1px solid #111827;
    color: #ffffff !important;
}

.usernew-admin-link:hover {
    background: #eb3910;
    border-color: #eb3910;
    color: #ffffff !important;
}

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

.usernew-status-card {
    display: flex;
    gap: 16px;
    padding: 22px;
    min-height: 196px;
    position: relative;
    overflow: hidden;
}

.usernew-status-card::after {
    content: "";
    position: absolute;
    right: -42px;
    bottom: -42px;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: rgba(23, 162, 184, 0.07);
}

.usernew-card-icon,
.usernew-nav-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 14px;
    background: #eef9fb;
    color: #17a2b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.usernew-card-content {
    min-width: 0;
    position: relative;
    z-index: 1;
}

.usernew-card-label {
    margin-bottom: 5px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.usernew-status-card h2 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 800;
}

.usernew-status-card p {
    margin: 0 0 14px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.45;
}

.usernew-supervision-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.usernew-supervision-stats span {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    font-size: 12px;
    font-weight: 700;
}

.usernew-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.usernew-important {
    padding: 24px;
    margin-bottom: 22px;
}

.usernew-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.usernew-section-header h2 {
    margin: 0;
    color: #111827;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
}

.usernew-important-empty {
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px dashed #d1d5db;
    color: #6b7280;
    font-size: 14px;
}

.usernew-nav-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.usernew-nav-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 12px;
    min-height: 112px;
    padding: 16px;
    color: #1f2937 !important;
    text-decoration: none !important;
    transition: all 0.18s ease;
}

.usernew-nav-card:hover {
    transform: translateY(-2px);
    border-color: rgba(235, 57, 16, 0.32);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.11);
}

.usernew-nav-card strong {
    display: block;
    margin-bottom: 4px;
    color: #111827;
    font-size: 16px;
    line-height: 1.2;
}

.usernew-nav-card small {
    display: block;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.35;
}

.usernew-nav-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #111827;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
}

.usernew-nav-card:hover .usernew-nav-arrow {
    background: #eb3910;
}

@media (max-width: 1199px) {
    .usernew-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 767px) {
    .usernew-page {
        padding: 18px 0 34px;
    }

    .usernew-hero {
        flex-direction: column;
        padding: 20px;
        border-radius: 18px;
    }

    .usernew-hero-main {
        align-items: flex-start;
    }

    .usernew-avatar {
        width: 62px;
        height: 62px;
        flex-basis: 62px;
        border-radius: 18px;
        font-size: 24px;
    }

    .usernew-hero h1 {
        font-size: 23px;
    }

    .usernew-hero-actions {
        flex-wrap: wrap;
    }

    .usernew-status-grid,
    .usernew-nav-grid {
        grid-template-columns: 1fr;
    }

    .usernew-status-card {
        min-height: auto;
        padding: 18px;
    }

    .usernew-nav-card {
        min-height: 96px;
    }
}
