.location-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.location-modal.is-open {
    display: flex;
}

.location-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.location-modal__container {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 40px 32px 32px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: locationModalFadeIn 0.25s ease-out;
}

@keyframes locationModalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.location-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #172549;
    padding: 4px 8px;
    transition: opacity 0.2s;
}

.location-modal__close:hover {
    opacity: 0.6;
}

.location-modal__title {
    font-size: 24px;
    font-weight: 700;
    color: #172549;
    margin: 0 0 12px;
}

.location-modal__description {
    font-size: 15px;
    line-height: 1.5;
    color: #4a5568;
    margin: 0 0 28px;
}

.location-modal__field {
    margin-bottom: 20px;
}

.location-modal__field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #172549;
    margin-bottom: 6px;
}

.location-modal__field input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    color: #172549;
}

.location-modal__field input:focus {
    border-color: #3956A3;
    box-shadow: 0 0 0 3px rgba(57, 86, 163, 0.15);
}

.location-modal__field input::placeholder {
    color: #9ca3af;
}

.location-modal__submit {
    display: block;
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: #F03337;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

.location-modal__submit:hover {
    background: #C90F13;
}

.location-modal__submit-loading {
    display: none;
}

.location-modal__submit.is-loading .location-modal__submit-text {
    display: none;
}

.location-modal__submit.is-loading .location-modal__submit-loading {
    display: inline;
}

.location-modal__submit.is-loading {
    opacity: 0.7;
    cursor: wait;
}

.location-modal__error {
    display: none;
    color: #C90F13;
    font-size: 14px;
    margin: 12px 0 0;
    text-align: center;
}

body.location-modal-open {
    overflow: hidden;
}
