/* Neovation login — centered layout */

.neo-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
    background: #f1f5f9;
    position: relative;
}

[data-bs-theme="dark"] .neo-auth-page {
    background: #0f172a;
}

.neo-auth-theme-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    z-index: 10;
}

[data-bs-theme="dark"] .neo-auth-theme-toggle {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.neo-auth-card {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    padding: 2rem;
}

[data-bs-theme="dark"] .neo-auth-card {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.neo-auth-logo {
    max-width: 160px;
    height: auto;
}

.neo-auth-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

[data-bs-theme="dark"] .neo-auth-title {
    color: #f1f5f9;
}

.neo-auth-subtitle {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.neo-auth-card .form-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
}

.neo-auth-card .form-control {
    border-radius: 8px;
    border-color: rgba(100, 116, 139, 0.25);
    padding: 0.65rem 0.9rem;
    font-size: 0.875rem;
}

[data-bs-theme="dark"] .neo-auth-card .form-control {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}

.neo-auth-card .form-control:focus {
    border-color: var(--bs-primary, #0d9488);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.neo-auth-card .input-group-text {
    border-radius: 0 8px 8px 0;
    border-color: rgba(100, 116, 139, 0.25);
    background: rgba(100, 116, 139, 0.04);
}

.neo-auth-card .input-group .form-control {
    border-radius: 8px 0 0 8px;
}

.neo-auth-card .btn-primary {
    border-radius: 8px;
    padding: 0.7rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.neo-auth-card .btn-outline-secondary {
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8125rem;
}

.neo-auth-card a {
    color: var(--bs-primary, #0d9488);
    font-weight: 600;
    text-decoration: none;
}

.neo-auth-card a:hover {
    color: #0f766e;
}

.authentication-wrapper.authentication-basic .authentication-inner:before,
.authentication-wrapper.authentication-basic .authentication-inner:after {
    display: none !important;
}
