.otp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 16, 0.75);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.otp-overlay.open { display: flex; }

.otp-modal {
    position: relative;
    width: 100%;
    max-width: 50%;
    padding: 36px 28px 28px;
    text-align: center;
    border-radius: 14px;
    border-width: 1px;
    background: #000002;
    border: 1px solid #696969;
}

.otp-close {
  position: absolute;
  top: 14px;
  right: 16px;
  cursor: pointer;
}
.otp-close:hover { color: #e5e7eb; }

.otp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.otp-icon svg { width: 28px; height: 28px; }

.otp-title { 
    margin: 0 0 8px; 
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 38px;
    letter-spacing: 0px;
    text-align: center;
    color: #FFFFFF;
}
.otp-subtitle { 
    margin: 0 0 24px; 
    font-family: 'Poppins';
    font-weight: 300;
    font-size: 22px;
    letter-spacing: 0px;
    text-align: center;
    color: #FFFFFF;
}
.otp-subtitle strong { color: #cbd5e1; }

.otp-inputs {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}
.otp-inputs input {
    text-align: center;
    font-size: 30px;
    color: #fff;
    outline: none;
    width: 62px;
    height: 69px;
    border-radius: 8px;
    border-width: 0.6px;
    background: #242424;
    border: 0.6px solid #585858;
}
.otp-inputs input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,.25); }
.otp-inputs input.error { border-color: #ef4444; }

.otp-resend { 
    margin-bottom: 4px;
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0px;
    color: #FFFFFF;
 }
.otp-resend button {
  border: none;
  cursor: pointer;
  padding: 0;
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0px;
    color: #0DC6F6;
}
.otp-resend button:disabled { color: #475569; cursor: default; }

.otp-verify-btn {
    width: fit-content;
    margin-top: 18px;
    border: none;
    border-radius: 50px;
    background-color: #317AB0 !important;
    color: #fff;
    padding: 12px 30px;
    font-size: 20px;
    cursor: pointer;
}
.otp-verify-btn:disabled { opacity: .5; cursor: not-allowed; }

.otp-status { min-height: 18px; font-size: 12.5px; margin-top: 10px; }
.otp-status.error { color: #f87171; }
.otp-status.success { color: #4ade80; }

@media (width:1366px) and (height:607px) {
    .otp-icon{
        img{
            width: 200px;
        }
    }
    .otp-title {
        font-size: 30px;
    }
    .otp-subtitle {
        margin: 0 0 18px;
        font-size: 18px;
    }
    .otp-modal {
        padding: 6px 28px 0px;
    }
}
@media (width:1366px) and (height:641px) {
    .otp-icon{
        img{
            width: 200px;
        }
    }
    .otp-title {
        font-size: 30px;
    }
    .otp-subtitle {
        margin: 0 0 18px;
        font-size: 18px;
    }
    .otp-modal {
        padding: 6px 28px 0px;
    }
}
@media (max-width:900px) {
    .otp-modal {
        max-width: 90%;
    }
    .otp-title {
        font-size: 28px;
    }
    .otp-subtitle {
        font-size: 12px;
    }
    .otp-inputs input {
        font-size: 20px;
        width: 40px;
        height: 50px;
        border-radius: 4px;
    }
    .otp-inputs {
        gap: 20px;
    }
    .otp-resend {
        font-size: 14px;
    }
    .otp-resend button {
        font-size: 14px;
    }
    .otp-verify-btn {
        padding: 8px 20px;
        font-size: 14px;
    }
    .otp-modal {
        max-width: 90%;
        padding: 10px 18px 0px;
    }
}