/* WorkBase - Authentication Forms CSS */
/* Monochrome Theme (Black & White) */

/* Auth Container */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000; /* Monochrome Black */
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl) var(--spacing-md);
    color: #ffffff;
}

.auth-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0.2;
    background: radial-gradient(circle at center, #333333 0%, #000000 100%);
}

.auth-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: none; /* Removed for strict cleanliness if needed, or keeping subtle */
}

/* Keeping particles but monochrome */
.auth-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffffff;
    border-radius: 50%;
    animation: authFloat 8s ease-in-out infinite;
    opacity: 0.1;
}

/* ... existing particle delays ... */
.auth-particle:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; }
.auth-particle:nth-child(2) { top: 70%; left: 25%; animation-delay: 2s; }
.auth-particle:nth-child(3) { top: 30%; left: 75%; animation-delay: 4s; }
.auth-particle:nth-child(4) { top: 80%; left: 85%; animation-delay: 6s; }
.auth-particle:nth-child(5) { top: 50%; left: 50%; animation-delay: 8s; }
.auth-particle:nth-child(6) { top: 20%; left: 60%; animation-delay: 10s; }
.auth-particle:nth-child(7) { top: 90%; left: 40%; animation-delay: 12s; }
.auth-particle:nth-child(8) { top: 40%; left: 10%; animation-delay: 14s; }

@keyframes authFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.1; }
    50% { transform: translateY(-30px) rotate(180deg); opacity: 0.3; }
}

/* Auth Form */
.auth-form {
    background: #ffffff; /* White card on black bg */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px;
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    color: #000000;
}

.auth-form:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    display: block;
}

.auth-logo::after {
    display: none; /* Remove gradients */
}

.auth-subtitle {
    color: #666666;
    font-size: 1rem;
    line-height: 1.5;
}

/* Form Groups */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #000000;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: #f4f4f4;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #000000;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    background: #ffffff;
    border-color: #000000;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.form-input::placeholder {
    color: #999999;
}

.password-toggle {
    color: #999999;
}
.password-toggle:hover {
    color: #000000;
}

/* Submit Button - Monochrome */
.form-submit {
    width: 100%;
    padding: 16px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 12px;
}

.form-submit::before { display: none; }

.form-submit:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.form-submit:active {
    transform: translateY(0);
}

/* Links */
.form-link {
    color: #666666;
    font-size: 0.9rem;
    transition: 0.2s;
}

.form-link:hover {
    color: #000000;
    text-decoration: underline;
}

.social-btn {
    border: 1px solid #e0e0e0;
    background: #ffffff;
    color: #000000;
}

.social-btn:hover {
    background: #f9f9f9;
    border-color: #000000;
}

/* Form Tabs */
.form-tab {
    color: #999999;
}
.form-tab:hover {
    color: #000000;
}
.form-tab.active {
    color: #000000;
    border-bottom: 2px solid #000000;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-form {
        padding: 24px;
        border-radius: 20px;
    }
}


@keyframes formSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Print Styles */
@media print {
    .auth-container {
        background: white;
        color: black;
    }
    
    .auth-form {
        background: white;
        border: 1px solid black;
        box-shadow: none;
    }
    
    .auth-logo {
        color: black;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        background: white;
        border: 1px solid black;
        color: black;
    }
    
    .form-submit {
        background: black;
        color: white;
    }
}

