:root {
    --bg-dark: #0b1120;
    --bg-dark-2: #0f172a;
    --bg-dark-3: #0b1f2a;
    --card-bg: rgba(17, 24, 39, 0.75);
    --input-bg: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --radius-lg: 20px;
    --radius-md: 12px;
    --transition: all 0.2s ease;
}

/* Base Body Style */
.auth-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-2) 50%, var(--bg-dark-3) 100%);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    margin: 0;
}

.auth-body.auth-body-top {
    align-items: flex-start;
    padding-top: 24px;
}

.auth-container {
    width: 100%;
    max-width: 420px;
    text-align: center;
}

/* Header Section */
.auth-header {
    margin-bottom: 1rem;
}

.auth-logo {
    max-width: 220px;
    height: auto;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 0.25rem;
    background: linear-gradient(to bottom, #fff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Card Style */
.auth-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: left;
    box-sizing: border-box;
}

/* Form Elements */
.auth-form-group {
    margin-bottom: 1rem;
    box-sizing: border-box;
}

.auth-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.auth-input {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    color: #fff;
    border-radius: var(--radius-md);
    padding: 14px;
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
    box-sizing: border-box;
}

/* Button Style */
.auth-button {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-md);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
}

.auth-button:hover {
    transform: translateY(-2px);
}

/* Back Link */
.auth-back-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.auth-back-link:hover {
    color: #fff;
}

/* Alert Style */
.auth-alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    border: 1px solid transparent;
}

.auth-alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

/* Themes */
/* Blue - Organizer */
.theme-blue .auth-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.theme-blue .auth-button {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 15px -3px rgba(59, 130, 246, 0.4);
}

.theme-blue .auth-button:hover {
    box-shadow: 0 8px 20px -3px rgba(59, 130, 246, 0.5);
}

/* Purple - Seller */
.theme-purple .auth-input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}

.theme-purple .auth-button {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 4px 15px -3px rgba(139, 92, 246, 0.4);
}

.theme-purple .auth-button:hover {
    box-shadow: 0 8px 20px -3px rgba(139, 92, 246, 0.5);
}

/* Green - Checkin */
.theme-green .auth-input:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.theme-green .auth-button {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 15px -3px rgba(16, 185, 129, 0.4);
}

.theme-green .auth-button:hover {
    box-shadow: 0 8px 20px -3px rgba(16, 185, 129, 0.5);
}

/* Responsive */
@media (max-width: 480px) {
    .auth-card {
        padding: 24px;
    }
    .auth-title {
        font-size: 1.5rem;
    }
}
