.otp-page-base {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    background: linear-gradient(to bottom, #D4F9F9, #FFFFFF);
    padding: 0 1rem;
    max-width: 100vw;
    text-align: center;
    overflow-x: hidden;
    box-sizing: border-box;
    height: 100vh;
}

.otp-page {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 2rem;
}

.otp-page-back {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 2rem;
}

.otp-page-back p {
    color: #000;
}

.otp-page-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: start;
}

.otp-page-header h6 {
    font-size: 2rem;
    color: #0F343D;
}

.otp-page-header p {
    color: #6D6D6D;
    margin-bottom: 1rem;
}

.otp-page-button {
    margin-top: 1.3rem;
    margin-bottom: 1.5rem;
    align-items: start;
    width: 100%;
}

.otp-container {
    padding: 2rem;
    max-width: 100%;
    gap: 2rem;
    margin: 0 auto;
    background-color: #FFF0F0;
}

.otp-page-auth {
    display: flex;
    /* gap: 0.5rem; */
    width: 100%;
    align-items: baseline;
    justify-content: end;
    margin-top: 1rem;
    margin-left: auto;
}

.otp-page-auth-text {
    font-family: 'DMSans';
    font-size: 0.8rem;
    color: #454545;
}

.otp-page-auth-resend {
    border: 0px;
    cursor: pointer;
    background-color: transparent;
    color: #1FBBC3;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0px;
    margin: 0px;
}

.otp-page-auth-resend:hover {
    text-decoration: underline;
}

/* Mobile - 767px and below */
@media (max-width: 767px) {
    .otp-page-base {
        padding: 0;
        height: auto;
        min-height: 100vh;
    }

    .otp-page {
        max-width: 100%;
        width: 100%;
        padding: 0 1rem;
    }

    .otp-page-back {
        margin-bottom: 1.5rem;
        gap: 0.5rem;
    }

    .otp-page-back p {
        font-size: 0.95rem;
    }

    .otp-page-header {
        gap: 0.8rem;
    }

    .otp-page-header h6 {
        font-size: 1.8rem;
        text-align: start;
    }

    .otp-page-header p {
        font-size: 0.95rem;
        text-align: start;
        margin-bottom: 0.8rem;
    }

    .otp-page-button {
        margin-top: 1rem;
        margin-bottom: 1.2rem;
    }

    .otp-page-auth {
        gap: 0.3rem;
    }

    .otp-page-auth-text {
        font-size: 0.85rem;
    }

    .otp-page-auth-resend {
        font-size: 0.85rem;
    }
}

/* Mobile Small - 479px and below */
@media (max-width: 479px) {
    .otp-page {
        padding: 0 0.8rem;
    }

    .otp-page-back {
        margin-bottom: 1.2rem;
    }

    .otp-page-back p {
        font-size: 0.9rem;
    }

    .otp-page-header h6 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .otp-page-header p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .otp-page-button {
        margin-top: 0.8rem;
        margin-bottom: 1rem;
    }

    .otp-page-auth-text {
        font-size: 0.8rem;
    }

    .otp-page-auth-resend {
        font-size: 0.8rem;
    }
}

/* Extra Small Mobile - 320px and below */
@media (max-width: 320px) {
    .otp-page {
        padding: 0 0.5rem;
    }

    .otp-page-header h6 {
        font-size: 1.5rem;
    }

    .otp-page-header p {
        font-size: 0.85rem;
    }

    .otp-page-auth-text {
        font-size: 0.75rem;
    }

    .otp-page-auth-resend {
        font-size: 0.75rem;
    }
}