/* ============================================
   VIP Confirmation Section Styles
   ============================================ */

.vip-confirmation-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.vip-confirmation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(111, 66, 193, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Section Title */
/* VIP Section Title - Independent from main section-title */
.vip-section-title {
    margin-bottom: 3rem;
}

.vip-section-title.mb-5 {
    margin-bottom: 3rem !important;
}

/* VIP Title Styling */
.vip-title {
    font-size: 2.0rem;
    font-weight: 600;
    background: linear-gradient(135deg, #660000 0%, #990000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* Responsive title sizing */
@media (max-width: 768px) {
    .vip-section-title {
        margin-bottom: 2rem;
    }
    
    .vip-section-title.mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .vip-title {
        font-size: 1.75rem;
        letter-spacing: 0px;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .vip-section-title {
        margin-bottom: 1.5rem;
    }
    
    .vip-section-title.mb-5 {
        margin-bottom: 1.5rem !important;
    }
    
    .vip-title {
        font-size: 1.5rem;
        letter-spacing: 0px;
        line-height: 1.3;
    }
}

@media (max-width: 375px) {
    .vip-title {
        font-size: 1.35rem;
        line-height: 1.3;
    }
}

.vip-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #660000, #800000, #990000);
    border-radius: 2px;
}

/* Responsive title sizing */
@media (max-width: 768px) {
    .vip-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .vip-title {
        font-size: 1.8rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
        padding: 0 1rem;
        text-align: center;
        word-break: break-word;
        hyphens: auto;
    }
    
    .vip-title::after {
        width: 40px;
        height: 3px;
    }
}

@media (max-width: 375px) {
    .vip-title {
        font-size: 1.6rem;
        padding: 0 0.5rem;
    }
}

/* VIP Subtitle - Independent styling */
.vip-subtitle {
    font-size: 1.1rem;
    color: #800000;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
}

/* Responsive subtitle */
@media (max-width: 768px) {
    .vip-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .vip-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
}

/* Section padding adjustments for mobile */
@media (max-width: 768px) {
    .vip-confirmation-section {
        padding: 3rem 0;
    }
    
    .section-title.mb-5 {
        margin-bottom: 2rem !important;
    }
}

@media (max-width: 480px) {
    .vip-confirmation-section {
        padding: 2rem 0;
    }
    
    .section-title.mb-5 {
        margin-bottom: 1.5rem !important;
    }
}

/* VIP Form Container */
.vip-form-container {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.08), 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid rgba(111, 66, 193, 0.15);
    position: relative;
    margin-bottom: 3rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vip-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.12), 0 15px 40px rgba(0, 0, 0, 0.08);
}

.vip-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #660000, #800000, #990000);
}

/* Animated gradient background */
.vip-form-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Form Header */
.form-header {
    padding: 2rem 2rem 1rem;
    background: linear-gradient(135deg, rgba(102, 0, 0, 0.05), rgba(153, 0, 0, 0.05));
}

