/* Root colors */
:root {
    --primary: #4f46e5;
    --secondary: #6366f1;
    --accent: #facc15;
    --bg: #f5f6fa;
    --card-bg: #ffffff;
    --text: #111827;
    --text-light: #6b7280;
    --border-radius: 16px;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Body */
body {
    font-family: 'Inter', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #eef2ff, #f3f4fd);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Auth container */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-top: 100px;
    width: 100%;
}

/* Auth card */
.auth-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 400px;
    width: 100%;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.auth-card:hover {
    transform: translateY(-5px);
}

/* Logo */
.logo {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Subtitle */
.subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-form label {
    text-align: left;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-light);
}

.auth-form input {
    padding: 12px 15px;
    border-radius: var(--border-radius);
    border: 1px solid #d1d5db;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.auth-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.2);
}

/* Primary button */
.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
}

/* Google button */
.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #d1d5db;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    color: var(--text);
    margin-top: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.google-btn img {
    width: 20px;
    height: 20px;
}

.google-btn:hover {
    background: #f3f4fd;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.15);
}

/* Messages */
.message {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #ef4444;
}

/* Switch mode */
.switch {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-link:hover {
    text-decoration: underline;
}

/* Extra info / SEO text */
.auth-info {
    margin-top: 30px;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    text-align: left;
}

.auth-info h2 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
}