:root {
    --primary-color: #124686;
    --accent-blue: #124686;
    --dental-blue: #124686;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    overflow: hidden;
}

.auth-main-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Image Column */
.auth-image-side {
    flex: 1;
    background-image: url('../img/auth-side.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.auth-image-side::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(14, 165, 233, 0.2));
    backdrop-filter: blur(2px);
}

.auth-image-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: left;
    max-width: 500px;
}

.auth-image-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.auth-image-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.6;
}

/* Form Column */
.auth-form-side {
    width: 100%;
    max-width: 800px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    z-index: 10;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
}

.auth-form-container {
    width: 100%;
    max-width: 400px;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-decoration: none;
}

.auth-header {
    margin-bottom: 35px;
}

.auth-header h2 {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.85rem;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Controls */
.form-floating {
    margin-bottom: 20px;
}

.form-control {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-floating label {
    padding-left: 15px;
    color: var(--text-muted);
}

.password-field-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
    z-index: 10;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.btn-auth {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    color: white;
}

.btn-auth:active {
    transform: translateY(0);
}

/* Social & Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.divider:not(:empty)::before {
    margin-right: 1.5em;
}

.divider:not(:empty)::after {
    margin-left: 1.5em;
}

.social-auth {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    color: var(--text-dark);
    font-size: 1.2rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

/* Footer */
.auth-footer {
    margin-top: 40px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.logo-sys {
    height: 100px;
    width: 100px;
}

/* Responsive */
@media (max-width: 992px) {
    .auth-image-side {
        display: none;
    }

    .auth-form-side {
        max-width: 100%;
    }

    body,
    html {
        overflow: auto;
    }
}

@media (max-width: 480px) {
    .auth-form-side {
        padding: 30px 20px;
    }
    .logo-sys {
        height: 80px;
        width: 80px;
    }
}