* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-weight: 500;
    color: #000;
    font-family: 'Manrope', sans-serif;
}

body {
    background-color: #fff;
    @media (min-width: 48em) {
        background-color: #ecedf1;
    }
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
}

button, a {
    white-space: nowrap;
    cursor: pointer;
}

button {
    background: none;
    outline: none;
    border: none;
}

a {
    text-decoration: none;
    text-align: center;
}

.header {
    height: 58px;
    display: flex;
    justify-content: center;
    align-items: center;

    .logo {
        height: 36px;
    }

    @media (min-width: 48em) {
        height: 96px;
        align-items: flex-end;
        padding-bottom: 10px;
    }
}

.header_with-back {
    justify-content: space-between;
    align-items: center;
    padding: 0 30px 0 16px;

    .button__back {
        width: 48px;
        height: 48px;
    }

    @media (min-width: 48em) {
        padding-top: 32px;
    }
}

.content {
    display: flex;
    justify-content: center;
    padding: 0 16px;
    align-items: center;
    flex: 1;

    @media (min-width: 48em) {
        padding: 0;
        height: calc(100vh - 96px);
    }
}

.content__wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 440px;
    width: 440px;

    @media (min-width: 48em) {
        background-color: #FFFFFF;
        padding: 32px;
        border-radius: 12px;
    }
}

.title {
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
}

.description {
    font-size: 14px;
    line-height: 20px;
    margin: 24px 0;
    text-align: center;
}

.accounts__wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 24px;

    @media (min-width: 48em) {
        margin-top: 32px;
    }
}

.button {
    width: 100%;
    background-color: #0CD373;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    border: none;
    border-radius: 4px;
    height: 48px;

    &:disabled {
        background-color: #ECF0F8;
        color: #9B9BA1;
        cursor: default;
    }
}

.account_item {
    display: flex;
    background-color: #ECF0F8;
    color: #9B9BA1;
    padding: 8px;
    border-radius: 8px;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.account_item__wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.account_item__number {
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
    color: #000000;
}

.account_item__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
}

.account_button__logout {
    height: 48px;
    width: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.links__wrapper {
    font-weight: 400;
    margin-top: 16px;
    line-height: 20px;
    font-size: 14px;
    color: #000000;
    text-align: center;

    .link {
        text-decoration: none;
        color: #0CD373;
        white-space: normal;
        font-weight: 500;

        &:hover {
            text-decoration: underline;
        }
    }
}

.new-account_phone {
    width: 100%;
}

.new-account_phone__input {
    color: #000000;
    border-radius: 4px;
    background-color: #EBEDF0;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    height: 48px;
    border: solid 1px #D7D8D9;
    outline: none;
    padding: 14px;
    width: 100%;
}

.label {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #A4A9AF;
    margin: 32px 0 8px;
}

.input__wrapper {
    margin-bottom: 24px;
    width: 100%;
}

.input__error {
    border: solid 1px #E64646;
}

.message__error {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #E64646;
    margin-top: 8px;
    display: none;
}

.center {
    text-align: center;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.confirm__number {
    color: #0CD373;
}

.confirm__code-input {
    display: flex;
    justify-content: center;
    gap: 12px;

    & input {
        width: 44px;
        height: 48px;
        text-align: center;
        font-size: 24px;
        font-weight: 500;
        line-height: 28px;
        border: 1.5px solid #ECF0F8;
        border-radius: 12px;

        &:focus {
            outline: none;
            border: 1px solid #BCC3D2;
        }
    }

    &.error input {
        border: 1px solid #E14453;
    }
}

.confirm__resend {
    color: #0CD373;
    font-size: 14px;
    line-height: 20px;
    margin-top: 24px;
}

.confirm__description {
    color: #0CD373;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    margin-top: 24px;
    height: 48px;
    padding: 14px 0;

    span {
        color: #0CD373;
    }
}

.error__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.base-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    background-color: #12121266;

    .loader {
        width: 80px;
        height: 80px;
        border: 10px solid #BCC3D2;
        border-bottom-color: transparent;
        border-radius: 50%;
        display: inline-block;
        box-sizing: border-box;
        animation: rotation 1s linear infinite;
    }

    @media (max-width: 48em) {
        .loader {
            width: 56px;
            height: 56px;
            border: 3px solid #fff;
            border-bottom-color: transparent;
        }
    }
}

.footer {
    height: 88px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    flex: 0;

    a {
        height: 40px;
    }

    p {
        color: #9B9BA1;
    }
}

.popup {
    position: absolute;
    background: #00000080;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    z-index: 10;
    padding: 16px;
    max-width:100%;

    

    .popup__wrapper {
        background: #FFFFFF;
        border-radius: 12px;
        padding: 64px 32px 48px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        max-width: 350px;
        width: 100%;
        text-align: center;
        position: relative;
        gap: 32px;
        margin: 0 auto;
    }

    .popup__close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 24px;
        height: 24px;
    }

    .popup__title {
        font-size: 18px;
        line-height: 24px;
        font-weight: 600;
    }

    .popup__description {
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
    }

    .popup__link {
        width: 100%;
        height: 48px;
        background-color: #0CD373;
        font-size: 14px;
        line-height: 20px;
        color: #FFFFFF;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 4px;
    }
    
    .popup__btn {
        width: 100%;
        height: 48px;
        background-color: #0CD373;
        font-size: 14px;
        line-height: 20px;
        color: #FFFFFF;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 4px;

        &:last-of-type {
            background-color: #F5F5F5;
            color: #000000;
        }
    }
}

.active {
    display: flex;
}

.displayNone {
    display: none !important;
}

#icdeliveryPhoneStage,
#icdeliveryOtpStage {
    gap: 24px;
}

#icdeliveryPhoneStage > .title,
#icdeliveryPhoneStage > .label,
#icdeliveryOtpStage > .title,
#icdeliveryOtpStage > .description {
    margin: 0;
}

#icdeliveryPhoneStage #authPhone {
    width: 100%;
    margin: 0;
}

#icdeliveryPhoneStage .input__wrapper,
#icdeliveryOtpStage .input__wrapper {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#icdeliveryPhoneStage .message__error,
#icdeliveryOtpStage .message__error {
    margin-top: 0;
}

#icdeliveryPhoneStage .links__wrapper {
    margin-top: 0;
}

#icdeliveryOtpStage .confirm__resend,
#icdeliveryOtpStage .confirm__description {
    margin-top: 0;
}

#icdeliveryOtpStage .confirm__code-input {
    margin-bottom: 0 !important;
}

@font-face {
    font-family: 'Manrope';
    src: url('../assets/fonts/Manrope-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../assets/fonts/Manrope-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../assets/fonts/Manrope-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

