
.location-label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    color: #2c3e50;
    font-size: 16px;
}

.location-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    background-color: var(--text-color);
    border: 2px solid var(--text-secondary);
    border-radius: 8px;
    padding: 5px;
}

.location-btn {
    padding: var(--space-2);
    text-align: center;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 16px;
    color: #495057;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    height: 50px;
}

.location-name{
    text-align: left;
}

.location-btn:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.location-btn.selected {
    background: var(--color-primary);
    color: var(--text-primary);
}


.location-icon {
    font-size: 24px;
}

.selected-locations {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    border: 2px dashed #e9ecef;
}

.selected-locations p {
    margin: 0;
    color: #6c757d;
}

.selected-locations span {
    font-weight: 600;
    color: #4f46e5;
    font-size: 18px;
}

.instructions {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    color: #6c757d;
}

.instructions p {
    margin: 5px 0;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.action-btn {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

.confirm-btn {
    background: #4f46e5;
    color: white;
}

.confirm-btn:hover {
    background: #4338ca;
    transform: translateY(-2px);
}

.reset-btn {
    background: #f8f9fa;
    color: #495057;
    border: 2px solid #e9ecef;
}

.reset-btn:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .location-buttons {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .location-btn {
        font-size: 14px;
    }
    
    .location-icon {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    
    .location-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .action-buttons {
        flex-direction: column;
    }
}

.location-selector-error {
    border: 2px solid red !important;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.3);
}

.location-selector {
    border: 2px solid transparent;
    padding: 0 10px;
    transition: border-color 0.3s ease;
}