/* Sign Up Page Styles */

.sign-up-page {
    font-family: 'Outfit', sans-serif;
    background: #f5f6fa;
}

.sign-up-container {
    min-height: 100vh;
}

/* Left Panel - Branding */
.left-panel {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 50px;
}

.left-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.05) 2px, rgba(255,255,255,0.05) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,0.05) 2px, rgba(255,255,255,0.05) 4px);
    background-size: 60px 60px;
    pointer-events: none;
}

.panel-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.logo-section .logo {
    max-width: 200px;
    height: auto;
}

.welcome-text h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
}

.welcome-text p {
    font-size: 16px;
    line-height: 1.6;
}

.benefits-list {
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    color: white;
    margin-bottom: 25px;
    font-size: 16px;
}

.benefit-icon {
    font-size: 24px;
    margin-right: 15px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.panel-footer {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Right Panel - Form */
.right-panel {
    background: #f5f6fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 500px;
}

.form-header h3 {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
}

.form-header p {
    font-size: 14px;
    margin-bottom: 0;
}

/* Form Elements */
.form-label {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 8px;
}

.input-group-text {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-group-text i {
    font-size: 18px;
    color: #6c757d;
}

.form-control {
    border: 1px solid #dee2e6;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.input-group .form-control:focus + .input-group-text,
.input-group .form-control:focus ~ .input-group-text {
    border-color: #667eea;
}

.toggle-password {
    cursor: pointer;
    transition: background 0.3s ease;
}

.toggle-password:hover {
    background: #e9ecef;
}

.form-text {
    font-size: 12px;
    margin-top: 5px;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 10px;
}

.strength-bar {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-bar-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-bar-fill.weak {
    width: 33%;
    background: #dc3545;
}

.strength-bar-fill.medium {
    width: 66%;
    background: #ffc107;
}

.strength-bar-fill.strong {
    width: 100%;
    background: #28a745;
}

.strength-text {
    font-size: 12px;
    font-weight: 500;
}

.strength-text.weak {
    color: #dc3545;
}

.strength-text.medium {
    color: #ffc107;
}

.strength-text.strong {
    color: #28a745;
}

/* Form Check */
.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.form-check-label {
    font-size: 14px;
    color: #6c757d;
}

/* Submit Button */
#submitBtn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

#submitBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

#submitBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Divider */
.divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #dee2e6;
}

.divider span {
    position: relative;
    background: white;
    padding: 0 15px;
    color: #6c757d;
    font-size: 13px;
}

/* Social Buttons */
.btn-outline-secondary {
    border: 1px solid #dee2e6;
    color: #495057;
    font-weight: 500;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
}

.btn-outline-secondary i {
    font-size: 18px;
}

/* Alert Styles */
.alert {
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
}

.alert i {
    font-size: 18px;
}

/* Invalid Feedback */
.invalid-feedback {
    font-size: 12px;
    margin-top: 5px;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

/* Mobile Styles */
@media (max-width: 991px) {
    .sign-up-page {
        background: #ffffff !important;
    }

    .sign-up-container {
        background: #ffffff !important;
    }

    .main-container {
        background: #ffffff !important;
    }

    .right-panel {
        background: #ffffff !important;
        padding: 20px 15px;
    }

    .form-wrapper {
        box-shadow: none;
        padding: 30px 25px;
        padding-top: 70px;
        position: relative;
    }

    /* Mobile Logo */
    .form-wrapper::before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 25px;
        width: 150px;
        height: 50px;
        background-image: url('../images/logo/1.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: left center;
    }

    .form-header h3 {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .form-wrapper {
        padding: 25px 20px;
        padding-top: 70px;
    }

    .form-wrapper::before {
        left: 20px;
    }

    .form-header h3 {
        font-size: 22px;
    }

    .welcome-text h1 {
        font-size: 32px;
    }

    .left-panel {
        padding: 40px 30px;
    }

    .btn-outline-secondary {
        font-size: 13px;
        padding: 8px 10px;
    }

    .btn-outline-secondary i {
        font-size: 16px;
    }
}