.form-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.form-divider {
    height: 2px;
    background: linear-gradient(90deg, #660000, #800000, #990000);
    border-radius: 1px;
    margin: 0;
}

/* Form Body */
.form-body {
    padding: 2rem;
}

.form-body .row {
    margin: 0;
}

.form-body .row > * {
    padding: 0 0.75rem;
}

/* Ensure consistent spacing */
.form-floating + .form-floating {
    margin-top: 0;
}

/* Fix for Bootstrap grid in form */
.row.g-4 > * {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Remove extra margin for the last row (select dropdown) */
.row.g-4 > .col-12 {
    margin-bottom: 1.5rem;
}

/* Ensure no extra spacing on select field */
.form-floating {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .row.g-4 > * {
        margin-bottom: 1rem;
    }
    
    .row.g-4 > .col-12 {
        margin-bottom: 1rem;
    }
}

/* Modern Form Floating Labels */
.form-floating {
    position: relative;
    margin-bottom: 0;
}

/* Add consistent spacing between form groups */
.form-body .row.g-4 {
    row-gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-body .row.g-4 {
        row-gap: 1rem;
    }
}

.vip-input, .vip-select {
    height: 65px;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    font-size: 1rem;
    padding: 22px 20px 8px 20px;
    background-color: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    width: 100%;
    position: relative;
    z-index: 1;
}

.vip-input::placeholder {
    color: transparent;
}

.vip-input:focus, .vip-select:focus {
    border-color: #6f42c1;
    box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.12), 0 8px 20px rgba(0, 0, 0, 0.08);
    outline: none;
    transform: translateY(-2px);
}

.vip-input:hover:not(:focus), .vip-select:hover:not(:focus) {
    border-color: #d1d5db;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

/* Enhanced floating labels */
.form-floating > label {
    position: absolute;
    top: 50%;
    left: 20px;
    font-size: 1rem;
    color: #6c757d;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    padding: 0 8px;
    z-index: 2;
    font-weight: 500;
    transform: translateY(-50%);
    border-radius: 4px;
}

.form-floating > .vip-input:focus ~ label,
.form-floating > .vip-input:not(:placeholder-shown) ~ label,
.form-floating > .vip-input:valid ~ label,
.form-floating > .vip-input[value]:not([value=""]) ~ label,
.form-floating > .vip-select:focus ~ label,
.form-floating > .vip-select:not([value=""]) ~ label {
    color: #6f42c1;
    transform: scale(0.85) translateY(-42px);
    font-weight: 600;
    top: 0;
}

/* Fix for filled inputs */
.form-floating > .vip-input:not(:placeholder-shown):not(:focus) ~ label {
    color: #6c757d;
}

/* Icon animations in labels */
.form-floating > label i {
    transition: all 0.3s ease;
    margin-right: 8px;
}

.form-floating > .vip-input:focus ~ label i,
.form-floating > .vip-select:focus ~ label i {
    transform: scale(1.1);
    color: #8b5cf6;
}

/* Custom Select Styling & Live Search Enhancement */
.vip-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%236f42c1' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px 12px;
    padding-right: 55px;
    cursor: pointer;
}

/* Select2 Enhancement for Live Search */
.select2-container {
    width: 100% !important;
}

/* Ensure Nice Select doesn't interfere with our live search select */
.vip-select.live-search + .nice-select,
.live-search + .nice-select {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
}

/* Make sure our original select is always visible when it has live-search class */
select.live-search {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
}

.form-floating .select2-container {
    position: relative;
    z-index: 3;
}

.select2-container--default .select2-selection--single {
    height: 65px !important;
    border: 2px solid #e9ecef !important;
    border-radius: 16px !important;
    background-color: #ffffff !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
}

.select2-container--default .select2-selection--single:hover {
    border-color: #d1d5db !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-1px);
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #6f42c1 !important;
    box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.12), 0 8px 20px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-2px) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #2c3e50 !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #6c757d !important;
    font-style: normal !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    right: 20px !important;
    width: 20px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #6f42c1 transparent transparent transparent !important;
    border-width: 8px 6px 0 6px !important;
    margin-top: -4px !important;
}

/* Special handling for Select2 floating label */
.form-floating .select2-container + label {
    top: 50% !important;
    transform: translateY(-50%) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.form-floating .select2-container--open + label,
.form-floating .select2-container.select2-has-value + label,
.form-floating.has-value label {
    top: 0 !important;
    transform: scale(0.85) translateY(-42px) !important;
    color: #6f42c1 !important;
    font-weight: 600 !important;
}

/* Additional floating label states */
.form-floating.has-value label,
.form-floating .vip-input:not(:placeholder-shown) ~ label,
.form-floating .vip-input:focus ~ label,
.form-floating .vip-select:focus ~ label {
    top: 0 !important;
    transform: scale(0.85) translateY(-42px) !important;
}

.form-floating.has-value:not(.field-focused) label {
    color: #6c757d !important;
}

/* Select2 Dropdown Enhancement */
.select2-dropdown {
    border: 2px solid #6f42c1 !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
    margin-top: 8px !important;
    overflow: hidden !important;
}

.select2-search--dropdown .select2-search__field {
    border: 2px solid #e9ecef !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-size: 1rem !important;
    margin: 16px !important;
    width: calc(100% - 32px) !important;
    transition: all 0.3s ease !important;
}

.select2-search--dropdown .select2-search__field:focus {
    border-color: #6f42c1 !important;
    box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.15) !important;
    outline: none !important;
}

