:root {
    --primary: #c5a059;       /* Luxurious Gold (Logo theme) */
    --primary-hover: #b38e47; /* Gold hover */
    --text-dark: #1a1a1a;     /* Deep Charcoal Black (like "JN") */
    --text-muted: #666666;    /* Muted Slate Grey */
    --border: #e8e8e8;        /* Soft border */
    --bg-light: #fafafa;      /* Off-white background */
    --accent-dark: #8e6e32;   /* Deep Gold */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg-light);
    height: 100vh;
    overflow: hidden;
}

.auth-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

.auth-image {
    flex: 1;
    background-image: url('../images/nail_art_login.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.auth-image::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.25), rgba(26, 26, 26, 0.85));
}

.auth-form-side {
    width: 100%;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    background: var(--bg-light);
    position: relative;
    box-shadow: -15px 0 50px rgba(26, 26, 26, 0.05);
    overflow-y: auto;
}

@media (max-width: 991px) {
    .auth-image { display: none; }
    .auth-form-side { max-width: 100%; padding: 2rem; }
}

.brand-logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.brand-logo span { color: var(--accent-dark); }

.auth-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.input-group {
    background: #fff;
    border-radius: 12px;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.2);
}

.input-group-text {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding-left: 1.25rem;
}

.form-control {
    border: none;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
}

.form-control:focus {
    background: transparent;
    box-shadow: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent-dark));
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    margin-top: 1rem;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.35);
}

.toggle-password {
    background: none;
    border: none;
    color: var(--text-muted);
    padding-right: 1.25rem;
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.social-btn {
    border: 2px solid var(--border);
    padding: 0.75rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.social-btn:hover {
    border-color: var(--primary);
    background: var(--bg-light);
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.separator::before, .separator::after {
    content: '';
    flex: 1;
    border-bottom: 2px solid var(--border);
}

.separator::before { margin-right: 1rem; }
.separator::after { margin-left: 1rem; }

.loader {
    width: 24px;
    height: 24px;
    border: 3px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
