/* Simple Dalton Locations CSS */
.simple-dalton-locations-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    font-family: sans-serif;
}

/* Header */
.simple-dalton-header {
    margin-bottom: 30px;
    padding: 0 10px;
}

.simple-dalton-title {
    font-size: 20px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.simple-dalton-subtitle {
    font-size: 36px;
    color: #000;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: bold;
    line-height: 1.2;
}

/* Content area */
.simple-dalton-content {
    display: flex;
    flex-direction: row;
    gap: 30px;
    padding: 0 10px;
}

/* Selectors column */
.simple-dalton-selectors {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

/* City selector */
.simple-dalton-city-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.simple-dalton-city {
    padding: 12px 20px;
    border-radius: 100px;
    background-color: #f5f5f5;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 14px;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.simple-dalton-city.active {
    background-color: #e6f2ff;
    color: #0066cc;
    border-color: #0066cc;
}

.simple-dalton-city:hover:not(.active) {
    background-color: #ebebeb;
}

/* Branch selector */
.simple-dalton-branch-selector {
    display: none;
    flex-direction: column;
    gap: 12px;
}

.simple-dalton-branch-selector.active {
    display: flex;
}

.simple-dalton-branch {
    padding: 16px 20px;
    border-radius: 100px;
    background-color: #f5f5f5;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 15px;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.simple-dalton-branch.active {
    background-color: #e6f2ff;
    color: #0066cc;
    border-color: #0066cc;
}

.simple-dalton-branch:hover:not(.active) {
    background-color: #ebebeb;
}

/* Checkmark style */
.checkmark {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #ccc;
    margin-right: 12px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.checkmark.active {
    background-color: #0066cc;
    border-color: #0066cc;
}

.checkmark.active:after {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.simple-dalton-city:hover:not(.active) .checkmark,
.simple-dalton-branch:hover:not(.active) .checkmark {
    border-color: #999;
}

/* Map container */
.simple-dalton-map-container {
    flex: 0 0 60%;
    min-height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: relative;
}

.simple-dalton-map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
}

/* No branches or map message */
.no-branches, .no-map {
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 10px;
    text-align: center;
    color: #666;
    margin-top: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

/* Responsive styles */
@media screen and (max-width: 767px) {
    .simple-dalton-content {
        flex-direction: column;
    }
    
    .simple-dalton-selectors,
    .simple-dalton-map-container {
        flex: 0 0 100%;
    }
    
    .simple-dalton-city-selector {
        justify-content: center;
    }
    
    .simple-dalton-map-container {
        margin-top: 25px;
        min-height: 350px;
    }
    
    .simple-dalton-map-container iframe {
        min-height: 350px;
    }
    
    .simple-dalton-header {
        text-align: center;
        margin-bottom: 25px;
    }
    
    .simple-dalton-title {
        font-size: 18px;
    }
    
    .simple-dalton-subtitle {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .simple-dalton-city {
        justify-content: center;
        padding: 10px 18px;
    }
    
    .simple-dalton-branch {
        padding: 14px 18px;
    }
    
    /* Add responsive adjustment to branches */
    .simple-dalton-branch-selector {
        padding: 0 5px;
    }
}

/* Specific mobile adjustments for extra small screens */
@media screen and (max-width: 480px) {
    .simple-dalton-city-selector {
        gap: 8px;
    }
    
    .simple-dalton-city {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    .simple-dalton-map-container {
        min-height: 300px;
    }
    
    .simple-dalton-map-container iframe {
        min-height: 300px;
    }
    
    .checkmark {
        width: 16px;
        height: 16px;
        margin-right: 8px;
    }
    
    .checkmark.active:after {
        left: 5px;
        top: 2px;
    }
}