/* Dashboard login — isolated from Vuexy dark theme form overrides */

.dashboard-auth-page {
    --auth-primary: #7367f0;
    --auth-primary-dark: #5e50ee;
    --auth-text: #2f3349;
    --auth-muted: #6d6b77;
    --auth-border: #dcdce4;
    --auth-surface: #ffffff;
    --auth-bg: #f5f6fa;

    min-height: 100vh;
    display: flex;
    background: var(--auth-bg);
    font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dashboard-auth-hero {
    position: relative;
    display: none;
    flex: 0 0 44%;
    max-width: 44%;
    overflow: hidden;
    background: linear-gradient(145deg, #6f63f0 0%, #5e50ee 48%, #4b3fd9 100%);
    color: #fff;
}

@media (min-width: 992px) {
    .dashboard-auth-hero {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.dashboard-auth-hero__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.dashboard-auth-hero__glow--one {
    width: 22rem;
    height: 22rem;
    top: -6rem;
    inset-inline-end: -4rem;
    background: rgba(255, 255, 255, 0.12);
    filter: blur(2px);
}

.dashboard-auth-hero__glow--two {
    width: 18rem;
    height: 18rem;
    bottom: -5rem;
    inset-inline-start: -3rem;
    background: rgba(255, 255, 255, 0.08);
}

.dashboard-auth-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 22rem;
    padding: 3rem 2.5rem;
}

.dashboard-auth-hero__logo {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1.125rem;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    box-shadow: 0 12px 32px rgba(24, 18, 92, 0.22);
}

.dashboard-auth-hero__logo img {
    width: 2.75rem;
    height: 2.75rem;
}

.dashboard-auth-hero__eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.82;
}

.dashboard-auth-hero__title {
    margin: 0 0 0.75rem;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
}

.dashboard-auth-hero__text {
    margin: 0 0 2rem;
    font-size: 0.98rem;
    line-height: 1.7;
    opacity: 0.9;
}

.dashboard-auth-hero__features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.dashboard-auth-hero__features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
}

.dashboard-auth-hero__features i {
    width: 2rem;
    height: 2rem;
    border-radius: 0.625rem;
    background: rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.dashboard-auth-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
}

.dashboard-auth-panel__inner {
    width: 100%;
    max-width: 26rem;
}

.dashboard-auth-mobile-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
    .dashboard-auth-mobile-brand {
        display: none;
    }
}

.dashboard-auth-mobile-brand img {
    width: 2.5rem;
    height: 2.5rem;
}

.dashboard-auth-mobile-brand span {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--auth-text);
}

.dashboard-auth-card {
    background: var(--auth-surface);
    border: 1px solid rgba(115, 103, 240, 0.1);
    border-radius: 1.25rem;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 16px 40px rgba(15, 23, 42, 0.07);
    padding: 2rem 1.75rem;
}

@media (min-width: 576px) {
    .dashboard-auth-card {
        padding: 2.25rem 2rem;
    }
}

.dashboard-auth-header {
    margin-bottom: 1.75rem;
}

.dashboard-auth-header h1 {
    margin: 0 0 0.375rem;
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--auth-text);
    line-height: 1.3;
}

.dashboard-auth-header p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--auth-muted);
    line-height: 1.6;
}

.dashboard-auth-field {
    margin-bottom: 1.125rem;
}

.dashboard-auth-field__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.375rem;
}

.dashboard-auth-label {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4b465c;
}

.dashboard-auth-field__head .dashboard-auth-label {
    margin-bottom: 0;
}

.dashboard-auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.dashboard-auth-input-icon {
    position: absolute;
    inset-inline-start: 0.875rem;
    color: #a5a3ae;
    font-size: 1.05rem;
    pointer-events: none;
    z-index: 2;
}

.dashboard-auth-input,
.dark-style .dashboard-auth-page .dashboard-auth-input,
.light-style .dashboard-auth-page .dashboard-auth-input {
    width: 100%;
    min-height: 3rem;
    padding-inline-start: 2.625rem;
    padding-inline-end: 0.875rem;
    border: 1px solid var(--auth-border) !important;
    border-radius: 0.75rem !important;
    background: #fff !important;
    color: var(--auth-text) !important;
    font-size: 0.9375rem;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: none !important;
}

.dashboard-auth-input::placeholder {
    color: #b4b2bd !important;
    opacity: 1;
}

.dashboard-auth-input:focus {
    outline: none;
    border-color: var(--auth-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(115, 103, 240, 0.14) !important;
    background: #fff !important;
    color: var(--auth-text) !important;
}

.form-password-toggle .dashboard-auth-input {
    padding-inline-end: 2.75rem;
}

.dashboard-auth-toggle-pass {
    position: absolute;
    inset-inline-end: 0.25rem;
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    border: 0 !important;
    border-radius: 0.5rem !important;
    background: transparent !important;
    color: #8f8b99 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.dashboard-auth-toggle-pass:hover {
    background: #f3f2f7 !important;
    color: var(--auth-primary) !important;
}

.dashboard-auth-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--auth-primary);
    text-decoration: none;
    white-space: nowrap;
}

.dashboard-auth-link:hover {
    color: var(--auth-primary-dark);
}

.dashboard-auth-remember {
    margin: 0.25rem 0 1.25rem;
}

.dashboard-auth-check {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
    user-select: none;
    margin: 0;
}

.dashboard-auth-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dashboard-auth-check__box {
    width: 1.125rem;
    height: 1.125rem;
    border: 1.5px solid var(--auth-border);
    border-radius: 0.3125rem;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.dashboard-auth-check input:checked + .dashboard-auth-check__box {
    background: var(--auth-primary);
    border-color: var(--auth-primary);
}

.dashboard-auth-check input:checked + .dashboard-auth-check__box::after {
    content: "";
    width: 0.35rem;
    height: 0.6rem;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translateY(-1px);
}

.dashboard-auth-check__label {
    font-size: 0.875rem;
    color: var(--auth-muted);
}

.dashboard-auth-alert {
    min-height: 0;
    margin-bottom: 0.875rem;
    font-size: 0.875rem;
    text-align: center;
}

.dashboard-auth-alert:empty {
    display: none;
}

.dashboard-auth-submit,
.dark-style .dashboard-auth-page .dashboard-auth-submit {
    width: 100%;
    min-height: 3rem;
    border: 0;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--auth-primary) 0%, var(--auth-primary-dark) 100%) !important;
    color: #fff !important;
    font-size: 0.975rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 24px rgba(115, 103, 240, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.dashboard-auth-submit:hover,
.dashboard-auth-submit:focus {
    filter: brightness(1.03);
    box-shadow: 0 12px 28px rgba(115, 103, 240, 0.34) !important;
    color: #fff !important;
}

.dashboard-auth-submit:active {
    transform: translateY(1px);
}

.dashboard-auth-error:empty {
    display: none;
}

.dashboard-auth-error:not(:empty) {
    display: block;
    margin-top: 0.375rem;
    font-size: 0.8125rem;
}

.dashboard-auth-footer {
    margin: 1.25rem 0 0;
    text-align: center;
    font-size: 0.8125rem;
    color: #a5a3ae;
}
