﻿


.toggle-btn-active {
    background-color: #2563eb;
    color: white;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}



#map {
    height: 100%;
    min-height: 400px;
    z-index: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
}

.input-field {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    transition: all 0.2s ease-in-out;
}

    .input-field:focus {
        outline: 2px solid transparent;
        outline-offset: 2px;
        box-shadow: 0 0 0 2px #3b82f6;
        border-color: #3b82f6;
    }

/* Accordion styles */
.accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden; /* To contain content-hidden transitions */
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: #f3f4f6;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    transition: background-color 0.3s ease;
}

    .accordion-header:hover {
        background-color: #e5e7eb;
    }

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
    padding: 0 1.5rem; /* Only top/bottom padding when expanded */
}

.accordion-item.active .accordion-content {
    /* CORRECTED: Changed from 100% to a large fixed value */
    max-height: 3000px;
    padding: 1.5rem; /* Restore padding on all sides when active */
}

/* Standard Checkbox Group styles */
.standard-checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive columns */
    gap: 0.75rem; /* gap-3 */
    padding: 0.5rem; /* p-2 */
    border: 1px solid #e5e7eb; /* border border-gray-200 */
    border-radius: 0.5rem; /* rounded-lg */
    background-color: #f8fafb; /* Light background for grouping */
}

    .standard-checkbox-group label {
        display: inline-flex;
        align-items: center;
        color: #374151;
        font-weight: 500;
        cursor: pointer;
    }

    .standard-checkbox-group input[type="checkbox"] {
        margin-right: 0.5rem;
        flex-shrink: 0;
        height: 1.25rem;
        width: 1.25rem;
        color: #2563eb;
        border-color: #d1d5db;
        border-radius: 0.25rem;
        --tw-ring-color: #3b82f6;
    }

        .standard-checkbox-group input[type="checkbox"]:focus {
            outline: 2px solid transparent;
            outline-offset: 2px;
            box-shadow: 0 0 0 2px var(--tw-ring-color);
        }

/* Custom Checkbox/Radio Button Styles (interactive tiles/cards) */
.custom-option-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    background-color: #ffffff;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    cursor: pointer;
    user-select: none;
    text-align: center;
    min-height: 80px; /* Ensure consistent height for visual appeal */
}

    .custom-option-tile:hover {
        background-color: #eff6ff;
        border-color: #60a5fa;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
    }

    .custom-option-tile.checked { /* For checkboxes and radios when selected */
        background-color: #e0f2fe; /* Light blue */
        border-color: #2563eb; /* Blue border */
        color: #1e40af; /* Darker blue text */
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3); /* Blue glow */
    }

    .custom-option-tile i { /* Icon inside custom tiles */
        font-size: 2rem;
        color: #2563eb;
        margin-bottom: 0.5rem;
    }

    .custom-option-tile p {
        font-weight: 700;
    }

/* Progress Tracker Styles */
.progress-tracker {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #e0f2fe;
    border-radius: 0.5rem;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    font-weight: 600;
    color: #1e40af;
}

.progress-step-indicator {
    flex-grow: 1;
    height: 8px;
    background-color: #bfdbfe; /* Light blue */
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.progress-step-fill {
    height: 100%;
    background-color: #2563eb; /* Darker blue */
    width: 0%;
    border-radius: 4px;
    transition: width 0.5s ease-in-out;
}

.progress-text {
    margin-left: 1rem;
    flex-shrink: 0;
}

/* Login Prompt style */
.login-register-prompt {
    text-align: center;
    padding: 2rem;
    border: 2px dashed #93c5fd;
    border-radius: 1rem;
    background-color: #eff6ff;
}

.content-hidden {
    display: none !important;
}
