:root {
    --sage-primary: #8a9a5b;
    --sage-light: #b2bc8c;
    --sage-dark: #6b7c41;
    --sage-glow: rgba(138, 154, 91, 0.2);
}

.auth-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f8fafc;
    font-family: 'Outfit', sans-serif;
}

.auth-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 420px;
    z-index: 10;
    transition: transform 0.3s ease;
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-logo {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.auth-logo span {
    color: var(--sage-primary);
}

.auth-subtitle {
    color: #64748b;
    font-size: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: #334155;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--sage-primary);
    box-shadow: 0 0 0 4px var(--sage-glow);
}

.btn-auth {
    width: 100%;
    padding: 1rem;
    background: var(--sage-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 1rem;
    box-shadow: 0 4px 12px var(--sage-glow);
}

.btn-auth:hover {
    background: var(--sage-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--sage-glow);
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.95rem;
    color: #64748b;
}

.auth-footer a {
    color: var(--sage-primary);
    text-decoration: none;
    font-weight: 700;
}

.auth-footer a:hover {
    text-decoration: underline;
}

#error-message {
    background: #fef2f2;
    color: #dc2626;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    display: none;
    border: 1px solid #fee2e2;
}

/* Footer links */
.legal-footer {
    margin-top: 3rem;
    font-size: 0.8rem;
    color: #94a3b8;
    z-index: 10;
}
.legal-footer a {
    color: inherit;
    text-decoration: none;
    margin: 0 0.5rem;
}
.legal-footer a:hover {
    color: var(--sage-primary);
}

/* Globals for background */
.globe {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    z-index: 1;
}
.globe-1 {
    background: var(--sage-light);
    top: -200px;
    left: -200px;
}
.globe-2 {
    background: #cbd5e1;
    bottom: -200px;
    right: -200px;
}
