/* Bidder Registration Page Styles */

.registration-hero {
    background: linear-gradient(135deg, rgba(155, 0, 19, 0.95), rgba(44, 62, 80, 0.9)), 
                url('../images/Atlantic-City-Car-Classic-Car_Auction_June_2026.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.registration-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.registration-hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 400;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-meta {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Form Sections */
.registration-form-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.bidder-form {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid #f8f9fa;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #9b0013;
    display: inline-block;
}

.section-heading i {
    color: #9b0013;
}

/* Form Controls */
.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control,
.form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-control:focus,
.form-select:focus {
    border-color: #9b0013;
    box-shadow: 0 0 0 0.2rem rgba(155, 0, 19, 0.1);
    outline: none;
}

/* Payment Options - Clean Design */
.payment-options {
    display: grid;
    gap: 1rem;
}

.payment-option {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid #e8eaed;
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-option:hover {
    border-color: #9b0013;
    box-shadow: 0 4px 12px rgba(155, 0, 19, 0.1);
}

.payment-option:has(.form-check-input:checked) {
    background: #ffffff;
    border-color: #9b0013;
    box-shadow: 0 4px 12px rgba(155, 0, 19, 0.15);
}

.payment-option .form-check-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-option .form-check-label {
    cursor: pointer;
    margin: 0;
}

.payment-option h5 {
    color: #2c3e50;
    font-size: 1.25rem;
}

.payment-option ul {
    padding-left: 0;
}

.payment-option ul li {
    font-size: 0.9rem;
    color: #6c757d;
}

.payment-option .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

.payment-option hr {
    margin: 1rem 0;
    opacity: 0.1;
}

.payment-option .text-danger {
    font-size: 1.25rem;
    font-weight: 700;
}

.payment-option .bg-danger {
    background: linear-gradient(135deg, #9b0013, #c41e3a) !important;
}

.payment-option small.text-muted {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Bank Info Section */
.bank-info-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e8eaed;
    margin-top: 1.5rem;
}

.bank-info-section h5 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Terms Container */
.terms-container {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 2rem;
}

.terms-container h5 {
    color: #9b0013;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.terms-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #2c3e50;
}

.terms-text ol {
    padding-left: 1.5rem;
}

.terms-text li {
    margin-bottom: 1rem;
}

.terms-text strong {
    color: #9b0013;
}

/* Terms Agreement */
.terms-agreement {
    background: rgba(155, 0, 19, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid rgba(155, 0, 19, 0.2);
}

.terms-agreement .form-check-input {
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.125rem;
}

.terms-agreement .form-check-input:checked {
    background-color: #9b0013;
    border-color: #9b0013;
}

.terms-agreement label {
    cursor: pointer;
    color: #2c3e50;
    margin-left: 0.75rem;
}

/* Submit Button */
.bidder-form .btn-danger {
    background: linear-gradient(135deg, #9b0013, #e74c3c);
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(155, 0, 19, 0.3);
}

.bidder-form .btn-danger:hover {
    background: linear-gradient(135deg, #c41e3a, #ff6b6b);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(155, 0, 19, 0.4);
}

/* Help Section */
.help-section {
    background: #f8f9fa;
}

/* Enhanced Total Display - Cleaner */
.border.rounded.bg-light {
    background: #ffffff !important;
    border: 2px solid #e8eaed !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
}

.border.rounded.bg-light .d-flex {
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.border.rounded.bg-light hr {
    margin: 1.5rem 0;
    border-color: #f0f0f0;
}

#totalDueNow {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #9b0013 !important;
    line-height: 1 !important;
}

/* Payment Modal Styling */
#paymentModal .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

#paymentModal .modal-header {
    background: linear-gradient(135deg, #9b0013, #c41e3a);
    border-radius: 12px 12px 0 0;
    padding: 1.25rem 1.5rem;
}

#paymentModal .modal-title {
    font-size: 1.25rem;
    font-weight: 700;
}

#paymentModal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

.payment-summary {
    background: #f8f9fa !important;
    border: 2px solid #e8eaed;
}

.payment-summary h6 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.payment-summary hr {
    margin: 0.75rem 0;
    opacity: 0.2;
}

#paymentModal .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

#paymentModal .form-control:focus {
    border-color: #9b0013;
    box-shadow: 0 0 0 0.2rem rgba(155, 0, 19, 0.1);
}

#paymentModal .alert-info {
    background: rgba(155, 0, 19, 0.05);
    border-color: rgba(155, 0, 19, 0.1);
    color: #2c3e50;
    font-size: 0.9rem;
}

#paymentModal .modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e9ecef;
}

#processPaymentBtn {
    background: linear-gradient(135deg, #9b0013, #c41e3a);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
}

#processPaymentBtn:hover {
    background: linear-gradient(135deg, #c41e3a, #e74c3c);
}

#processPaymentBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Zen Hosted Fields Styling */
.hosted-field {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0;
    min-height: 48px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.hosted-field:focus-within {
    border-color: #9b0013;
    box-shadow: 0 0 0 0.2rem rgba(155, 0, 19, 0.1);
}

.hosted-field.invalid {
    border-color: #dc3545;
}

.field-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

#payment-error {
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .registration-hero {
        padding: 120px 0 80px;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .bidder-form {
        padding: 2rem 1.5rem;
    }
    
    .section-heading {
        font-size: 1.25rem;
    }
    
    .terms-container {
        max-height: 400px;
        padding: 1.5rem;
    }
    
    .payment-option {
        padding: 1.5rem 1.25rem;
        min-height: auto;
    }
    
    .payment-option .form-check-label ul li {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .bidder-form {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }
    
    .section-heading {
        font-size: 1.1rem;
    }
    
    .terms-text {
        font-size: 0.85rem;
    }
    
    .btn-danger.btn-lg {
        width: 100%;
        padding: 1rem 2rem;
    }
}
