#map {
    height: 100%;
    width: 100%;
    min-height: 500px;
}

.cisce_find_card {
    background: hsl(40, 18%, 97%);
    padding: 40px;
    border-radius: 10px;
    margin: 40px;
}

.cisce_find_card_title {
    font-weight: 600 !important;
    font-size: 36px !important;
}

p {
    font-size: 14px;
}

.school-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 1rem;
    padding: 1rem;
    position: relative;
}

.badge-custom {
    font-size: 0.75rem;
    padding: 0.35em 0.75em;
    border-radius: 12px;
    font-weight: 600;
}

.badge-outline-red {
    color: #f44336;
    border: 1px solid #f44336;
    background-color: transparent;
}

.badge-outline-blue {
    color: #008bbf;
    border: 1px solid #008bbf;
    background-color: transparent;
}

.badge-outline-green {
    color: #2e7d32;
    border: 1px solid #2e7d32;
    background-color: #e8f5e9;
}

.visit-btn {
    white-space: nowrap;
    /* background-color: #008bbf; */
    background-color: #1a73e8;
    border-color: #008bbf;
    color: #fff !important;
    text-decoration: none !important;
}

.visit-btn:hover {
    /* background-color: #0077a1; */
    background-color: #1259b0;
    /* border-color: #0077a1; */
    border-color: #1259b0;
    text-decoration: none !important;
}

.school-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

iframe.map {
    border: none;
    width: 100%;
    height: 600px;
    border-radius: 10px;
}

.scrollable-list {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
}

.top-right-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.contact-email {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 767.98px) {
    .top-right-badges {
        position: static;
        margin-bottom: 0.5rem;
    }
}

body {
    font-family: "Inter", "Poppins", sans-serif !important;
    background: #f5f8ff !important;
    color: #1a1a1a !important;
}

#locate_school select {
    background: #fff !important;
    border: 1px solid #d7e3ff !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #2c3e50 !important;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.05) !important;
}

#locate_school select:focus {
    border-color: #1a73e8 !important;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2) !important;
    outline: none !important;
}

#map {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e3ecff !important;
}

.school-card {
    background: #fff !important;
    border-radius: 16px !important;
    padding: 20px !important;
    margin-bottom: 16px !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid #e3ecff !important;
}

.school-card h6 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f2b58 !important;
}

.school-card p {
    margin: 4px 0 !important;
    color: #4a5568 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.badge {
    padding: 4px 10px !important;
    display: inline-block !important;
    margin-right: 6px !important;
}

.badge-outline-blue {
    background: #e8f0ff !important;
    color: #1a73e8 !important;
}

.badge-outline-red {
    background: #ffe8e8 !important;
    color: #c53030 !important;
}

.visit-btn {
    background: #1a73e8;
    color: white !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    border: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: 0.2s !important;
}

.visit-btn:hover {
    background: #1259b0;
}

.scrollable-list::-webkit-scrollbar {
    width: 6px;
}

.scrollable-list::-webkit-scrollbar-thumb {
    background: #cce0ff;
    border-radius: 20px;
}

.scrollable-list::-webkit-scrollbar-track {
    background: #f5f8ff;
}

.scrollable-list {
    max-height: 650px;
    overflow-y: auto;
    padding-right: 10px;
}

.locate-section {
    padding: 20px 40px;
}

.locate-title {
    font-size: 28px;
    font-weight: 700;
    color: #0f2b58;
    margin-bottom: 20px;
}

.locate-filter-row {
    display: flex;
    gap: 30px;
    flex-wrap: nowrap;
    background: #f5f8ff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e3ecff;
    margin-bottom: 20px;
}

.filter-item {
    display: flex;
    align-items: center;
}

.locate-filter-row select {
    background: #fff;
    border: 1px solid #d7e3ff;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 500;
    min-width: 200px;
    /* same width across all dropdowns */
    color: #4a5568;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.locate-filter-row select:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
    outline: none;
}

#submit {
    background: #1a73e8;
    color: #fff !important;
    padding: 5px 20px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.2s;
}

#submit:hover {
    background: #1259b0;
}

#clear-filters {
    align-self: center;
    font-weight: 600;
    font-size: 14px;
    /* color: #0f2b58 !important; */
    cursor: pointer;
    color: #fff !important;
    white-space: nowrap;
}

#clear-filters:hover {
    text-decoration: none !important;
    white-space: nowrap;
}


@media (max-width: 767px) {
    .locate-filter-row {
        flex-wrap: wrap;
        gap: 12px;
    }

    .filter-item {
        width: 100%;
        justify-content: center !important;
        text-align: center;
    }

    .locate-filter-row select,
    #clear-filters,
    #submit {
        width: 100%;
        text-align: center !important;
    }
}

@media (min-width: 768px) and (max-width: 10123px) {
    .locate-filter-row {
        flex-wrap: wrap;
    }

    .filter-item {
        width: auto;
        text-align: center;
    }
}

@media (min-width: 10124px) {
    .locate-filter-row {
        flex-wrap: nowrap;
    }
}
