﻿.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: flex-start;
}
/* Modal Box */
.modal {
    background: #fff;
    border-radius: 6px;
    width: 400px;
    max-width: 90%;
    padding: 20px 30px 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    top: 160px;
    

}
@media (min-width: 991px) {
    .modal {
        /* Top offset */
        margin-top: -130px; /* ✅ shifts modal -130px from top */
    }
}
    .modal img {
        width: 55px;
        margin-bottom: 10px;
    }

    .modal h2 {
        font-size: 18px;
        font-weight: normal;
        margin-bottom: 20px;
    }
/* OTP boxes */
.otp-input {
    width: 35px;
    height: 40px;
    margin: 0 4px;
    text-align: center;
    font-size: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    transition: border 0.3s;
}

    .otp-input:focus {
        border-color: #007bff;
    }
/* Buttons */
.btn {
    display: inline-block;
    padding: 7px 18px;
    margin: 15px 6px 0;
    font-size: 14px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-primary {
    background: #007bff;
    color: #fff;
}

    .btn-primary:hover {
        background: #0056b3;
    }

.btn-secondary {
    background: #6c757d;
    color: #fff;
}

    .btn-secondary:hover {
        background: #545b62;
    }

.modalBackground {
    background: rgba(0, 0, 0, 0.9);
}

/*.modal {
    position: fixed;
    top: 2%;
    left: 0;
    right: 0;
    margin: auto;
    width: 400px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    z-index: 9999;
}*/

.otp-input {
    width: 35px;
    height: 35px;
    margin: 5px;
    text-align: center;
    font-size: 18px;
}

.captcha-section {
    margin-top: 15px;
    text-align: center;
}

.captcha-image {
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 50px;
    width: 150px;
}

.refresh-captcha {
    margin-left: 10px;
    cursor: pointer;
    font-size: 16px;
    color: #007bff;
}

.captcha-input {
    margin-top: 10px;
    width: 150px;
    text-align: center;
    font-size: 16px;
}
