@media(max-width:400px) {
    .mobile {
        width: 270px;
        overflow: scroll;
        gap: 30px;
    }

    .text-sm {
        font-size: 0.705rem !important;
    }
}

@media (min-width: 400px) and (max-width: 768px) {
    .mobile {
        width: 370px;
        overflow: scroll;
        gap: 30px;
    }
}

body {
    background: linear-gradient(135deg, #0f172a, #1e3a8a, #2563eb);
    min-height: 100vh;
}

@media(max-width:768px) {
    .text-sm {
        font-size: 0.575rem !important;
    }
}

.input-box {
    position: relative;
}

.input-box i {
    position: absolute;
    right: 12px;
    top: 14px;
    color: #6b7280;
}

.input-box > i:not(.toggle-pw) {
    pointer-events: none;
}

.input-field {
    padding-left: 40px;
}

.select-field {
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-left: 14px;
    padding-right: 40px;
    min-height: 50px;
    font-size: 16px;
    line-height: 1.25;
}

.form-step {
    display: none;
    animation: fade .4s ease;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.form-step.active {
    display: block;
}

.form-step .grid {
    max-width: 100%;
    overflow: hidden;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(15px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.step {
    position: relative;
    z-index: 2;
}

.circle {
    width: 45px;
    height: 45px;
    margin: auto;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #6b7280;
    transition: 0.3s;
}

.step.active .circle {
    background: #2563eb;
    color: white;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.6);
}

.step.completed .circle {
    background: #16a34a;
    color: white;
}

/* OTP loading spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff66;
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}