/* Location Picker Styles */
.location-picker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.location-picker-overlay.active {
    display: flex;
}

.location-picker-container {
    width: 90%;
    max-width: 700px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.location-picker-header {
    padding: 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location-picker-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.location-map {
    height: 50vh;
    width: 100%;
    position: relative;
}

.location-picker-footer {
    padding: 15px;
    border-top: 1px solid #dee2e6;
}

.location-address {
    display: flex;
    margin-bottom: 15px;
    gap: 10px;
}

.location-address input {
    flex: 1;
}

.location-actions {
    display: flex;
    justify-content: flex-end;
}

/* Button States */
.btn-location.location-set {
    background-color: #28a745;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .location-picker-container {
        width: 95%;
    }
    
    .location-map {
        height: 40vh;
    }
}