/* Registration Tabs Section - Custom Styling */

/* Side-by-side Hero and Registration Layout */
.hero-registration-section {
    background: #9e1e20;
}

.hero-registration-section .row {
    min-height: auto;
}

.hero-registration-section .col-lg-6,
.hero-registration-section .col-md-6 {
    display: flex;
    align-items: center;
}

.hero-banner-half {
    background-color: var(--primary-color, #9E1E20);
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.hero-banner-half img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.registration-card {
    background: white;
    border-radius: 15px;
    padding: 4%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 2% auto;
    width: 100%;
}

.registration-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

.registration-section .card {
    border-radius: 15px;
    overflow: hidden;
}

/* Tab Navigation Styling */
.nav-tabs {
    border-bottom: 2px solid #dee2e6;
}

.nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #6c757d;
    font-weight: 600;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    border-color: transparent;
    color: #9E1E20;
    background-color: rgba(158, 30, 32, 0.05);
}

.nav-tabs .nav-link.active {
    border-color: transparent transparent #9E1E20 transparent;
    color: #9E1E20;
    background-color: transparent;
}

/* Form Styling */
.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #9E1E20;
    box-shadow: 0 0 0 0.2rem rgba(158, 30, 32, 0.15);
}

.input-group-text {
    background-color: #f8f9fa;
    border-radius: 8px 0 0 8px;
    border: 1px solid #ced4da;
    color: #495057;
    font-weight: 600;
}

/* Button Styling */
.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #9E1E20 !important;
    border-color: #9E1E20 !important;
    color: white !important;
}

.btn-primary:hover {
    background-color: #7a1619 !important;
    border-color: #7a1619 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(158, 30, 32, 0.3);
}

.btn-primary:active,
.btn-primary:focus {
    background-color: #7a1619 !important;
    border-color: #7a1619 !important;
    box-shadow: 0 0 0 0.2rem rgba(158, 30, 32, 0.25) !important;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Benefits Section */
.registration-benefits {
    background-color: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-top: 1.5rem;
}

/* Divider Line */
.registration-card hr,
.registration-card .my-4 {
    border: 0;
    border-top: 2px solid #e9ecef;
    margin: 1.5rem 0;
}

.benefit-item {
    padding: 0.75rem;
}

.benefit-item i {
    display: block;
    margin: 0 auto;
    color: #9E1E20;
}

.benefit-item p {
    color: #6c757d;
    font-weight: 500;
    margin-top: 0.5rem;
    line-height: 1.3;
}

/* Checkbox Styling */
.form-check-input {
    margin-top: 0.3rem;
}

.form-check-input:checked {
    background-color: #9E1E20;
    border-color: #9E1E20;
}

.form-check-label {
    color: #495057;
}

/* Link Styling */
a.text-primary {
    text-decoration: none;
    transition: all 0.2s ease;
}

a.text-primary:hover {
    text-decoration: underline;
    color: #7a1619 !important;
}

/* Tab Content Animation */
.tab-pane {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-registration-section .col-lg-6,
    .hero-registration-section .col-md-6 {
        display: block;
    }
    
    .hero-banner-half {
        min-height: 300px;
        height: 300px;
        padding: 1rem 0;
    }
    
    .hero-banner-half img {
        max-height: 280px;
    }
    
    .registration-card {
        padding: 1.5rem;
        margin: 1rem auto;
    }
    
    .nav-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .registration-benefits {
        margin-top: 1rem;
    }
    
    .benefit-item {
        padding: 0.5rem;
    }
    
    .benefit-item i {
        font-size: 1.5rem !important;
    }
    
    .benefit-item p {
        font-size: 0.75rem;
    }
}

@media (max-width: 991px) and (min-width: 769px) {
    .hero-banner-half {
        padding: 1.5rem 0;
    }
}

/* Success Message Styling (for future use) */
.success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Error Message Styling (for future use) */
.error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}
