.code-input {
    width: 40px !important; /* Adjusted size for compactness */
    height: 40px !important; /* Ensure consistent height */
    text-align: center !important; /* Center-align the digits */
    font-size: 16px !important; /* Maintain readability */
    border: 1px solid #ccc !important; /* Default border */
    border-radius: 4px !important; /* Rounded corners for better aesthetics */
    transition: border-color 0.2s, box-shadow 0.2s !important; /* Smooth transition for focus effects */
}

    .code-input:focus {
        border-color: #66c6b8 !important; /* Highlight active box */
        box-shadow: 0 0 5px rgba(102, 198, 184, 0.5) !important; /* Add subtle shadow */
        outline: none !important; /* Remove default outline */
    }

#verificationCodeContainer {
    max-width: 300px !important; /* Ensure the container doesn't stretch too wide */
    margin: 0 auto !important; /* Center the container */
}

@media (max-width: 600px) {
    .code-input {
        width: 30px !important; /* Smaller size for mobile devices */
        height: 30px !important;
        font-size: 14px !important;
    }
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #66c6b8; /* You can change the color */
    border-radius: 50%;
    width: 32px;
    height: 32px;
    animation: spin 1s linear infinite;
    display: none; /* Hidden by default */
    margin: 10px auto; /* Optional centering */
    position: fixed; /* Ensure it stays in place */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for true centering */
    z-index: 1050 !important; /* Higher than the modal's z-index */
}

.bg {
    z-index: 1040 !important; /* Ensure the modal background is below the spinner */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 1045; /* Higher than the modal but lower than the spinner */
    display: none; /* Hidden by default */
}
