/* ============================================
   Prakrit Journey Form CSS
   Green + Cream Nature Theme
   ============================================ */

/* Main Container Background */
.journey-form-wrap {
    background-color: #f5f0e8; /* Warm cream background */
    padding: 40px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Header Typography */
.journey-main-title {
    color: #2d5a27;
    font-weight: 700;
    font-size: 2.2rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}

.journey-main-title::before,
.journey-main-title::after {
    content: "🌿";
    font-size: 1.5rem;
    margin: 0 15px;
    color: #5a9e4b;
}

.journey-subtitle {
    color: #5a5a5a;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Card Styling */
.journey-card {
    background-color: transparent !important;
    box-shadow: none !important;
}

.journey-card .card-body {
    background-color: transparent;
}

/* Form Sections */
.form-section {
    background-color: #ffffff;
    border: 1px solid #c8dcc0;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.bottom-panel {
    background-color: #eef5ec;
    border: none;
}

.border-right-divider {
    border-right: 1px solid #c8dcc0;
}

.section-number-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2d5a27;
    margin-bottom: 20px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.section-number {
    margin-right: 8px;
    color: #3d8b2f;
}

.text-olive {
    color: #3d8b2f; /* Green for icons */
}

/* Form Inputs */
.prakrit-journey-form .form-label {
    font-weight: 600;
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 6px;
}

.prakrit-journey-form .form-control {
    border: 1px solid #c8dcc0;
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 0.9rem;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.prakrit-journey-form .form-control:focus {
    border-color: #3d8b2f;
    box-shadow: 0 0 0 0.2rem rgba(61, 139, 47, 0.15);
    outline: none;
}

.prakrit-journey-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* International Telephone Input overrides */
.prakrit-journey-form .iti {
    width: 100%;
    display: block;
}

.prakrit-journey-form .iti__tel-input {
    width: 100%;
    border: 1px solid #c8dcc0;
    border-radius: 6px;
    padding: 10px 15px 10px 90px;
    font-size: 0.9rem;
}

/* Grid Layout for Checkbox Cards (Section 2) */
.checkbox-options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.checkbox-option-card {
    display: block;
    position: relative;
    cursor: pointer;
    margin: 0;
    height: 100%;
}

.checkbox-option-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px 10px;
    background-color: #ffffff;
    border: 1px solid #c8dcc0;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #444;
    transition: all 0.2s ease;
    height: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.checkbox-option-card:hover .checkbox-option-content {
    border-color: #3d8b2f;
    background-color: #f5faf3;
}

/* Selected State for Cards */
.checkbox-option-card input:checked ~ .checkbox-option-content {
    border-color: #3d8b2f;
    background-color: #e8f5e4;
    color: #2d5a27;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(61, 139, 47, 0.1);
}

.checkbox-icon {
    font-size: 1.5rem;
    color: #3d8b2f;
    margin-bottom: 8px;
    display: block;
}

.checkbox-option-card input:checked ~ .checkbox-option-content .checkbox-icon {
    color: #2d5a27;
}


/* Simple Checkbox/Radio styling for Sections 3-9 */
.simple-options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px; /* row-gap, col-gap */
}

.simple-options-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Specific overrides for certain grids */
.stay-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px 10px;
}
.budget-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px 10px;
}

.simple-option-item {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: #444;
    margin: 0;
}

/* Make radio buttons look like square checkboxes */
.simple-option-item input[type="radio"],
.simple-option-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #8cc480;
    border-radius: 2px;
    margin-right: 8px;
    position: relative;
    cursor: pointer;
    background-color: #ffffff;
    flex-shrink: 0;
    outline: none;
}

.simple-option-item input[type="radio"]:checked,
.simple-option-item input[type="checkbox"]:checked {
    background-color: #e8f5e4;
    border-color: #3d8b2f;
}

.simple-option-item input[type="radio"]:checked::after,
.simple-option-item input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: #3d8b2f; /* Green checkmark */
    font-size: 12px;
    font-weight: bold;
}

/* Consent Checkbox */
.consent-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #555;
}

.consent-checkbox input {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #8cc480;
    border-radius: 2px;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
    background-color: #ffffff;
    flex-shrink: 0;
}

.consent-checkbox input:checked::after {
    content: '✓';
    position: absolute;
    top: -1px;
    left: 3px;
    color: #3d8b2f;
    font-size: 14px;
    font-weight: bold;
}

/* Submit Button */
.journey-submit-btn {
    background-color: #3d8b2f; /* Green button */
    color: white;
    border: none;
    padding: 12px 35px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(61, 139, 47, 0.3);
}

.journey-submit-btn:hover {
    background-color: #2d6b22;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(61, 139, 47, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .form-section.h-100 {
        height: auto !important;
    }
    .border-right-divider {
        border-right: none;
        border-bottom: 1px solid #c8dcc0;
        padding-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .journey-main-title {
        font-size: 1.6rem;
    }
    
    .checkbox-options-grid,
    .stay-grid,
    .budget-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
