/* Modern Auth Layout - Split Design */
:root {
    --primary: #4285f4;
    --secondary: #34a853;
    --danger: #ea4335;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --border: #dadce0;
    --bg: #ffffff;
    --input-bg: #f8f9fa;
    --quote-bg: #1a1a1a;
    --quote-text: #ffffff;
}

[data-theme="dark"] {
    --primary: #8ab4f8;
    --secondary: #81c995;
    --text-primary: #e8eaed;
    --text-secondary: #9aa0a6;
    --border: #3c4043;
    --bg: #202124;
    --input-bg: #303134;
    --quote-bg: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    min-height: 100vh;
    overflow: hidden; /* Prevent scrolling on full screen layout */
}

.auth-wrapper {
    display: flex;
    width: 100vw;
    height: 100vh;
}

/* Left Side - Form */
.auth-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: var(--bg);
    position: relative;
    overflow-y: auto;
}

.auth-container {
    width: 100%;
    max-width: 420px;
    animation: fadeIn 0.6s ease-out;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-logo {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #4285f4, #34a853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    display: inline-block;
    letter-spacing: -1px;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    background: var(--input-bg);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg);
    box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.2s;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #3367d6; /* Darker shade of primary */
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.auth-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Right Side - Quotes */
.auth-right {
    flex: 1.2; /* Slightly larger than left */
    background: var(--quote-bg);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    overflow: hidden;
    color: var(--quote-text);
}

/* Abstract Background Pattern */
.auth-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(66, 133, 244, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(52, 168, 83, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.quote-container {
    position: relative;
    z-index: 2;
    max-width: 600px;
    text-align: center;
}

.quote-text {
    font-family: 'Outfit', sans-serif; /* More elegant font for quotes */
    font-size: 32px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.quote-text.active {
    opacity: 1;
    transform: translateY(0);
}

.quote-author {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s; /* Slight delay */
}

.quote-author.active {
    opacity: 1;
    transform: translateY(0);
}

.quote-progress {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s;
}

.progress-dot.active {
    background: white;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 900px) {
    .auth-right {
        display: none; /* Hide quotes on smaller screens/phones */
    }
    
    .auth-left {
        padding: 20px;
    }
    
    .auth-container {
        max-width: 100%;
        padding: 20px;
    }
}
