/* Minimalist Auth Form Styles */
:root {
    --primary-color: #009dff;
    --primary-dark: #007acc;
    --bg-light: #f8f9fa;
    --text-muted: #6c757d;
    --transition-speed: 0.4s;
}

#formHolder {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 900px;
    margin: 40px auto;
    display: flex;
    min-height: 550px;
    font-family: 'Poppins', sans-serif;
}

/* Side Brand Panel */
.brand-panel {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    padding: 60px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all var(--transition-speed);
}

.brand-panel h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.brand-panel p {
    font-size: 1.1rem;
    opacity: 0.9;
    color: #fff;
    line-height: 1.6;
}

/* Form Section */
.form-section {
    flex: 1.2;
    padding: 60px 50px;
    position: relative;
    background: #fff;
}

.form-toggle {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
}

.toggle-btn {
    padding: 10px 0;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
    user-select: none;
}

.toggle-btn.auth-btn-active {
    color: var(--primary-color);
}

.toggle-btn.auth-btn-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.auth-form {
    display: none;
}

.auth-form.auth-active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
    background: #fafafa;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 157, 255, 0.1);
}

.btn-auth {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 10px;
}

.btn-auth:hover {
    background: var(--primary-dark);
}

.btn-auth:active {
    transform: scale(0.98);
}

.form-footer {
    margin-top: 25px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-footer a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

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

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.checkbox-group input {
    width: auto;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #formHolder {
        flex-direction: column;
        margin: 20px;
    }
    .brand-panel {
        padding: 40px 20px;
    }
    .form-section {
        padding: 40px 30px;
    }
}
