.login-container {
    height: 100vh;
    width: 100vw;
    background-image: url("/images/bg_login.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 50px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    height: 100%;
}

.content-left h1 {
    color: #ffffff;
    font-size: 64px;
}

.content-left p {
    color: #ffffff;
    font-size: 32px;
    font-family: "Gotham-Light";
    margin-top: 30px;
}

.content-right .card {
    background-color: #ffffff;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
}

.card .back {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    font-size: 16px;
    color: #262626;
}

.card img {
    width: auto;
    height: 30px;
}

.card h3 {
    margin-top: 30px;
    color: #000000;
    font-size: 36px;
}

.card p {
    margin-top: 10px;
    color: #262626;
    font-size: 24px;
}

.card .p-pin {
    margin-top: 15px;
    color: #262626;
    font-size: 20px;
    line-height: 150%;
}

.card .card2-p {
    font-size: 20px;
    margin-top: 10px;
    color: #262626;
}

.card label {
    color: #262626;
    font-size: 16px;
    margin-top: 50px;
    font-family: "Gotham-Bold";
}

.card .box-input {
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    padding: 10px;
    width: 100%;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 50px 0px 20px;
}

.box-input .seri {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 15%;
}

.seri img {
    height: 8px;
    cursor: pointer;
    width: auto;
}

.seri {
    font-size: 24px;
    color: #262626;
    font-weight: 600;
    font-family: "Medium" !important;
}

.card {
    position: relative;
}

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

.seri {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.country-list {
    position: absolute;
    left: 100px !important;
    top: 0;
    width: 50% !important;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, opacity 0.15s ease;
    z-index: 9999;
    opacity: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: -10px;
}

.country-list.show {
    max-height: 320px;
    overflow-y: auto;
    opacity: 1;
}

.country-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f1f1f1;
    white-space: nowrap;
}
.country-item:last-child {
    border-bottom: none;
}

.country-item:hover {
    background: #fafafa;
}

.country-list::-webkit-scrollbar {
    width: 5px;
}
.country-list::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.2);
}

.box-input input {
    border: 0;
    outline: none;
    width: 100%;
    padding: 10px 0px;
    font-size: 20px;
    color: #262626;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.box-input input::placeholder {
    color: #e2e2e2;
}

.card .box-otp {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    gap: 50px;
    margin-top: 30px;
}

.otp-btn {
    cursor: pointer;
    pointer-events: auto;
}

