* {
    box-sizing: border-box;
}
html,
body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}
.mapp-logo {
    display: none !important;
}
.map-overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    right: 0;
    top: 0;
    backdrop-filter: blur(1.5px);
    background-color: #00000073;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
}
.map-container {
    top: 50%;
    transform: translateY(-50%);
    position: relative;
    max-width: 766px;
    max-height: 628px;
    height: 100%;
    margin-inline: auto;
    border-radius: 20px;
    overflow: hidden;
}
.submit-address {
    position: absolute;
    bottom: 44px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 327px;
    height: 48px;
    background-color: var(--toranj-primary-color);
    color: #ffffff;
    border: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    margin-inline: auto;
    cursor: pointer;
    z-index: 2;
}
#map {
    height: 568px;
    z-index: 1;
}
.map-form-overlay {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: #00000073;
    z-index: 3;
    top: 0;
    overflow-y: auto;
}
.address-form {
    width: 766px;
    height: 628px;
    border-radius: 20px;
    background-color: #ffffff;
    margin-block: 24px;
    overflow: auto;
}
.address-form-header {
    display: flex;
    justify-content: flex-end;
    text-align: left;
    background-color: #f6f6f6;
    padding: 13px 0 13px 20px;
}
.address-close-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 34px;
    height: 34px;
    border-radius: 4px;
    background-color: #d9d9d9;
    border: none;
    cursor: pointer;
}
.map-header {
    display: flex;
    justify-content: flex-end;
    text-align: left;
    background-color: #f6f6f6;
    padding: 13px 0 13px 20px;
}
.map-close-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 34px;
    height: 34px;
    border-radius: 4px;
    background-color: #d9d9d9;
    border: none;
    cursor: pointer;
}
.address-user-info-container {
    padding-inline: 24px;
    padding-bottom: 44px;
}
.address-form-input {
    width: 441px;
    margin-inline: auto;
}

.address-form-input label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #4c4c4c;
    margin-top: 24px;
}
.address-form-input :is(input, textarea) {
    box-sizing: border-box;
    width: 100%;
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #4c4c4c;
    border-radius: 10px;
    padding-block: 10px 15px;
    padding-right: 16px;
    margin-top: 16px;
    border: 2px solid #909090;
    outline: none;
    resize: none;
    font-family: inherit;
}
.address-form-action {
    width: fit-content;
    margin-inline: auto;
    margin-top: 30px;
}
.submit-form-address {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--toranj-primary-color);
    color: #ffffff;
    border: none;
    font-weight: 600;
    border-radius: 12px;
    margin-inline: auto;
    z-index: 3;
    width: 333px;
    height: 44px;
    font-size: 16px;
    gap: 5px;
    cursor: pointer;
    margin-bottom: 24px;
}
.address-form-action .change-address-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 333px;
    height: 44px;
    font-size: 16px;
    font-weight: 600;
    gap: 5px;
    border-radius: 12px;
    background-color: transparent;
    cursor: pointer;
}
@media screen and (max-width: 814px) {
    .address-form {
        margin-inline: 24px;
    }
}
@media screen and (max-width: 640px) {
}
@media screen and (max-width: 539px) {
    .address-form {
        width: 100%;
        height: 100%;
        margin-inline: 0;
        background-color: #f4f4f4;
    }
    .address-form-input {
        width: 100%;
        margin-inline: auto;
        background-color: transparent;
    }
    .address-form-header {
        display: none;
    }
    .address-form {
        border-radius: 0;
        height: 100vh;
    }
    .address-user-info-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        height: 100%;
        padding-bottom: 0;
    }
    .address-form-input label {
        font-size: 14px;
    }
    .address-form-input :is(input, textarea) {
        font-size: 14px;
    }
    .address-form-action {
        width: 100%;
        padding-bottom: 58px;
    }
    .address-form-action .change-address-btn {
        width: 100%;
    }
    .submit-form-address {
        width: 100%;
    }
}
@media screen and (max-width: 512px) {
    .map-container {
        position: relative;
        padding-inline: 0;
        margin-top: 0;
        padding-bottom: 0;
    }
    .map-container {
        height: 100%;
        max-height: 100%;
        width: 100%;
        border-radius: 0;
    }
    #map {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    .submit-address {
        width: 327px;
        height: 48px;
        bottom: 38px;
    }
    .mapp-container .item-set.vertical:not(.reverse) > .margined-small {
        margin-bottom: 10.5rem;
        margin-right: 0.5rem;
    }
    .address-form {
        margin-block: 0;
    }
}
@media screen and (max-height: 630px) {
    .address-form {
        width: auto;
        position: fixed;
        inset: 24px;
    }
}
