/* ========== BIDDER REGISTRATION HERO ========== */
.bidder-hero-section {
    position: relative;
    background: 
        linear-gradient(135deg, rgba(10, 10, 10, 0.92) 0%, rgba(18, 18, 18, 0.88) 100%),
        url('https://www.transparenttextures.com/patterns/carbon-fibre-v2.png');
    background-size: auto, 300px 300px;
    min-height: 32vh;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    border-bottom: 3px solid rgba(0, 176, 176, 0.4);
    overflow: hidden;
}

.bidder-hero-section .hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 800px 400px at 50% 50%, 
        rgba(0, 176, 176, 0.15) 0%, 
        transparent 50%
    );
    z-index: 1;
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.bidder-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    right: -50%;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 100px,
            rgba(0, 212, 212, 0.08) 100px,
            rgba(0, 212, 212, 0.08) 101px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 100px,
            rgba(0, 176, 176, 0.06) 100px,
            rgba(0, 176, 176, 0.06) 101px
        );
    z-index: 1;
    pointer-events: none;
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(100px) translateY(100px);
    }
}

.bidder-hero-section .hero-viewport {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px 50px;
}

.bidder-hero-section .hero-content {
    max-width: 900px;
    text-align: center;
}

.bidder-hero-section .hero-title {
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 212, 212, 0.3);
}

/* ========== FORM SECTION ========== */
.form-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0 120px;
    position: relative;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(ellipse at top, rgba(0, 176, 176, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.form-section .container {
    max-width: 1000px;
    position: relative;
    z-index: 2;
}

/* Download Banner */
.download-banner {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 32px 40px;
    margin-bottom: 48px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
    text-align: center;
}

.download-banner-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.download-banner-title::before {
    font-size: 1.5rem;
}

.download-banner-text {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 24px;
}

.download-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #00b0b0;
    color: #ffffff;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 176, 176, 0.2);
}

.download-link::before {
    content: '📄';
}

.download-link:hover {
    background: #008888;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 176, 176, 0.3);
}

/* Form Card */
.form-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 56px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

/* Section Headers */
.section-header {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 48px 0 28px;
    padding-bottom: 16px;
    border-bottom: 3px solid #f1f3f5;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-header:first-of-type {
    margin-top: 0;
}

.section-header::before {
    content: '';
    width: 6px;
    height: 32px;
    background: linear-gradient(180deg, #00b0b0, #00d4d4);
    border-radius: 3px;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: #00b0b0;
}

/* Form Layout */
.form-row-2,
.form-row-3,
.form-row-4 {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row-2 {
    grid-template-columns: repeat(2, 1fr);
}

.form-row-3 {
    grid-template-columns: repeat(3, 1fr);
}

.form-row-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Form Groups */
.form-group {
    position: relative;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #495057;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-label.required::after {
    content: '*';
    color: #dc3545;
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: #ffffff;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.form-control:hover {
    border-color: #cbd5e0;
}

.form-control:focus {
    outline: none;
    border-color: #00b0b0;
    box-shadow: 0 0 0 4px rgba(0, 176, 176, 0.1);
    background: #ffffff;
}

.form-control::placeholder {
    color: #adb5bd;
}

/* Payment Section */
.payment-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
    padding: 32px;
    border-radius: 16px;
    margin: 28px 0;
    border: 2px solid #e9ecef;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.payment-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: #00b0b0;
    background: #f8f9fa;
}

.payment-option input[type="radio"] {
    width: 22px;
    height: 22px;
    margin: 0;
    cursor: pointer;
    accent-color: #00b0b0;
}

.payment-option input[type="radio"]:checked ~ .payment-label {
    color: #00b0b0;
    font-weight: 700;
}

.payment-option:has(input:checked) {
    border-color: #00b0b0;
    background: rgba(0, 176, 176, 0.05);
    box-shadow: 0 4px 12px rgba(0, 176, 176, 0.15);
}

.payment-label {
    font-size: 0.95rem;
    color: #2a2a2a;
    cursor: pointer;
    margin: 0;
    transition: all 0.3s ease;
}

/* Bank Info Section */
.bank-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 28px;
    border-radius: 16px;
    border: 2px dashed #dee2e6;
    margin: 24px 0;
}

.bank-section-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #495057;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bank-section-title::before {
    font-size: 1.3rem;
}

/* Terms Section */
.terms-section {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
    padding: 28px;
    border-radius: 16px;
    border: 2px solid #ffc107;
    margin-top: 32px;
}

.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: #ffffff;
    border-radius: 10px;
    margin-bottom: 16px;
}

.terms-check input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #00b0b0;
}

.terms-check label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    margin: 0;
}

details {
    margin-top: 12px;
    background: #ffffff;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 20px;
}

details[open] {
    border-color: #00b0b0;
}

summary {
    cursor: pointer;
    color: #00b0b0;
    font-weight: 800;
    font-size: 0.95rem;
    list-style: none;
    padding: 8px 0;
}

summary:hover {
    color: #008888;
}

summary::after {
    content: ' ▼';
    font-size: 0.7rem;
    margin-left: 8px;
}

details[open] summary::after {
    content: ' ▲';
}

details p {
    margin-top: 16px;
    font-size: 0.85rem;
    color: #495057;
    line-height: 1.8;
    padding-left: 12px;
    border-left: 3px solid #00b0b0;
}

/* Submit Section */
.form-actions {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 3px solid #e9ecef;
    text-align: center;
}

.btn-custom {
    background: linear-gradient(135deg, #00b0b0 0%, #00d4d4 100%);
    color: #ffffff;
    border: none;
    padding: 18px 64px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(0, 176, 176, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-custom:hover::before {
    width: 300px;
    height: 300px;
}

.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 176, 176, 0.4);
}

/* Submission Message */
.submission-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    color: #155724;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-top: 24px;
    font-weight: 700;
}

/* Invalid Feedback */
.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 6px;
    display: none;
    font-weight: 600;
}

.form-control:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

.form-control:invalid:not(:placeholder-shown) ~ .invalid-feedback {
    display: block;
}

/* Row Spacing */
.row {
    margin-bottom: 0;
}

.row + .row {
    margin-top: 8px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .form-section-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .payment-methods {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .form-section-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .bidder-hero-section {
        min-height: 28vh;
    }
    
    .bidder-hero-section .hero-viewport {
        padding: 60px 20px 40px;
    }
    
    .form-section {
        padding: 60px 0 80px;
    }
    
    .form-card {
        padding: 32px 24px;
    }
    
    .download-banner {
        padding: 24px 20px;
    }
    
    .form-row-2,
    .form-row-3,
    .form-row-4,
    .payment-grid {
        grid-template-columns: 1fr;
    }
    
    .download-links {
        flex-direction: column;
    }
    
    .btn-custom {
        width: 100%;
    }
}
