

/* ================================
   LOGIN / REGISTER – PROFESSIONAL EV UI
================================ */

.login-page .logo span,
.register-page .logo span {
    color: #2563eb;
    font-weight: 600;
}

/* Links */
.login-page a.forgot-pass,
.login-page a.signup,
.register-page a.forgot-pass,
.register-page a.signup {
    font-size: 0.85em;
    color: #2563eb;
    font-weight: 500;
}

.login-page a:hover,
.register-page a:hover {
    color: #1e40af;
}

/* Background */
.login-page,
.register-page {
    background: #f8fafc;
    background-image: url('../images/auth/auth-light.jpg');
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 100vh;
}

.dark-mode .login-page,
.dark-mode .register-page {
    background: #0f172a;
    background-image: url('../images/auth/auth-dark.jpg');
    background-size: cover;
}

/* Container */
.login-page .form-outer,
.register-page .form-outer {
    min-height: 100vh;
    max-width: 640px;
    margin: 0 auto;
    padding: 30px 15px;
    position: relative;
    display: flex;
    align-items: center;
}

/* Card */
.login-page .form-inner,
.register-page .form-inner {
    background: #ffffff;
    border-radius: 14px;
    padding: 40px 36px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    width: 100%;
}

.dark-mode .login-page .form-inner,
.dark-mode .register-page .form-inner {
    background: #283046;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

/* Logo */
.login-page .logo,
.register-page .logo {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Text */
.login-page p,
.register-page p {
    font-size: 0.9em;
    color: #6b7280;
    margin-bottom: 0;
}

/* Form */
.login-page form,
.register-page form {
    margin: 2rem auto 1rem;
    max-width: 320px;
}

/* Inputs */
.form-group-material {
    position: relative;
    margin-bottom: 28px;
}

input.input-material {
    width: 100%;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 0;
    color: #1f2937;
    font-size: 14px;
    font-weight: 400;
    background: transparent;
}

.dark-mode input.input-material {
    color: #e5e7eb;
    border-bottom-color: #475569;
    background: transparent;
}

input.input-material:focus {
    border-color: #2563eb;
    outline: none;
}

input.input-material ~ label {
    position: absolute;
    top: 14px;
    left: 0;
    color: #6b7280;
    font-size: 13px;
    transition: all 0.2s ease;
}

input.input-material ~ label.active {
    top: -10px;
    font-size: 12px;
    color: #2563eb;
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.55rem 0.9rem;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #1e40af;
    border-color: #1e40af;
}

/* Demo Buttons */
.btn-success {
    background-color: #22c55e;
    border-color: #22c55e;
}

.btn-info {
    background-color: #0ea5e9;
    border-color: #0ea5e9;
}

.btn-dark {
    background-color: #334155;
    border-color: #334155;
}

/* Alerts */
.alert {
    font-size: 13px;
    border-radius: 8px;
}

/* Footer */
.login-page .copyrights,
.register-page .copyrights {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

.login-page .copyrights p,
.register-page .copyrights p {
    font-size: 12px;
    color: #94a3b8;
}

/* Responsive */
@media (min-width: 768px) {
    .login-page form,
    .register-page form {
        max-width: 340px;
    }
}
