:root {
    /* Navy Blue & Gold Gradient Colors - Perfect for Bar & Lounge */
    --primary-gradient-start: #0a1928;
    --primary-gradient-end: #1a3e5c;
    --secondary-gradient-start: #c4a052;
    --secondary-gradient-end: #e4c580;
    
    /* UI Colors - Luxury Bar Theme */
    --primary-color: #c4a052;
    --primary-hover: #b48c3a;
    --secondary-color: #8a6e45;
    --secondary-hover: #7a5e35;
    --accent-color: #f3e9c0;
    
    /* Neutral Colors - Refined */
    --white: #ffffff;
    --light-bg: #f8f7f4;
    --border-color: #d4cfc4;
    --text-dark: #1e2a36;
    --text-medium: #3a4a5a;
    --text-light: #5f6b7a;
    --text-muted: #7c8a99;
    
    /* Status Colors - Refined */
    --success-color: #2e7d5e;
    --error-color: #b4433c;
    --warning-color: #e6b422;
    --info-color: #4a7a9c;
    
    /* Shadows - Warmer & Sophisticated */
    --shadow-light: 0 4px 12px rgba(10, 25, 40, 0.15);
    --shadow-medium: 0 7px 14px rgba(196, 160, 82, 0.25);
    --shadow-heavy: 0 15px 30px rgba(10, 25, 40, 0.25);
    
    /* Border Radius */
    --radius-small: 5px;
    --radius-medium: 8px;
    --radius-large: 10px;
    --radius-xl: 20px;
    --radius-circle: 50%;
    
    /* Spacing */
    --space-xs: 5px;
    --space-sm: 10px;
    --space-md: 20px;
    --space-lg: 30px;
    --space-xl: 40px;
    --space-xxl: 50px;
    
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.9rem;
    --text-base: 1rem;
    --text-md: 1.1rem;
    --text-lg: 1.2rem;
    --text-xl: 1.3rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.8rem;
    --text-4xl: 2.2rem;
    --text-5xl: 2.8rem;
    
    /* Z-index layers */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    --z-alert: 1000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, var(--primary-gradient-start) 0%, var(--primary-gradient-end) 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-md);
}

.container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    min-height: 700px;
}

.welcome-section {
    flex: 1;
    background: linear-gradient(135deg, var(--secondary-gradient-start) 0%, var(--secondary-gradient-end) 100%);
    color: var(--white);
    padding: var(--space-xxl) var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: var(--radius-circle);
    background: rgba(255, 255, 255, 0.1);
    top: -100px;
    right: -100px;
}

.welcome-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-circle);
    background: rgba(255, 255, 255, 0.08);
    bottom: -50px;
    left: -50px;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-lg);
    z-index: var(--z-sticky);
}

.logo-icon {
    font-size: var(--text-5xl);
    margin-right: var(--space-lg);
    color: var(--accent-color);
}