.otp-error-message {
    color: #ff3b30;
    font-size: 16px;
    text-align: start;
    margin: 20px 0px;
    display: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-next {
    pointer-events: none;
    opacity: 0.5;
}

.btn-next.enabled {
    pointer-events: auto;
    opacity: 1;
}

.box-otp button {
    padding: 15px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #ffffff;
    border-radius: 30px;
    border: none;
    font-size: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    color: #262626;
    width: 100%;
    justify-content: center;
    transition: 0.3s;
}

.box-otp button img {
    height: 30px;
    width: auto;
    transition: 0.3s;
}

.otp-btn:hover {
    background-color: #ff7a00 !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(255, 122, 0, 0.5) !important;
}

.otp-btn:hover img {
    filter: brightness(100);
}

.otp-btn.active {
    background-color: #ff7a00 !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(255, 122, 0, 0.5) !important;
}

.otp-btn.active img {
    filter: brightness(100);
}

.btn-next {
    margin-top: auto;
    background-color: #e2e2e2;
    padding: 15px;
    border: none;
    border-radius: 30px;
    color: #ffffff;
    font-size: 24px;
    cursor: not-allowed;
    opacity: 0.5;
    margin-bottom: 70px;
    width: 100%;
}

.btn-next.enabled {
    background-color: #ff7a00 !important;
    cursor: pointer !important;
    opacity: 1 !important;
}

.btn-next.invalid-phone {
    margin: 20px 0px;
    width: 40%;
}

.btn-next.invalid-number {
    margin: 20px 0px;
    width: 60%;
}

.img-version {
    position: absolute;
    bottom: 10px;
    left: 45%;
}

.modal-otp {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.modal-otp.show {
    display: flex;
}

.modal-content-otp {
    width: 700px;
    background: white;
    border-radius: 20px;
    padding: 100px;
    position: relative;
    overflow-y: hidden;
}

.modal-invalid-phone {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 600px;
}

.modal-content-otp h2 {
    color: #000000;
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
}

.modal-content-otp p {
    color: #262626;
    text-align: center;
    margin-bottom: 30px;
    font-size: 20px;
}
/* 
.modal-content-otp label {
} */

.otp-field {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    top: 0;
    left: 0;
    z-index: 10;
}

.otp-display {
    display: flex;
    gap: 15px;
    justify-content: start;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.079);
    pointer-events: none;
    margin: 10px 0px;
    padding: 20px 30px;
}

.otp-digit {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #d9d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    color: #262626;
}

.otp-digit.filled {
    background: transparent;
    color: #262626;
}

.resend-text {
    text-align: start;
    margin-bottom: 110px;
    text-decoration: underline;
    z-index: 10000;
    position: relative;
    pointer-events: auto;
}

.timer-text {
    color: #262626;
    margin-bottom: 100px;
    text-align: center;
    position: relative;
    z-index: 10000;
}

.success-container img {
    animation: popIn 0.5s ease;
    display: block;
    height: 150px;
    margin: 0;
}

.success-container {
    margin-top: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.img-version-modal {
    margin-top: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 10px;
    left: 40%;
}

.success-container h2 {
    font-size: 47px;
    color: #262626;
}

@media (max-width: 1550px) {
    .login-container {
        padding: 30px;
    }

    .content-right .card {
        padding: 20px;
    }
}

@media (max-width: 1550px) {
    .card label {
        margin-top: 20px;
    }

    .card .box-input {
        margin: 30px 0px;
    }

    .box-otp button {
        font-size: 16px;
    }

    .box-input .seri {
        width: 20%;
    }
}

@keyframes popIn {
    from {
        transform: scale(0.6);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 1280px) {
    .card h3 {
        font-size: 24px;
    }

    .card p {
        font-size: 16px;
    }

    .card .box-input {
        margin: 20px 0px;
    }

    .seri {
        font-size: 16px;
    }

    .seri img {
        height: 5px;
    }

    .box-input input {
        font-size: 16px;
        padding: 5px 0px;
    }

    .box-otp button {
        padding: 10px 20px;
    }

    .box-otp button img {
        height: 20px;
    }

    .btn-next {
        font-size: 18px;
        padding: 10px;
    }

    .success-container {
        margin-top: 30%;
        gap: 10px;
    }

    .success-container h2 {
        font-size: 24px;
        color: #262626;
    }
}

@media (max-width: 768px) {
    .login-container {
        padding: 0px;
    }

    .img-version {
        left: 40%;
    }

    .content-left {
        display: none;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .content-right {
        width: 100%;
    }

    .content-right .card {
        border-radius: 0px;
        padding: 15px;
    }

    .back span {
        display: none;
    }

    .back img {
        width: auto;
        height: 25px;
    }

    .card h3 {
        font-size: 24px;
    }

    .card label {
        font-size: 10px;
        font-family: "Gotham";
    }

    .card .box-input {
        margin: 10px 0px;
        gap: 10px;
    }

    .modal-content-otp {
        width: 100%;
        height: 100%;
        padding: 20px;
        text-align: start;
    }

    .modal-content-otp h2 {
        text-align: start;
        font-size: 24px;
    }

    .modal-content-otp p {
        font-size: 14px;
        color: #262626;
        text-align: start;
    }

    .btn-next {
        font-size: 16px;
        padding: 13px;
        margin-bottom: 50px;
    }

    .box-input .seri {
        width: 25%;
    }

    .seri span {
        font-size: 14px;
    }

    .seri img {
        height: 5px;
    }

    .box-input input {
        font-size: 12px;
    }

    .img-version-mobile {
        position: absolute;
        bottom: 10px;
        left: 40%;
    }

    .country-list {
        width: 90% !important;
        left: 20px !important;
    }

    .timer-text {
        font-size: 12px;
        color: #262626;
    }

    .success-container h2 {
        font-size: 30px;
        color: #262626;
        text-align: center;
    }
}
