.iti button {
    background: none !important;
    color: #000 !important;
    border: none !important;
    padding: inherit  !important;
}
.iti--inline-dropdown .iti__country-list{
    padding: 0;
    margin: 0;
}
input.is-valid {
  border-color: #28a745 !important;
  background-color: #e6ffe6 !important;
}

input.is-invalid {
  border-color: #dc3545 !important;
  background-color: #ffe6e6 !important;
}
/*New popup*/
#cf7-msg91-otp-popup {
    position: fixed;
    z-index: 999999;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    font-family: sans-serif;
}

.cf7-msg91-otp-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.cf7-msg91-otp-modal {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    max-width: 370px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    text-align: center;
}

.cf7-msg91-otp-modal h3 {
    margin-top: 0;
}

.cf7-msg91-otp-modal input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin: 1rem 0;
    border-radius: 6px;
    border: 1px solid #ccc;
    text-align: center;
}

.cf7-msg91-otp-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.cf7-msg91-otp-buttons button {
    flex: 1;
    padding: 10px;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

#verify_otp_btn {
    background: #137317;
    color: white;
    padding: 12px;
    border-color: #137317;
}

#cancel_otp_btn {
    background: #f44336;
    color: white;
}

/*Login Popup*/

.otp-popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    z-index: -1;
    visibility: hidden;
}
.otp-popup-container.active {
    opacity: 1;
    z-index: 9999;
    visibility: visible;
}
.otp-popup-container #otp-login-form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.otp-popup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.otp-box {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    width: 350px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    cursor: pointer;
    height: 22px;
}
.close-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #000;
    position: relative;
    transform: rotate(45deg);
    top: 10px;
}
.close-btn span:last-of-type{
    transform: rotate(-45deg);
    top: 8px;
}
.otp-box h3 {
    margin-bottom: 8px;
}
.mobile-input {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    padding: 6px 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}
.otp-box input[type="tel"],
.otp-box input[type="text"] {
    border: none;
    outline: none;
    width: 100%;
}
button.send-otp-btn,
button.very-otp-btn {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
}
button#sendOtpBtn {
    width: 100%;
    padding: 12px;
}
button#cancelOtpBtn {
    margin-top: 10px;
    width: 100%;
    background: #9c4040;
    border-color: #9c4040;
    padding: 12px;
}