/* ========================================
   CUSTOM SAFARI INQUIRY FORM
   ======================================== */

/* Page Layout */
.inquiry-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.inquiry-back-link {
    margin-bottom: 2rem;
}

.inquiry-back-link a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.inquiry-back-link a:hover {
    color: var(--primary);
}

/* ----------------------------------------
   Progress Bar
   ---------------------------------------- */
.inquiry-progress {
    text-align: center;
    margin-bottom: 2rem;
}

.progress-bar {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.inquiry-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.inquiry-subtitle {
    font-size: 1rem;
    color: var(--muted-foreground);
}

/* ----------------------------------------
   Card Container
   ---------------------------------------- */
.inquiry-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 480px) {
    .inquiry-card {
        padding: 1.5rem 1rem;
    }
}

/* ----------------------------------------
   Form Elements
   ---------------------------------------- */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-label-hint {
    font-weight: 400;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: white;
    color: var(--foreground);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22, 101, 52, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--muted-foreground);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-helper {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    margin-top: 0.375rem;
}

/* Date inputs row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------
   Checkbox
   ---------------------------------------- */
.form-checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-checkbox-label {
    font-size: 0.9375rem;
    color: var(--foreground);
    cursor: pointer;
}

/* ----------------------------------------
   Destination Cards
   ---------------------------------------- */
.destination-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.safari-destination-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.destination-card:hover:not(.disabled) {
    border-color: var(--primary);
    background: var(--secondary);
}

.destination-card.selected {
    border-color: var(--primary);
    background: var(--secondary);
}

.destination-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.destination-card input {
    display: none;
}

.destination-name {
    font-weight: 500;
    color: var(--foreground);
}

.destination-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: #f3f4f6;
    color: var(--muted-foreground);
    border-radius: 20px;
}

.destination-check {
    color: var(--primary);
    font-size: 1.25rem;
    display: none;
}

.destination-card.selected .destination-check {
    display: block;
}

.destination-card.selected .destination-badge {
    display: none;
}

/* ----------------------------------------
   Counter Input
   ---------------------------------------- */
.counter-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.counter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.counter-label {
    font-weight: 500;
    color: var(--foreground);
}

.counter-label-hint {
    display: block;
    font-weight: 400;
    font-size: 0.8125rem;
    color: var(--muted-foreground);
}

.counter-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.counter-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--foreground);
}

.counter-btn:hover {
    background: var(--secondary);
    border-color: var(--primary);
}

.counter-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.counter-value {
    font-size: 1.125rem;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

/* ----------------------------------------
   Pill Buttons (Single Select)
   ---------------------------------------- */
.pill-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pill-option {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: 30px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9375rem;
    color: var(--foreground);
}

.pill-option:hover {
    border-color: var(--primary);
}

.pill-option.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.pill-option input {
    display: none;
}

/* ----------------------------------------
   Interest Cards (Multi Select)
   ---------------------------------------- */
.interest-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (max-width: 480px) {
    .interest-grid {
        grid-template-columns: 1fr;
    }
}

.interest-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.interest-card:hover {
    border-color: var(--primary);
    background: var(--secondary);
}

.interest-card.selected {
    border-color: var(--primary);
    background: var(--secondary);
}

.interest-card input {
    display: none;
}

.interest-icon {
    font-size: 1.25rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    border-radius: 6px;
    flex-shrink: 0;
}

.interest-card.selected .interest-icon {
    background: rgba(22, 101, 52, 0.15);
}

.interest-label {
    font-size: 0.9375rem;
    color: var(--foreground);
}

/* ----------------------------------------
   Phone Input
   ---------------------------------------- */
.phone-input-group {
    display: flex;
    gap: 0.5rem;
}

.phone-country {
    width: 110px;
    flex-shrink: 0;
}

.phone-number {
    flex: 1;
}

/* ----------------------------------------
   Toggle Options (Yes/No)
   ---------------------------------------- */
.toggle-options {
    display: flex;
    gap: 0.75rem;
}

.toggle-option {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    font-size: 0.9375rem;
    color: var(--foreground);
}

.toggle-option:hover {
    border-color: var(--primary);
}

.toggle-option.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.toggle-option input {
    display: none;
}

/* ----------------------------------------
   Children Ages (Conditional)
   ---------------------------------------- */
.children-ages {
    margin-top: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    display: none;
}

.children-ages.visible {
    display: block;
}

.children-ages-label {
    font-size: 0.875rem;
    color: var(--foreground);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.children-ages-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.child-age-input {
    width: 80px;
    padding: 0.625rem;
    text-align: center;
}

/* ----------------------------------------
   Warning/Info Box
   ---------------------------------------- */
.form-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.875rem 1rem;
    background: #fef3c7;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #92400e;
    margin-top: 1.5rem;
}

.form-warning-icon {
    flex-shrink: 0;
    font-size: 1rem;
}

/* ----------------------------------------
   Navigation Buttons
   ---------------------------------------- */
.inquiry-nav-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.btn-back,
.btn-next,
.btn-submit {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
    max-width: 200px;
}

.btn-back {
    background: white;
    border: 1px solid var(--border);
    color: var(--foreground);
}

.btn-back:hover {
    background: var(--secondary);
    border-color: var(--primary);
}

.btn-next,
.btn-submit {
    background: var(--primary);
    border: none;
    color: white;
}

.btn-next:hover,
.btn-submit:hover {
    background: var(--accent);
}

@media (max-width: 480px) {
    .inquiry-nav-buttons {
        flex-direction: column-reverse;
    }
    
    .btn-back,
    .btn-next,
    .btn-submit {
        max-width: 100%;
    }
}

/* ----------------------------------------
   Thank You Page
   ---------------------------------------- */
.thankyou-page {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    text-align: center;
}

.thankyou-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.thankyou-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.thankyou-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.thankyou-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
    margin-bottom: 2rem;
}

.thankyou-card-title {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.thankyou-steps {
    list-style: none;
}

.thankyou-steps li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.thankyou-steps li:last-child {
    border-bottom: none;
}

.thankyou-step-number {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.thankyou-step-text {
    font-size: 0.9375rem;
    color: var(--foreground);
}

.thankyou-summary {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.thankyou-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
}

.thankyou-summary-label {
    color: var(--muted-foreground);
}

.thankyou-summary-value {
    color: var(--foreground);
    font-weight: 500;
}

.thankyou-contact {
    color: var(--muted-foreground);
    font-size: 0.9375rem;
}

.thankyou-contact a {
    color: var(--primary);
    text-decoration: none;
}

.thankyou-contact a:hover {
    text-decoration: underline;
}