@charset "UTF-8";

.zip-routing-modal {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 20px;
    width: 300px;
    max-width: 90%;
    box-sizing: border-box;
    position: relative;
    margin: auto;
}

.zip-routing-modal::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

.zip-routing-modal__close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.zip-routing-modal__logo {
    display: block;
    margin: 0 auto 15px auto;
    width: 140px;
    height: auto;
}

.zip-routing-modal__text {
    font-size: 14px;
    color: #333;
    text-align: center;
    line-height: 1.4;
    margin: 0 0 5px 0;
    font-weight: bold;
}

.zip-routing-modal__error {
    color: #e53935;
    font-size: 12px;
    text-align: center;
    min-height: 18px;
    margin-bottom: 10px;
}

.zip-routing-modal__form {
    margin-bottom: 20px;
}

.zip-routing-modal__input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.zip-routing-modal__symbol {
    position: absolute;
    left: 10px;
    color: #333;
    font-size: 16px;
    pointer-events: none;
}

#zipRoutingZipcode {
    width: 100%;
    padding: 10px 10px 10px 30px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.zip-routing-modal__button {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    box-sizing: border-box;
    font-weight: bold;
    transition: all 0.2s ease;
}

.zip-routing-modal__button--gray {
    background-color: #e0e0e0;
    color: #333;
    border: none;
    outline: none;
}

.zip-routing-modal__button--active {
    background-color: #e53935;
    color: #fff;
    border: 2px solid #fff;
    outline: 4px solid #e53935;
}

.zip-routing-modal__button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html.zip-routing-modal-open {
    overflow: hidden;
}