/* Registration-specific styles */

/* Validation error border override */
.border-red-500 {
    border-color: #ef4444 !important;
}

/* Step transition animation */
.registration-step {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom radio button matching mockup design */
.radio-custom {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: grid;
    place-content: center;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
}

.radio-custom::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    background-color: #F6A100;
}

.radio-custom:checked {
    border-color: #F6A100;
}

.radio-custom:checked::before {
    transform: scale(1);
}

.radio-custom:focus {
    outline: 2px solid rgba(246, 161, 0, 0.3);
    outline-offset: 2px;
}

/* Custom select/dropdown arrow override */
select.appearance-none {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238495D3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Style date inputs for dark theme */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* Stripe Element container */
#stripe-element .StripeElement {
    padding: 12px;
}

/* Trust badge lock icon */
.trust-badge-lock {
    filter: brightness(0.5);
}

/* Google Places autocomplete dropdown styling */
.pac-container {
    background-color: #061446 !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5) !important;
    margin-top: 4px !important;
    z-index: 9999 !important;
}

.pac-item {
    color: #ffffff !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    padding: 8px 12px !important;
    cursor: pointer !important;
}

.pac-item:hover {
    background-color: rgba(246, 161, 0, 0.15) !important;
}

.pac-item-query {
    color: #F6A100 !important;
}

.pac-matched {
    color: #F6A100 !important;
}

.pac-icon {
    display: none !important;
}

/* Custom dropdown list scrollbar styling */
.custom-select-container ul::-webkit-scrollbar {
    width: 6px;
}

.custom-select-container ul::-webkit-scrollbar-track {
    background: #0a1b3d;
    border-radius: 3px;
}

.custom-select-container ul::-webkit-scrollbar-thumb {
    background: #8495D3;
    border-radius: 3px;
}

.custom-select-container ul::-webkit-scrollbar-thumb:hover {
    background: #F6A100;
}

/* Order table responsive adjustments */
@media (max-width: 768px) {
    #checkout-items-tbody td,
    #checkout-items-tbody th {
        font-size: 11px;
        padding: 4px 2px;
    }
}

/* Step indicator responsive: hide step labels on very small screens */
@media (max-width: 640px) {
    .step-label[data-step] {
        font-size: 9px;
        letter-spacing: 0.05em;
    }
}

/* ============================================================
   Group Registration Styles
   ============================================================ */

/* Registration type selection cards */
.reg-type-card > div {
    transition: all 0.3s ease;
}

.reg-type-card > div:hover {
    border-color: rgba(246, 161, 0, 0.6);
    box-shadow: 0 0 20px rgba(246, 161, 0, 0.1);
}

/* Attendee stepper (minus/value/plus) */
.attendee-stepper {
    user-select: none;
}

.attendee-stepper button:active {
    background-color: rgba(246, 161, 0, 0.3);
}

/* Attendee tab bar */
.attendee-tabs {
    scrollbar-width: thin;
    scrollbar-color: #8495D3 transparent;
}

.attendee-tabs::-webkit-scrollbar {
    height: 4px;
}

.attendee-tabs::-webkit-scrollbar-track {
    background: transparent;
}

.attendee-tabs::-webkit-scrollbar-thumb {
    background: #8495D3;
    border-radius: 2px;
}

/* Attendee tab pill */
.attendee-tab {
    transition: all 0.2s ease;
    user-select: none;
}

.attendee-tab .status-dot {
    transition: background-color 0.3s ease;
}

/* Workshop attendee checkboxes */
.workshop-attendee-checks label {
    transition: opacity 0.2s;
}

.workshop-attendee-checks label:hover {
    opacity: 0.8;
}

/* Quantity stepper for accommodation rooms */
.qty-stepper {
    user-select: none;
}

.qty-stepper button:active {
    background-color: rgba(246, 161, 0, 0.3);
}

/* Group attendee form panels */
.attendee-form-panel {
    animation: fadeIn 0.2s ease-in-out;
}