.select2-results {
    max-height: 300px !important;
    padding: 8px 0 !important;
}

.select2-results__option {
    padding: 14px 20px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.select2-results__option:hover,
.select2-results__option--highlighted {
    background-color: rgba(111, 66, 193, 0.08) !important;
    color: #2c3e50 !important;
}

.select2-results__option[aria-selected="true"] {
    background-color: #6f42c1 !important;
    color: white !important;
    font-weight: 600 !important;
}

/* Form Footer */
.form-footer {
    padding: 1.5rem 2rem 2rem;
    background: rgba(248, 249, 250, 0.5);
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* VIP Buttons Enhanced */
.vip-btn {
    position: relative;
    padding: 18px 36px;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
    min-width: 200px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    backdrop-filter: blur(10px);
    z-index: 1;
}

.vip-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}

.vip-btn-present {
    background: linear-gradient(135deg, #22c55e, #16a34a, #15803d);
    color: white;
    box-shadow: 
        0 8px 32px rgba(34, 197, 94, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.vip-btn-present:hover {
    background: linear-gradient(135deg, #16a34a, #15803d, #166534);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 16px 48px rgba(34, 197, 94, 0.4),
        0 0 80px rgba(34, 197, 94, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    color: white;
}

.vip-btn-absent {
    background: linear-gradient(135deg, #ef4444, #dc2626, #b91c1c);
    color: white;
    box-shadow: 
        0 8px 32px rgba(239, 68, 68, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.vip-btn-absent:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c, #991b1b);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 16px 48px rgba(239, 68, 68, 0.4),
        0 0 80px rgba(239, 68, 68, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    color: white;
}

.vip-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* Enhanced Button Shine Effect */
.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 20%, 
        rgba(255, 255, 255, 0.6) 50%, 
        rgba(255, 255, 255, 0.2) 80%, 
        transparent 100%
    );
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
}

.vip-btn:hover .btn-shine {
    left: 100%;
    transition-duration: 0.8s;
}

/* Button ripple effect */
.vip-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.vip-btn:active::after {
    width: 300px;
    height: 300px;
}

/* Event Details Card Enhanced */
.event-details-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.06), 0 10px 30px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.12);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-details-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.1), 0 15px 40px rgba(0, 0, 0, 0.06);
}

.event-details-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #d4af37, #ffd700, #f4d03f, #b8860b);
    position: relative;
    z-index: 1;
}

.event-details-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
    animation: goldShimmer 4s infinite;
    z-index: 2;
}

@keyframes goldShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Details Header */
.details-header {
    padding: 2rem 2rem 1rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(255, 215, 0, 0.05));
}

.details-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.details-divider {
    height: 2px;
    background: linear-gradient(90deg, #d4af37, #ffd700, #b8860b);
    border-radius: 1px;
    margin: 0;
}

/* Details Content */
.details-content {
    padding: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.04), rgba(255, 215, 0, 0.04));
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.detail-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.02), rgba(255, 215, 0, 0.02));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.detail-item:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(255, 215, 0, 0.08));
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15), 0 0 0 1px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.15);
}

.detail-item:hover::before {
    opacity: 1;
}

.detail-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d4af37, #ffd700, #f4d03f);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    position: relative;
    box-shadow: 
        0 8px 24px rgba(212, 175, 55, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.detail-item:hover .detail-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 12px 32px rgba(212, 175, 55, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.detail-icon i {
    font-size: 1.4rem;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.detail-item:hover .detail-icon i {
    color: #1a202c;
    transform: scale(1.1);
}

.detail-info {
    flex: 1;
}

.detail-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
}

.seat-placeholder {
    color: #6c757d;
    font-style: italic;
    font-weight: 400;
}

/* VIP Badge Banner Enhanced */
.vip-badge-banner {
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #6f42c1, #8b5cf6, #a855f7);
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(111, 66, 193, 0.3);
}

.vip-badge-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    background-size: 200% 200%;
    animation: shimmerStatic 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes shimmerStatic {
    0% { 
        background-position: -200% 0;
    }
    100% { 
        background-position: 200% 0;
    }
}

.vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.vip-badge i {
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.badge-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    font-weight: 500;
    position: relative;
    z-index: 3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.5;
}

/* Background Elements */
.vip-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    opacity: 0.08;
    font-size: 3rem;
    color: #6f42c1;
    animation: float 6s ease-in-out infinite;
}

.floating-icon-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-icon-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Form validation states */
.vip-input.is-valid,
.vip-select.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.15);
}

