/*-------------------------------------------------------------------------*/
/* Register - Modern Two-Column Layout (ChatGPT Style)
/*-------------------------------------------------------------------------*/

/* Hide page title for register pages */
.page-register .page-head {
    display: none;
}

/* Reset page container */
.page-register .page-subbody {
    padding: 20px;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f1419 0%, #1a252f 100%);
}

.page-register .page-subbody > div {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    max-width: none;
    width: 100%;
    margin: 0;
    position: relative;
    overflow: visible;
}

/* Modern Two-Column Layout - Compact Size */
.register-modern-layout {
    display: flex;
    min-height: 550px;
    max-width: 800px;
    margin: 40px auto 40px 15%;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Left Side - Traditional Form */
.register-left-side {
    flex: 1;
    padding: 35px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-form-container {
    width: 100%;
    max-width: 320px;
}

.register-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.register-subtitle {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 25px;
    text-align: center;
}

/* Form Styling */
.register-form-container .form-group {
    margin-bottom: 20px;
}

.register-form-container .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px 20px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.register-form-container .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.register-form-container .form-control::placeholder {
    color: #aaa;
}

.error-message {
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
}

.btn-register-primary {
    width: 100%;
    background: linear-gradient(45deg, #d4af37, #f4d03f);
    color: #000;
    border: none;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-register-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.login-link {
    text-align: center;
    margin-top: 25px;
    color: #aaa;
    font-size: 14px;
}

.login-link a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover {
    color: #f4d03f;
}

/* Right Side - Social Options */
.register-right-side {
    flex: 1;
    padding: 35px 30px;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-register-container {
    width: 100%;
    max-width: 320px;
}

.social-title {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
}

.social-subtitle {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 25px;
    text-align: center;
}

/* Google Button (ChatGPT Style) */
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 15px 20px;
    background: #ffffff;
    color: #333;
    border: 1px solid #dadce0;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.social-btn:hover {
    background: #f8f9fa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
    color: #333;
}

.social-icon {
    flex-shrink: 0;
}

/* Divider */
.social-divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.social-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.social-divider span {
    background: rgba(255, 255, 255, 0.02);
    color: #aaa;
    padding: 0 20px;
    font-size: 14px;
}

/* Benefits List */
.benefits-list {
    margin: 40px 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #ccc;
    font-size: 14px;
}

.benefit-icon {
    font-size: 18px;
    color: #d4af37;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.1), rgba(244, 208, 63, 0.1));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    margin-top: 40px;
}

.cta-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.cta-text strong {
    color: #d4af37;
    font-size: 18px;
}

.cta-text small {
    color: #aaa;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .register-modern-layout {
        flex-direction: column;
        min-height: auto;
        margin: 15px auto;
        border-radius: 16px;
        max-width: 95%;
    }
    
    .register-left-side,
    .register-right-side {
        padding: 25px 20px;
    }
    
    .register-left-side {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .register-title,
    .social-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .register-left-side,
    .register-right-side {
        padding: 30px 20px;
    }
    
    .register-title,
    .social-title {
        font-size: 1.75rem;
    }
}

/* Captcha Styling */
.captcha {
    margin: 15px 0;
}

.captcha img {
    border-radius: 8px;
    margin-top: 10px;
}

.alert-captcha {
    border: 1px solid #ff6b6b;
    border-radius: 8px;
    padding: 10px;
}

/* Modern Input Groups */
.page-register .input-group-modern {
    position: relative;
    margin-bottom: 1.5rem;
}

.page-register .form-control-modern {
    width: 100%;
    height: 56px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
}

.page-register .form-control-modern::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    text-align: center;
}

.page-register .form-control-modern:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 0 0 3px rgba(255, 255, 255, 0.1),
        0 8px 24px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Register Button */
.btn-register {
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 16px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 24px rgba(102, 126, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-register::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 32px rgba(102, 126, 234, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #7289da 0%, #8a63d2 100%);
}

.btn-register:hover::before {
    left: 100%;
}

.btn-register:active {
    transform: translateY(0);
    box-shadow: 
        0 4px 16px rgba(102, 126, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Error Messages */
.page-register span[id$="_error"] {
    color: #ff6b8a;
    font-size: 12px;
    margin-top: 0.5rem;
    display: block;
    text-align: center;
}

/* Error Feedback */
.page-register .error-feedback {
    background: rgba(220, 53, 69, 0.1) !important;
    border: 1px solid rgba(220, 53, 69, 0.3) !important;
    color: #ff6b8a !important;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* Captcha Styling */
.page-register .captcha-field .input-group {
    margin-top: 1.5rem;
}

.page-register .captcha-field .input-group-text {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px 12px 0 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.page-register .captcha-field .captcha-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0 0 12px 12px;
    color: #ffffff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
}

.page-register .captcha-field .captcha-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.page-register .captcha-field .captcha-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-register .page-subbody > div {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }
    
    .register-title {
        font-size: 1.5rem;
    }
}