/* Authentication Pages Styles */

/* Navigation */
.nav-logo-link {
    text-decoration: none;
    color: inherit;
}

/* Button Groups */
.button-group {
    display: flex;
    gap: 1rem;
}

.flex-button {
    flex: 1;
}

/* Form Helper Text */
.form-helper-text {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Auth Container */
.auth-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #007bff 0%, #6610f2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 20px;
}

.auth-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    max-width: 1000px;
    width: 100%;
    align-items: center;
}

/* Auth Card */
.auth-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #6610f2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

.auth-icon i {
    font-size: 2rem;
    color: var(--white);
}

.auth-header h2 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.auth-header p {
    color: var(--gray);
    font-size: 1rem;
    margin: 0;
}

/* Auth Form */
.auth-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--primary-color);
    width: 16px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-control.error {
    border-color: var(--danger-color);
    background-color: #fff5f5;
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--primary-color);
    background-color: rgba(0, 123, 255, 0.1);
}

.error-message {
    color: var(--danger-color);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.error-message::before {
    content: '⚠';
    font-size: 0.8rem;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--gray);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--light-gray);
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
}

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Buttons */
.btn-full {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    border-radius: 10px;
    font-weight: 600;
}

.btn-full i {
    margin-right: 0.5rem;
}

/* Auth Divider */
.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--light-gray);
}

.auth-divider span {
    background-color: var(--white);
    padding: 0 1rem;
    color: var(--gray);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* Loading Overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    z-index: 100;
}

.loading-overlay p {
    margin-top: 1rem;
    color: var(--gray);
    font-weight: 500;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 8px;
    display: none;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert i {
    font-size: 1.1rem;
}

/* Auth Features */
.auth-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 300px;
}

.feature {
    text-align: center;
    color: var(--white);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--warning-color);
}

.feature h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Auth Footer */
.auth-footer {
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--white);
    padding: 1rem 0;
    text-align: center;
}

.auth-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

/* File Upload Styles */
.file-upload {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 3rem 1rem;
    border: 2px dashed var(--light-gray);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    background-color: #f8f9fa;
    color: var(--gray);
    text-align: center;
}

.file-upload-label:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(0, 123, 255, 0.05);
}

.file-upload-label i {
    font-size: 2rem;
}

.file-upload.has-file .file-upload-label {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    background-color: rgba(40, 167, 69, 0.05);
}

.file-info {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.file-info .file-name {
    font-weight: 500;
    color: var(--dark-color);
}

.file-info .file-size {
    color: var(--gray);
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.step-number.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.step-number.completed {
    background-color: var(--secondary-color);
    color: var(--white);
}

.step-connector {
    width: 50px;
    height: 2px;
    background-color: var(--light-gray);
    margin: 0 1rem;
}

.step-connector.completed {
    background-color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .auth-features {
        display: none;
    }
    
    .auth-card {
        padding: 2rem;
        margin: 1rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .auth-footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 80px 10px 10px;
    }
    
    .auth-card {
        padding: 1.5rem;
    }
    
    .auth-header h2 {
        font-size: 1.5rem;
    }
    
    .form-control {
        padding: 12px;
    }
    
    .btn-full {
        padding: 12px;
    }
} 