/* ========== Base Layout ========== */
.identity-body {
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
}

.identity-wrapper {
    width: 100%;
    max-width: 420px;
    border-radius: 1.25rem;
    padding: 2.5rem;
    background: inherit; /* background set per theme */
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.identity-wrapper .form-control::placeholder {
    opacity: 0.7;
    color: inherit;
}

.identity-wrapper .form-control:focus,
.identity-wrapper .form-check-input:focus {
    border-color: #F16000;
    box-shadow: 0 0 0 0.2rem rgba(241, 96, 0, 0.25);
    outline: none; /* remove default blue outline */
}

.identity-wrapper .btn-primary {
    background-color: #F16000;
    border: none;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.2s ease-in-out;
}

.identity-wrapper .btn-primary:hover {
    background-color: #d94e00;
    transform: translateY(-1px);
}

.identity-wrapper a:focus,
.identity-wrapper .btn-primary:focus{
    outline: none;
    border-radius: 0.25rem;
    box-shadow: 0 0 0 0.2rem rgba(241, 96, 0, 0.25);
}

.identity-wrapper h2 {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.identity-wrapper p{
    color: rgba(255, 255, 255, 0.65); /* dark theme */
}

.login-logo {
    height: 48px;
    margin-bottom: 1rem;
}

/* ========== Light Theme (Vuetify light) ========== */
.light-theme.identity-body {
    background: #F4F5FA;
    color: #3A3541;
}

.light-theme .identity-wrapper {
    background: #ffffff;
    color: #3A3541;
}

.light-theme .identity-wrapper .form-control {
    border-radius: 0.75rem;
    border: 1px solid rgba(241, 96, 0, 0.5);
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    padding: 0.75rem 1rem;
}

.light-theme .form-check-input {
    border: 1px solid rgba(241, 96, 0, 0.5);
}

.light-theme .form-check-input:focus {
    outline: none; /* Remove browser outline */
    box-shadow: none; /* Remove Bootstrap's blue glow */
}

.light-theme .identity-wrapper p {
    color: #6c757d; /* muted gray for light */
}

/* ========== Dark Theme (Vuetify dark) ========== */

.dark-theme.identity-body {
    background: #1E1B2E;
    color: #E7E3FC;
}

.dark-theme .identity-wrapper {
    background: #2A2640;
    color: #E7E3FC;
}

.dark-theme .identity-wrapper .form-control {
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    padding: 0.75rem 1rem;
}

.dark-theme .btn-primary {
    background-color: #F16000;
    border-color: #F16000;
}

.dark-theme .btn-primary:hover {
    background-color: #d94e00;
    border-color: #d94e00;
}



/* ========== Dashboard Layout ========== */
.identity-dashboard {
    display: flex;
    min-height: 100vh;
    width: 100%;
    transition: background 0.3s ease, color 0.3s ease;
}

    .identity-dashboard .sidebar {
        width: 240px;
        background: inherit; /* themed */
        padding: 2rem 1rem;
        border-right: 1px solid rgba(0,0,0,0.1);
        transition: background 0.3s ease, border-color 0.3s ease;
    }

    .identity-dashboard .content {
        flex-grow: 1;
        padding: 2rem;
    }

    /* Sidebar nav */
    .identity-dashboard .nav {
        gap: 0.5rem;
    }

    .identity-dashboard .nav-link {
        border-radius: 0.5rem;
        padding: 0.75rem 1rem;
        font-weight: 500;
        transition: all 0.2s ease-in-out;
    }

        .identity-dashboard .nav-link.active,
        .identity-dashboard .nav-link:hover {
            background-color: #F16000;
            color: #fff !important;
        }

/* Light theme tweaks */
.light-theme .identity-dashboard {
    background: #F4F5FA;
    color: #3A3541;
}

    .light-theme .identity-dashboard .sidebar {
        background: #ffffff;
        border-color: rgba(0,0,0,0.08);
    }

    .light-theme .identity-dashboard .content {
        background: #F9FAFC;
    }

/* Dark theme tweaks */
.dark-theme .identity-dashboard {
    background: #1E1B2E;
    color: #E7E3FC;
}

    .dark-theme .identity-dashboard .sidebar {
        background: #2A2640;
        border-color: rgba(255,255,255,0.1);
    }

    .dark-theme .identity-dashboard .content {
        background: #241F36;
    }