.location-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.location-modal.modal-show {
    opacity: 1;
}

.location-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.location-modal-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 16px 16px 0 0;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.location-modal.modal-show .location-modal-content {
    transform: translateY(0);
}

.location-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location-modal-header h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.location-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-modal-body {
    padding: 20px;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.location-modal-search {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 16px;
}

.location-modal-search:focus {
    outline: none;
    border-color: #7d1918;
    box-shadow: 0 0 0 3px rgba(125, 25, 24, 0.1);
}

.location-modal-results {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-location-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.modal-location-item:hover {
    background: #f8f9fa;
}

.modal-location-item:last-child {
    border-bottom: none;
}

.modal-location-icon {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-location-icon img {
    width: 24px;
    height: 24px;
}

.modal-location-info {
    flex: 1;
}

.modal-location-title {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.modal-location-address {
    margin: 0;
    font-size: 14px;
    color: #666;
}