/* ==========================================================
   MULTI-STEP FORM STYLING
========================================================== */
:root {
    --accent1: #8a2eff;
    --accent2: #00eaff;
    --card-bg: rgba(18, 18, 30, 0.8);
    --card-border: rgba(255, 255, 255, 0.1);
    --muted: rgba(255, 255, 255, 0.6);
    --bg-dark: #0a0a14;
}
.custom-booking-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}
/* Progress Bar */
.form-progress {
    margin-bottom: 40px;
}
.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 20px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #a65bff, #00eaff);
    border-radius: 3px;
    transition: width 0.5s ease;
}
.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}
.progress-step {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    flex: 1;
    position: relative;
    padding-top: 25px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.progress-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--muted);
    border-radius: 50%;
    transition: all 0.3s ease;
}
.progress-step.active {
    color: var(--accent2);
}
.progress-step.active::before {
    background: var(--accent2);
    box-shadow: 0 0 0 3px rgba(0, 234, 255, 0.3);
    transform: translateX(-50%) scale(1.2);
}
/* Form Steps */
.form-step {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.form-step.active {
    display: block;
    opacity: 1;
    visibility: visible;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Form Sections */
.form-section {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: inset 0 0 10px rgba(138, 46, 255, 0.1), 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: 0.3s ease-out;
}
.form-section:hover {
    border-color: var(--accent1);
    box-shadow: inset 0 0 15px rgba(138, 46, 255, 0.2), 0 15px 35px rgba(138, 46, 255, 0.3);
}
.form-section h3 {
    font-size: 24px;
    background: linear-gradient(90deg, #a65bff, #00d6ff);
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 25px;
    font-weight: 600;
    font-family: "Roboto Condensed", sans-serif;
    text-align: center;
}
/* Large Radio Options for Purpose */
.purpose-options {
    gap: 16px;
}
.radio-option.large {
    padding: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}
.radio-option.large:hover {
    border-color: var(--accent1);
    background: rgba(138, 46, 255, 0.05);
    transform: translateY(-2px);
}
.radio-option.large input:checked + .radio-custom + .option-content {
    color: var(--accent2);
}
.option-content {
    display: flex;
    flex-direction: column;
    margin-left: 15px;
}
.option-content strong {
    font-size: 18px;
    margin-bottom: 5px;
    text-align: left;
}
.option-desc {
    font-size: 14px;
    color: var(--muted);
    font-weight: 300;
    text-align: left;
}
/* Form Groups */
.form-group {
    margin-bottom: 25px;
    text-align: left;
}
/* PERFECTLY ALIGNED FORM ROWS */
.form-row {
    display: flex;
    gap: 20px;
    align-items: stretch;
}
.form-row.aligned-row {
    align-items: flex-start;
}
.form-row .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}
/* ===== DURATION OPTIONS IN 2 COLUMNS ===== */
.radio-group.duration-options {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    min-height: auto !important;
    padding-top: 0 !important;
}
.radio-group.duration-options .radio-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 16px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}
.radio-group.duration-options .radio-option:hover {
    border-color: var(--accent1);
    background: rgba(138, 46, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(138, 46, 255, 0.2);
}
.radio-group.duration-options .radio-option input:checked + .radio-custom + span {
    color: var(--accent2);
    font-weight: 600;
}
.radio-group.duration-options .radio-option input:checked + .radio-custom {
    border-color: var(--accent1);
    background: var(--accent1);
    animation: gentlePulse 0.6s ease;
}
.radio-group.duration-options .radio-custom {
    margin-right: 0;
    margin-bottom: 4px;
}
.form-group label {
    display: block;
    margin-bottom: 10px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
    flex-shrink: 0;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent1);
    box-shadow: 0 0 0 3px rgba(138, 46, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.form-group small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
}
/* Radio and Checkbox Styling */
.radio-group,
.checkbox-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}
.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px 0;
    transition: all 0.3s ease;
    border-radius: 6px;
}
.radio-option:hover,
.checkbox-option:hover {
    color: var(--accent2);
    background: rgba(255, 255, 255, 0.02);
    transform: translateX(4px);
}
.radio-option input,
.checkbox-option input {
    display: none;
}
.radio-custom,
.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.checkbox-custom {
    border-radius: 4px;
}
.radio-option input:checked + .radio-custom,
.checkbox-option input:checked + .checkbox-custom {
    border-color: var(--accent1);
    background: var(--accent1);
    transform: scale(1.1);
}
.radio-option input:checked + .radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.checkbox-option input:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-buttons-right {
    display: flex;
    gap: 12px;
}
.btn-prev,
.btn-next,
.btn-submit-interest,
.btn-submit-final {
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
    position: relative;
    overflow: hidden;
}
.btn-prev {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-prev:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-2px);
}
.btn-prev:active {
    transform: translateX(0);
}
.btn-next,
.btn-submit-interest,
.btn-submit-final {
    background: linear-gradient(90deg, #a65bff, #00eaff);
    color: var(--bg-dark);
}
.btn-next:hover,
.btn-submit-interest:hover,
.btn-submit-final:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 234, 255, 0.5);
    color: white;
}
.btn-next:active,
.btn-submit-interest:active,
.btn-submit-final:active {
    transform: translateY(0);
}
.btn-next:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: var(--muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
/* Success Message */
.form-success {
    text-align: center;
    padding: 50px 20px;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}
.form-success.show {
    display: block;
    opacity: 1;
    visibility: visible;
    animation: fadeIn 0.6s ease;
}
.success-content {
    background: var(--card-bg);
    border: 1px solid var(--accent1);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 0 30px rgba(138, 46, 255, 0.3);
}
.success-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: bounce 0.6s ease;
}
@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
.success-content h3 {
    font-size: 28px;
    background: linear-gradient(90deg, #a65bff, #00eaff);
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    font-weight: 600;
}
.success-content p {
    color: var(--muted);
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
}
.success-content strong {
    color: var(--accent2);
}
.success-note {
    color: #FFDD00 !important;
    font-size: 18px !important;
    margin-top: 20px !important;
    font-weight: 500;
}
.btn-new-booking {
    margin-top: 25px;
    padding: 14px 32px;
    background: linear-gradient(90deg, #a65bff, #00eaff);
    color: var(--bg-dark);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-new-booking:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 234, 255, 0.5);
    color: white;
}
/* Validation Styles */
.error-message {
    color: #ff6b81;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.form-group input:invalid,
.form-group select:invalid {
    border-color: #ff4757;
}
.form-group input:valid,
.form-group select:valid {
    border-color: rgba(255, 255, 255, 0.15);
}
/* Enhanced Micro-interactions */
@keyframes gentlePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(138, 46, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(138, 46, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(138, 46, 255, 0);
    }
}
.radio-option.large input:checked + .radio-custom {
    animation: gentlePulse 0.6s ease;
}
/* ==========================================================
   CALENDAR ICON FIXES & ENHANCED DATE INPUT STYLING
========================================================== */
/* Fix for date input and calendar icon visibility */
.form-group input[type="date"] {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: white;
    padding: 14px 16px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}
/* Ensure calendar icon is visible in all browsers */
.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2300eaff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px;
    width: 20px;
    height: 20px;
    opacity: 0.8;
    cursor: pointer;
    filter: none;
    display: block !important;
    visibility: visible !important;
}
.form-group input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    transform: scale(1.1);
}
/* Firefox calendar icon fix */
.form-group input[type="date"]::-moz-calendar-picker-indicator {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2300eaff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px;
    width: 20px;
    height: 20px;
    opacity: 0.8;
    cursor: pointer;
    border: none;
    display: block !important;
}
.form-group input[type="date"]::-moz-calendar-picker-indicator:hover {
    opacity: 1;
    transform: scale(1.1);
}
/* Custom calendar icon wrapper for better UX */
.date-input-wrapper {
    position: relative;
    display: block;
    width: 100%;
}
/*.date-input-wrapper::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2300eaff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px;
    pointer-events: none;
    opacity: 0.8;
    z-index: 2;
}*/
/* Make the entire date input clickable */
.form-group input[type="date"] {
    cursor: pointer;
    /* Make space for the icon */
    background: rgba(255, 255, 255, 0.05) !important;
    position: relative;
    z-index: 1;
}
/* Remove default browser styling that might hide the icon */
.form-group input[type="date"]::-webkit-inner-spin-button,
.form-group input[type="date"]::-webkit-clear-button {
    display: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}
