:root {
    --primary-gradient: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    --card-bg: rgba(255, 255, 255, 0.95);
    --body-bg: #F3F4F6;
    --input-focus-border: #4F46E5;
    --input-focus-shadow: rgba(79, 70, 229, 0.25);
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
}

body {
    font-family: 'Inter', sans-serif !important;
    background-color: var(--body-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%), radial-gradient(at 100% 0%, hsla(339,49%,30%,1) 0, transparent 50%);
    background-color: #111827; /* Fallback for dark theme feel */
    background-attachment: fixed;
}

.auth-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5);
    border-radius: 1.5rem;
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    animation: slideUp 0.5s ease-out forwards;
}

.auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.auth-logo:hover {
    transform: scale(1.05);
}

.auth-logo img {
    height: 60px;
    width: auto;
}

.page-title {
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
    letter-spacing: -0.025em;
}

.page-subtitle {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Form Controls */
.form-floating > .form-control {
    border: 2px solid #E5E7EB;
    border-radius: 0.75rem;
    padding: 1rem 0.75rem;
    height: calc(3.5rem + 2px);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-floating > .form-control:focus {
    border-color: var(--input-focus-border);
    box-shadow: 0 0 0 4px var(--input-focus-shadow);
}

.form-floating > label {
    padding: 1rem 0.75rem;
    color: var(--text-secondary);
}

.input-icon {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    z-index: 5;
    pointer-events: none;
}

/* Buttons */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    border-radius: 0.75rem;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Links */
.auth-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: #4F46E5;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utils */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #E5E7EB;
}

.divider:not(:empty)::before {
    margin-right: .5em;
}

.divider:not(:empty)::after {
    margin-left: .5em;
}
