:root {
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --primary: #8b5cf6;
    --primary-hover: #7c3aed;
}

body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: var(--text-main);
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background decorative blobs */
body::before, body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
}
body::before {
    width: 400px; height: 400px;
    background: rgba(255, 154, 158, 0.6);
    top: -100px; left: -100px;
}
body::after {
    width: 500px; height: 500px;
    background: rgba(161, 196, 253, 0.6);
    bottom: -150px; right: -150px;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
    padding: 2rem;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    margin: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    color: var(--text-main);
    box-sizing: border-box;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

button {
    padding: 0.6rem 1.2rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.1s ease;
    display: inline-block;
}
.auth-container button {
    width: 100%;
    padding: 0.85rem;
    border-radius: 12px;
}

button:hover {
    background: var(--primary-hover);
}

button:active {
    transform: scale(0.98);
}

h2 {
    margin-top: 0;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
}
