/*==========================
SOC Authentication Pages - Common Styles
==========================*/

/* Uses CSS variables from frontend/static/css/index.css */
.main-content 
{
    padding: unset !important;
}
/* Main Auth Container */
.auth-container {
    min-height: 100vh;
}

.auth-page-bg {
    background: linear-gradient(135deg, var(--soc-blue-dark) 0%, var(--soc-blue-medium) 100%);
}

/* Card Styling */
.auth-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Left Side Branding */
.auth-branding {
    background: linear-gradient(180deg, var(--soc-blue-dark) 0%, #1e3a6d 100%);
    min-height: 100%;
}

.brand-logo {
    animation: float 3s ease-in-out infinite;
}

.brand-logo-icon {
    color: var(--soc-blue-light);
}

.brand-text {
    font-weight: 800;
}

.feature-item {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-5px);
}

.feature-icon {
    color: var(--soc-blue-light);
    width: 24px;
    text-align: center;
}

/* Right Side Form */
.auth-form-section {
    background: var(--soc-white-accent);
}

.form-title {
    color: var(--soc-blue-dark);
}

/* Form Controls */
.form-label {
    color: var(--soc-text-main);
}

.form-label i {
    color: var(--soc-blue-medium);
}

.form-control,
.form-select {
    border-color: var(--soc-bg-canvas);
    border-radius: 12px;
    border-width: 2px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--soc-blue-medium);
    box-shadow: 0 0 0 0.2rem rgba(42, 75, 140, 0.25);
}

/* Input Group */
.input-group-text {
    border-color: var(--soc-bg-canvas);
    border-width: 2px;
    border-radius: 0 12px 12px 0;
}

.input-group .form-control {
    border-radius: 12px;
}

/* Password Toggle Button */
.password-toggle {
    color: var(--soc-blue-medium);
    background: none;
    border: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: var(--soc-blue-dark);
}

.password-field {
    position: relative;
}

/* Checkbox Styling */
.form-check-input {
    border-color: var(--soc-blue-medium);
}

.form-check-input:checked {
    background-color: var(--soc-blue-dark);
    border-color: var(--soc-blue-dark);
}

/* Submit Button */
.submit-btn {
    background-color: var(--soc-blue-dark);
    color: var(--soc-white-accent);
    border-radius: 12px;
    border: none;
}

/* Links */
.auth-link {
    color: var(--soc-blue-dark);
    text-decoration: none;
    font-weight: 600;
}

.auth-link:hover {
    color: var(--soc-blue-medium);
    text-decoration: underline;
}

/* Footer */
.auth-footer {
    color: rgba(255, 255, 255, 0.75);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .auth-branding {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .auth-container {
        padding: 1rem;
    }

    .auth-card {
        border-radius: 16px;
    }
}
