/* ===================================
   AUTH PAGE STYLES
   =================================== */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    background-image: 
        radial-gradient(at 20% 30%, rgba(139, 92, 246, 0.15) 0px, transparent 50%),
        radial-gradient(at 80% 70%, rgba(236, 72, 153, 0.15) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(16, 185, 129, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(139, 92, 246, 0.1)"/></svg>');
    background-size: 60px 60px;
    opacity: 0.3;
    pointer-events: none;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    animation: slideUp 0.5s ease;
    position: relative;
    z-index: 1;
}

.auth-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   AUTH BRAND SIDE
   =================================== */
.auth-brand {
    background: linear-gradient(135deg, #1a1a24 0%, #0a0a0f 100%);
    padding: 4rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-brand::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(at 20% 30%, rgba(139, 92, 246, 0.15) 0px, transparent 50%),
        radial-gradient(at 80% 80%, rgba(236, 72, 153, 0.1) 0px, transparent 50%);
    opacity: 0.6;
}

.brand-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

.brand-quote {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--primary-light);
    opacity: 0.6;
}

.brand-quote h2 {
    font-size: 2.2rem;
    color: white;
    line-height: 1.4;
    font-weight: 600;
    margin: 0;
}

.brand-author {
    margin-top: 1rem;
}

.author-name {
    font-size: 1rem;
    color: white;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.author-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}



/* ===================================
   AUTH FORM SIDE
   =================================== */
.auth-form-container {
    padding: 4rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
}

.auth-form {
    width: 100%;
    max-width: 400px;
}

.form-header {
    margin-bottom: 3rem;
}

.logo-small {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
}

.logo-small i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo-small span {
    font-size: 1.25rem;
    font-weight: 600;
}

.auth-form h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* ===================================
   FORM ELEMENTS
   =================================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-color);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus {
    border-color: var(--primary-color);
    background: rgba(139, 92, 246, 0.1);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.password-input {
    position: relative;
}

.password-input input {
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.toggle-password:hover {
    color: var(--primary-light);
}

/* ===================================
   FORM OPTIONS
   =================================== */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkbox input[type="checkbox"] {
    width: auto;
    cursor: pointer;
    accent-color: var(--primary-color);
}

/* ===================================
   DIVIDER
   =================================== */
.divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.divider span {
    color: var(--text-muted);
    font-size: 0.85rem;
    white-space: nowrap;
}

/* ===================================
   AUTH FOOTER
   =================================== */
.auth-footer {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-footer span {
    color: var(--text-muted);
}

.auth-footer .link {
    font-weight: 600;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 968px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-brand {
        display: none;
    }
    
    .auth-form-container {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .auth-page {
        padding: 1rem;
    }
    
    .auth-form-container {
        padding: 1.5rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}
