.hidden {
    display: none !important;
}

/* Step Transitions */
.verification-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 500px; /* Adjust max width */
    margin: 50px auto;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.step{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 500px; /* Adjust max width */
    margin: 50px auto;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}


.step {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: opacity 0.4s ease-in-out, transform 0.3s ease-in-out;
}

.step.hidden{
    display: none !important;
}


/* When active */
.step.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}
.step.active#step2 ~ #verification-container {
    display: none !important;
}

.method-option{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    padding: 15px;
    width: 80%;
    margin: 10px auto;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;

}

.method-option:hover{
    background: #e9e9e9;
}

.code-inputs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.code-box {
    width: 45px;
    height: 55px;
    font-size: 24px;
    text-align: center;
    border: 2px solid #ccc;
    border-radius: 5px;
}


/* Buttons */

.boton, .botonv{
    display: inline-block;
    padding: 12px 20px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.boton {
    background: #00bf77;
    color: white;
    border-radius: 36px;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.2);
}

.boton:hover {
    background: linear-gradient(90deg, rgba(26,28,105,1) 0%, rgba(26,54,105,1) 43%, rgba(0,212,255,1) 100%);
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.2);
}


.botonv {
    background: #f16200;
    color: white;
    border-radius: 36px;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.2);
}

.botonv:hover {
    background: linear-gradient(90deg, rgba(26,28,105,1) 0%, rgba(26,54,105,1) 43%, rgba(0,212,255,1) 100%);
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

/* Timer styling */
#timer {
    font-weight: bold;
    color: #ff6200;
    font-size: 18px;
}

/* Media Queries for Responsive Design */

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    .verification-container {
        max-width: 400px;
        padding: 15px;
    }
    
    .method-option {
        width: 90%;
    }
    
    .code-box {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .verification-container {
        max-width: 90%;
        padding: 10px;
    }

    .method-option {
        width: 100%;
        padding: 10px;
    }

    .code-box {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .boton, .botonv {
        width: 100%;
        text-align: center;
        font-size: 14px;
    }
}

/* Small Mobile Screens (max-width: 480px) */
@media (max-width: 480px) {
    .verification-container {
        max-width: 95%;
    }

    .code-box {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}