/* Focus states for better UX */
.form-group input[type="date"]:focus {
    outline: none;
    border-color: var(--accent1);
    box-shadow: 0 0 0 3px rgba(138, 46, 255, 0.3);
    background: rgba(255, 255, 255, 0.08) !important;
}
/* Hover effect for the entire date input */
.form-group input[type="date"]:hover {
    border-color: var(--accent2);
    background: rgba(255, 255, 255, 0.08) !important;
}
/* Custom calendar dropdown styling */
.form-group input[type="date"]::-webkit-datetime-edit {
    color: white;
    padding: 0;
}
.form-group input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    background: transparent;
}
.form-group input[type="date"]::-webkit-datetime-edit-text {
    color: var(--accent2);
    padding: 0 4px;
}
.form-group input[type="date"]::-webkit-datetime-edit-month-field,
.form-group input[type="date"]::-webkit-datetime-edit-day-field,
.form-group input[type="date"]::-webkit-datetime-edit-year-field {
    color: white;
}
.form-group input[type="date"]::-webkit-inner-spin-button {
    display: none;
}
/* Fallback for browsers that don't support custom calendar icons */
.form-group input[type="date"]:not(:-webkit-calendar-picker-indicator) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2300eaff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    padding-right: 50px !important;
}
/* Enhanced mobile experience */
@media (max-width: 768px) {
    .form-group input[type="date"] {
        padding: 12px 14px;
        padding-right: 45px !important;
        font-size: 16px;
        /* Prevent zoom on iOS */
    }
    .date-input-wrapper::after {
        right: 14px;
        width: 18px;
        height: 18px;
        background-size: 16px;
    }
}
/* Ensure the calendar picker is visible when opened */
.form-group input[type="date"]:focus::-webkit-calendar-picker-indicator {
    opacity: 1;
    transform: scale(1.1);
}
/* Custom focus state for the wrapper */
.date-input-wrapper:focus-within::after {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}
/* Add these styles to your form-styles.css */
.fire-group input:invalid,
.fire-group select:invalid,
.fire-group input:required:empty,
.fire-group select:required:empty {
    border-color: #ff4757 !important;
}
.fire-group input:valid,
.fire-group select:valid {
    border-color: #2ed573 !important;
}
/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .radio-group.duration-options {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .radio-group.duration-options .radio-option {
        padding: 14px 10px;
    }
    .custom-booking-form {
        padding: 10px;
    }
    .form-section {
        padding: 20px;
    }
    .form-section h3 {
        font-size: 20px;
    }
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    .progress-step {
        font-size: 10px;
    }
    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }
    .nav-buttons-right {
        width: 100%;
        justify-content: space-between;
    }
    .btn-prev,
    .btn-next,
    .btn-submit-interest,
    .btn-submit-final {
        flex: 1;
        text-align: center;
    }
}
@media (max-width: 480px) {
    .form-section {
        padding: 16px;
    }
    .purpose-options .radio-option.large {
        padding: 15px;
    }
    .option-content strong {
        font-size: 16px;
    }
    .option-desc {
        font-size: 12px;
    }
    .success-content {
        padding: 25px;
    }
    .success-content h3 {
        font-size: 22px;
    }
    .radio-group.duration-options .radio-option {
        padding: 12px 8px;
        font-size: 14px;
    }
}