.scheduler-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Adjust column ratio as needed */
    gap: 30px;
    margin-top: 30px;
}

.scheduler-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.scheduler-card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 800;
}
.scheduler-card h4 {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--muted);
}

/* --- Timezone Selection --- */
.search-wrapper { position: relative; } /* For autocomplete positioning */
.autocomplete-results { /* Uses styles from style.css */ }
.selected-zones-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 250px; /* Limit height */
    overflow-y: auto;
}
.selected-zone-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}
.selected-zone-item:last-child { border-bottom: none; }
.selected-zone-item span { font-weight: 700; }


.remove-zone-btn {
    background-color: var(--card);
    color: var(--fg);
    border: 1px solid var(--border);
    border-radius: 999px; /* This creates the pill shape */
    padding: 8px 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Hover state for the buttons */
.remove-zone-btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff; /* Makes the text white for better contrast */
}

/* --- Time Input --- */
.time-input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}
.input-row { display: flex; flex-direction: column; }
.input-row label { font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 5px; }
.input-row input[type="date"],
.input-row input[type="time"],
.styled-select {
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--chip);
    color: var(--fg);
    border: 1px solid var(--border);
    font-size: 16px;
    font-family: inherit;
}

.input-row input[type="date"]:focus { outline: none; border-color: var(--accent-color); }
  


    
.input-row input[type="time"]:focus { outline: none; border-color: var(--accent-color); }


.styled-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23a9a9b3' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; padding-right: 35px; }

/* --- Results --- */
.results-container {
    margin-top: 20px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}
.result-item {
    display: grid;
    grid-template-columns: 1fr auto auto; /* Zone name, Time, Day Indicator */
    gap: 15px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--chip);
}
.result-item:last-child { border-bottom: none; }
.result-item .zone-name { font-weight: 700; font-size: 16px; }
.result-item .zone-time { font-size: 20px; font-weight: 800; color: var(--accent-color); font-variant-numeric: tabular-nums; text-align: right; }
.result-item .day-indicator { font-size: 12px; font-weight: 700; color: var(--muted); text-align: right; min-width: 100px; }

/* Responsive adjustments */
@media (max-width: 800px) {
    .scheduler-grid {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
    }
}

/* --- Meeting Map Styles --- */
.meeting-map-container {
    margin-top: 30px;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

#meetingMap {
    height: 300px; /* Adjust height as needed */
    width: 100%;
    background-color: var(--card);
}

.leaflet-touch .leaflet-control-attribution {
	display: none;
}

.leaflet-control-layers {
	display: none;
}

.leaflet-touch .leaflet-bar a:last-child {
    display: none;
}

.leaflet-touch .leaflet-bar a {
    display: none;
}

/* --- Pulsing Dot Marker (Copy from map-style.css or style.css if not already global) --- */
@keyframes pulse-dot {
    0% { transform: scale(0.8); opacity: 1; }
    70% { transform: scale(2.5); opacity: 0; }
    100% { transform: scale(0.8); opacity: 0; }
}
.pulsing-dot-marker { position: relative; width: 18px; height: 18px; }
.pulsing-dot-marker::before, .pulsing-dot-marker::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; background-color: var(--accent-color); }
.pulsing-dot-marker::before { z-index: 2; }
.pulsing-dot-marker::after { z-index: 1; animation: pulse-dot 1.5s infinite cubic-bezier(0.215, 0.610, 0.355, 1); }