.logo-text h1 {
    font-size: var(--text-4xl);
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-text p {
    font-size: var(--text-base);
    opacity: 0.9;
    margin-top: var(--space-xs);
}

.welcome-content {
    z-index: var(--z-sticky);
    margin-top: var(--space-md);
}

.welcome-content h2 {
    font-size: var(--text-5xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.welcome-content p {
    font-size: var(--text-lg);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    opacity: 0.9;
}

.features {
    list-style: none;
    margin-top: var(--space-lg);
}

.features li {
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    font-size: var(--text-md);
}

.features i {
    margin-right: var(--space-lg);
    font-size: var(--text-xl);
    color: var(--accent-color);
}

.auth-section {
    flex: 1;
    padding: var(--space-xxl) var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-tabs {
    display: flex;
    margin-bottom: var(--space-xl);
    border-bottom: 2px solid var(--border-color);
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: var(--space-lg) 0;
    font-size: var(--text-xl);
    font-weight: 600;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s ease;
    position: relative;
}

.auth-tab.active {
    color: var(--primary-color);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px 3px 0 0;
}

.auth-form-container {
    position: relative;
    overflow: hidden;
}

.auth-form {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease;
}

.auth-form.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-title {
    font-size: var(--text-3xl);
    color: var(--text-dark);
    margin-bottom: var(--space-lg);
    font-weight: 600;
}

.form-group {
    margin-bottom: var(--space-lg);
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 600;
    color: var(--text-medium);
    font-size: var(--text-base);
}

.form-control {
    width: 100%;
    padding: var(--space-lg) var(--space-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-large);
    font-size: var(--text-base);
    transition: all 0.3s ease;
    background-color: var(--light-bg);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.1);
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 42px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: var(--text-lg);
}

.btn {
    display: block;
    width: 100%;
    padding: var(--space-md);
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: var(--radius-large);
    font-size: var(--text-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: var(--space-sm);
}

.btn:hover {
    background: linear-gradient(to right, var(--primary-hover), var(--secondary-hover));
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn:active {
    transform: translateY(0);
}

.btn i {
    margin-right: var(--space-sm);
}

.form-footer {
    text-align: center;
    margin-top: var(--space-lg);
    color: var(--text-light);
    font-size: var(--text-sm);
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-footer a:hover {
    text-decoration: underline;
}

.alert-container {
    position: fixed;
    top: var(--space-md);
    right: var(--space-md);
    z-index: var(--z-alert);
}

.custom-alert {
    padding: var(--space-lg) var(--space-md);
    margin-bottom: var(--space-sm);
    border-radius: var(--radius-medium);
    color: var(--white);
    font-weight: 600;
    box-shadow: var(--shadow-light);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    animation: slideIn 0.3s ease-out;
}

.custom-alert.success {
    background-color: var(--success-color);
}

.custom-alert.error {
    background-color: var(--error-color);
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.loader {
    display: none;
    justify-content: center;
    align-items: center;
    padding: var(--space-md);
}

.loader i {
    font-size: var(--text-4xl);
    color: var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.phone-input-group {
    display: flex;
}

.phone-input-group select {
    flex: 0 0 100px;
    margin-right: var(--space-sm);
    padding: var(--space-lg);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-large);
    font-size: var(--text-base);
    background-color: var(--light-bg);
}

.phone-input-group input {
    flex: 1;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--border-color);
    z-index: 0;
}

.progress-bar span {
    width: 35px;
    height: 35px;
    border-radius: var(--radius-circle);
    background-color: var(--white);
    border: 3px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.progress-bar span.active {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: var(--white);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-lg);
}

.step-btn {
    padding: var(--space-sm) 25px;
    background-color: var(--light-bg);
    border: none;
    border-radius: var(--radius-medium);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-btn:hover {
    background-color: var(--border-color);
}

.step-btn.next {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.step-btn.next:hover {
    background: linear-gradient(to right, var(--primary-hover), var(--secondary-hover));
}

/* Responsive Styles */
@media (max-width: 992px) {
    .container {
        flex-direction: column;
        max-width: 600px;
    }
    
    .welcome-section, .auth-section {
        padding: var(--space-xl) var(--space-lg);
    }
    
    .welcome-content h2 {
        font-size: var(--text-4xl);
    }
}

@media (max-width: 576px) {
    body {
        padding: var(--space-sm);
    }
    
    .container {
        border-radius: 15px;
    }
    
    .welcome-section, .auth-section {
        padding: var(--space-lg) var(--space-md);
    }
    
    .logo-text h1 {
        font-size: var(--text-3xl);
    }
    
    .welcome-content h2 {
        font-size: var(--text-3xl);
    }
    
    .auth-tab {
        font-size: var(--text-md);
        padding: var(--space-md) 0;
    }
    
    .form-title {
        font-size: var(--text-2xl);
    }
    
    .phone-input-group select {
        flex: 0 0 80px;
    }
}




/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-lg);
    z-index: var(--z-sticky);
}

.logo-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-large);
    margin-right: var(--space-lg);
    object-fit: cover;
    border: 3px solid var(--accent-color);
    box-shadow: var(--shadow-light);
}

.logo-icon {
    font-size: var(--text-5xl);
    margin-right: var(--space-lg);
    color: var(--accent-color);
}

.logo-text h1 {
    font-size: var(--text-4xl);
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--white);
}

.logo-text p {
    font-size: var(--text-base);
    opacity: 0.9;
    margin-top: var(--space-xs);
    color: var(--accent-color);
}

/* Responsive adjustments for logo */
@media (max-width: 576px) {
    .logo-image {
        width: 60px;
        height: 60px;
        margin-right: var(--space-md);
    }
    
    .logo-text h1 {
        font-size: var(--text-3xl);
    }
}