.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
}

.auth-card {
    background-color: var(--bg-secondary);
    width: 100%;
    max-width: 420px;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: authFadeIn 0.5s ease-out;
}

@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
}

.auth-logo img {
    width: 64px;
    height: 64px;
}

.auth-logo h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    padding-left: 5px;
}

.form-group input {
    background-color: var(--bg-accent);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 18px;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(0, 194, 146, 0.15);
    outline: none;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-top: -5px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-muted);
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    background: var(--bg-accent);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    position: relative;
    transition: 0.2s;
}

.checkbox-container input:checked + .checkmark {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.checkbox-container input:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid black;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-pass {
    color: var(--text-muted);
    transition: 0.2s;
}

.forgot-pass:hover {
    color: var(--color-primary);
}

.auth-btn {
    background-color: var(--color-primary);
    color: #000;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 194, 146, 0.4);
}

.auth-switch {
    margin-top: 25px;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-switch span {
    color: var(--color-primary);
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.auth-switch span:hover {
    text-decoration: underline;
}

/* Glassmorphism background effect */
.auth-bg-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    opacity: 0.05;
    filter: blur(60px);
    z-index: -1;
}

.blob-1 { top: -100px; right: -100px; }
.blob-2 { bottom: -100px; left: -100px; }