.vip-input.is-invalid,
.vip-select.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

/* Detail highlight animation */
.detail-highlight {
    animation: highlightPulse 2s ease-in-out;
}

@keyframes highlightPulse {
    0% { background: linear-gradient(135deg, rgba(212, 175, 55, 0.03), rgba(255, 215, 0, 0.03)); }
    50% { 
        background: linear-gradient(135deg, rgba(40, 167, 69, 0.15), rgba(32, 201, 151, 0.15));
        transform: scale(1.02);
        box-shadow: 0 8px 32px rgba(40, 167, 69, 0.2);
    }
    100% { background: linear-gradient(135deg, rgba(212, 175, 55, 0.03), rgba(255, 215, 0, 0.03)); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .vip-title {
        font-size: 2.2rem;
    }
    
    .vip-subtitle {
        font-size: 1.1rem;
    }
    
    .form-header,
    .form-body,
    .details-header,
    .details-content {
        padding: 1.5rem;
    }
    
    .form-footer {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .button-group {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .vip-btn {
        min-width: 100%;
        font-size: 1rem;
        padding: 14px 24px;
    }
    
    .detail-item {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
    }
    
    .detail-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .floating-icon {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .vip-confirmation-section {
        padding: 60px 0;
    }
    
    .vip-title {
        font-size: 2rem;
    }
    
    .form-floating > label {
        font-size: 0.8rem;
        top: 10px;
        left: 14px;
        padding: 0 2px;
    }
    
    .vip-input, .vip-select {
        height: 56px;
        font-size: 0.95rem;
        padding: 18px 14px 8px 14px;
    }
    
    .vip-badge {
        font-size: 1.1rem;
    }
    
    .badge-text {
        font-size: 0.9rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .vip-btn,
    .detail-item,
    .floating-icon,
    .btn-shine {
        animation: none;
        transition: none;
    }
    
    .vip-badge-banner::before {
        animation: none;
        background: none;
    }
}

/* Focus visible for better accessibility */
.vip-btn:focus-visible,
.vip-input:focus-visible,
.vip-select:focus-visible {
    outline: 2px solid #6f42c1;
    outline-offset: 2px;
}

/* ============================================
   Enhanced Mobile & Responsive Design
   ============================================ */

/* Touch Device Enhancements */
@media (hover: none) and (pointer: coarse) {
    .vip-btn {
        min-height: 48px; /* iOS recommended touch target */
        font-size: 1rem;
    }
    
    .vip-input,
    .vip-select {
        min-height: 48px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .detail-item:hover {
        transform: none; /* Remove hover transforms on touch devices */
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .vip-btn-present {
        background: #008000 !important;
        border: 2px solid #ffffff !important;
    }
    
    .vip-btn-absent {
        background: #cc0000 !important;
        border: 2px solid #ffffff !important;
    }
    
    .vip-input:focus,
    .vip-select:focus {
        border: 3px solid #0000ff !important;
    }
}

/* Select2 Mobile Enhancements */
@media (max-width: 768px) {
    .select2-container--default .select2-selection--single {
        height: 58px !important;
        padding: 0 16px !important;
    }
    
    .select2-dropdown {
        border-radius: 12px !important;
    }
    
    .select2-search--dropdown .select2-search__field {
        margin: 12px !important;
        width: calc(100% - 24px) !important;
        padding: 10px 14px !important;
    }
    
    .select2-results__option {
        padding: 12px 16px !important;
        font-size: 0.95rem !important;
    }
}

/* Performance Optimizations */
.vip-form-container,
.event-details-card,
.detail-item,
.vip-btn {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Loading states for better UX */
.form-loading .vip-input,
.form-loading .vip-select,
.form-loading .vip-btn {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
}

.form-loading .vip-btn::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
