/* JBayLet Authentication Pages Styles */

.registration-container {
    display: flex;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 1000px;
    margin: 40px auto;
    min-height: 600px;
}

/* Sidebar (Registration Only) */
.registration-sidebar {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: #fff;
    width: 35%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.registration-sidebar h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #fff;
}

.registration-sidebar p {
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.benefit-icon {
    background: rgba(255,255,255,0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 18px;
    color: #fff;
}

.benefit-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #fff;
}

.benefit-text p {
    font-size: 13px;
    margin: 0;
    opacity: 0.8;
}

/* Form Area */
.registration-form {
    flex: 1;
    padding: 40px;
    background: #fff;
}

/* Login Page specific adjustments */
.registration-container[style*="max-width: 500px"] .registration-form {
    padding: 40px;
    width: 100%;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h1 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.form-header p {
    color: #7f8c8d;
    font-size: 15px;
}

.form-header a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

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

/* Alerts */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.alert-danger {
    background-color: #fce4e4;
    color: #c0392b !important;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724 !important;
    border: 1px solid #c3e6cb;
}

/* Form Styling */
.jbaylet-form {
    max-width: 100%;
}

.form-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ecf0f1;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 10px;
    color: #3498db;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #34495e;
    font-size: 14px;
}

.label-optional {
    font-weight: normal;
    color: #95a5a6;
    font-size: 12px;
    margin-left: 5px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #bdc3c7;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.form-control:focus {
    border-color: #3498db;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
}

/* Buttons */
.form-actions {
    margin-top: 30px;
}

.btn-primary {
    background: #3498db;
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    display: block;
    text-align: center;
}

.btn-primary:hover {
    background: #2980b9;
}

/* Social Login */
.social-signup {
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid #ecf0f1;
    padding-top: 25px;
}

.social-signup p {
    color: #95a5a6;
    margin-bottom: 15px;
    font-size: 14px;
}

.social-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
}

.social-btn.google {
    color: #db4437;
    border-color: #db4437;
}

.social-btn.google:hover {
    background: #db4437;
    color: #fff;
}

.social-btn i {
    margin-right: 8px;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .registration-container {
        flex-direction: column;
        margin: 20px 0;
    }
    
    .registration-sidebar {
        width: 100%;
        padding: 30px;
    }
    
    .registration-form {
        padding: 30px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
