/* ============================================================
   css/otp.css — OTP verification UI (send_otp_user.php)
   ============================================================ */

 html, body { margin: 0 !important; padding: 0 !important; height: auto; }
        #wrapper { display: flex !important; flex-direction: column !important; min-height: 100vh !important; }
        #wrapper > #intro, #wrapper > .intro, #wrapper > .intro-content { display: none !important; }

        .otp-main-wrap {
            flex: 1 0 auto !important;
            background: linear-gradient(135deg, #eef2f7 0%, #e3e9f0 100%);
            padding: 130px 15px 50px 15px !important;
            display: flex; justify-content: center; align-items: flex-start; margin: 0 !important;
        }
        .otp-card {
            background: #fff; border-radius: 8px;
            box-shadow: 0 10px 40px rgba(26,79,139,0.10), 0 2px 8px rgba(0,0,0,0.04);
            overflow: hidden; width: 100%; max-width: 880px;
            border-top: 5px solid #1a4f8b; margin: 0 auto;
        }
        .otp-card-head {
            background: linear-gradient(135deg, #1a4f8b 0%, #2a6bb8 100%);
            color: #fff; padding: 20px 30px;
            display: flex; align-items: center; gap: 14px;
        }
        .otp-card-head .icon-circle {
            width: 44px; height: 44px; background: rgba(255,255,255,0.18);
            border-radius: 50%; display: flex; align-items: center; justify-content: center;
            font-size: 20px; flex-shrink: 0;
        }
        .otp-card-head h2 { margin: 0; font-size: 18px; font-weight: bold; }
        .otp-card-head p { margin: 3px 0 0 0; font-size: 12px; opacity: 0.85; }

        .otp-card-body { padding: 32px 40px 36px 40px; }
        .otp-info-box {
            background: #f0f7ff; border-left: 4px solid #1a4f8b;
            padding: 14px 18px; border-radius: 6px; margin-bottom: 24px;
            font-size: 13.5px; color: #1e3a5f;
        }
        .otp-info-box b { color: #1a4f8b; }

        .otp-form-row { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 20px; }
        .otp-field { flex: 1; min-width: 260px; }
        .otp-field.full { flex: 0 0 100%; }
        .otp-label { display: block; font-size: 13px; font-weight: 700; color: #334155; margin-bottom: 7px; }
        .otp-label .req { color: #dc2626; margin-left: 3px; }
        .otp-input {
            width: 100%; padding: 12px 14px;
            border: 1.5px solid #cbd5e1; border-radius: 6px;
            font-size: 14.5px; color: #1e293b; background: #fff;
            box-sizing: border-box; outline: none; transition: all 0.2s;
        }
        .otp-input:focus { border-color: #1a4f8b; box-shadow: 0 0 0 3px rgba(26,79,139,0.12); }
        .otp-input.otp-6digit {
            font-size: 26px; letter-spacing: 14px; text-align: center;
            font-weight: 700;
        }

        .otp-btn-row { display: flex; justify-content: center; gap: 18px; margin-top: 28px; flex-wrap: wrap; }
        .btn-primary-lg {
            background: linear-gradient(135deg, #1a4f8b 0%, #2563a8 100%);
            color: #fff; border: none; padding: 13px 48px;
            font-size: 14px; font-weight: 700; letter-spacing: 1.2px;
            cursor: pointer; border-radius: 6px; text-transform: uppercase;
            min-width: 180px; box-shadow: 0 4px 12px rgba(26,79,139,0.25);
        }
        .btn-primary-lg:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(26,79,139,0.35); }
        .btn-primary-lg:disabled { background: #94a3b8; box-shadow: none; cursor: not-allowed; }
        .btn-secondary-lg {
            background: #fff; color: #475569; border: 1.5px solid #cbd5e1;
            padding: 13px 40px; font-size: 14px; font-weight: 700;
            letter-spacing: 1.2px; cursor: pointer; border-radius: 6px;
            text-transform: uppercase; min-width: 140px;
        }
        .btn-secondary-lg:hover:not(:disabled) { background: #f8fafc; }
        .btn-secondary-lg:disabled { opacity: 0.5; cursor: not-allowed; }

        .otp-alert {
            padding: 12px 18px; margin-bottom: 20px;
            border-radius: 6px; font-size: 13.5px; display: none; line-height: 1.5;
        }
        .otp-alert.error { background: #fef2f2; border-left: 4px solid #dc2626; color: #991b1b; }
        .otp-alert.success { background: #f0fdf4; border-left: 4px solid #16a34a; color: #166534; }
        .otp-alert.warn { background: #fffbeb; border-left: 4px solid #f59e0b; color: #92400e; }

        .timer-box { text-align: center; margin-top: 18px; font-size: 13px; color: #64748b; }
        .timer-box b { color: #dc2626; font-size: 16px; }

        #wrapper > footer, #wrapper > .footer, #wrapper > footer.footer { flex-shrink: 0 !important; margin-top: 0 !important; }

        @media (max-width: 768px) {
            .otp-main-wrap { padding: 110px 10px 30px 10px !important; }
            .otp-card-body { padding: 22px 20px 26px 20px; }
            .otp-card-head { padding: 16px 20px; }
            .btn-primary-lg, .btn-secondary-lg { min-width: 120px; padding: 12px 26px; }
            .otp-input.otp-6digit { font-size: 22px; letter-spacing: 8px; }
        }
        @media (max-width: 480px) {
            .otp-btn-row { flex-direction: column; align-items: stretch; }
            .btn-primary-lg, .btn-secondary-lg { width: 100%; }
            .otp-field { min-width: 100%; }
            .otp-input.otp-6digit { font-size: 20px; letter-spacing: 6px; }
        }


                .verify-wrapper { background: #f0f2f5; min-height: 100vh; padding: 140px 15px 40px 15px; }
        .verify-box-main {
            background: #fff; border-radius: 6px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.12);
            width: 100%; max-width: 900px; margin: 0 auto;
            overflow: visible !important; border: 1px solid #e0e0e0;
        }
        .panel-skin { border-radius: 6px; }
        .panel-skin .panel-heading { background: #1a4f8b; color: #fff; padding: 14px 22px; border-bottom: none; }
        .panel-skin .panel-title {
            color: #fff; font-size: 18px; font-weight: bold; margin: 0;
            display: flex; align-items: center; gap: 10px;
        }
        .panel-skin .panel-body { padding: 22px 26px; }

        .info-box {
            padding: 12px 16px; margin-bottom: 20px; border-radius: 4px;
            font-size: 14px; line-height: 1.6;
            border: 1px solid #ff3b30; background: #e8f4fd; color: #1a4f8b;
        }
        .info-box.success { background: #e8f5e9; border: 1px solid #4caf50; color: #2e7d32; }
        .info-box.error { background: #ffebee; border: 1px solid #f44336; color: #c62828; }
        .info-box b { color: #1a4f8b; }

        .form-group label {
            font-weight: 700; font-size: 14px; color: #1a1a1a;
            margin-bottom: 6px; display: inline-block;
        }
        .form-control {
            border: 1px solid #999; border-radius: 4px; font-size: 15px;
            padding: 8px 12px; height: auto; box-shadow: none;
            transition: border-color 0.2s;
        }
        .form-control:focus { border-color: #1a4f8b; box-shadow: 0 0 0 2px rgba(26,79,139,0.15); }
        .form-control.input-lg { font-size: 15px; padding: 10px 14px; height: 44px; }
        .form-control[readonly] { background: #f8f8f8; color: #333; cursor: not-allowed; }
        .form-control.verified-black {
            background: #1a1a1a !important; color: #00e676 !important;
            border-color: #000 !important; font-weight: bold;
        }
        .text-danger { color: #d32f2f; }

        .captcha-img {
            display: block; border: 1px solid #333; border-radius: 3px;
            background: #fff; padding: 4px; height: 52px;
        }
        .captcha-refresh-note { font-size: 12px; color: #555; margin-top: 6px; display: block; }
        .captcha-refresh-link { color: #0288d1; font-weight: bold; text-decoration: none; cursor: pointer; }

        .btn-primary {
            background: #1a4f8b !important; border: 1px solid #1a4f8b !important;
            color: #fff !important; font-weight: bold !important; font-size: 14px !important;
            padding: 10px 26px !important; border-radius: 4px !important;
            letter-spacing: 0.5px !important; text-transform: uppercase !important;
            display: inline-block !important; visibility: visible !important;
            opacity: 1 !important; width: auto !important; height: auto !important;
            box-shadow: none !important; text-indent: 0 !important; float: none !important;
            appearance: none !important; -webkit-appearance: none !important;
            font-family: inherit !important; text-decoration: none !important;
            line-height: 1.4 !important; cursor: pointer !important;
        }
        .btn-primary:hover:not(:disabled) {
            background: #0d3a6b !important; border-color: #0d3a6b !important; color: #fff !important;
        }
        .btn-primary:disabled { background: #aaa !important; border-color: #aaa !important; cursor: not-allowed !important; }
        .btn-lg { padding: 11px 26px !important; font-size: 15px !important; }

        .btn-group-actions {
            display: flex !important; justify-content: center !important;
            align-items: center !important; gap: 14px !important;
            margin-top: 20px !important; flex-wrap: wrap !important;
            visibility: visible !important; opacity: 1 !important;
        }
        .btn-group-actions .btn-primary { min-width: 150px; }

        .step-panel { display: none; }
        .step-panel.active { display: block; }

        .otp-input {
            width: 100%; padding: 14px 16px; border: 2px solid #2196f3;
            border-radius: 6px; font-size: 24px; font-weight: bold;
            text-align: center; letter-spacing: 8px; margin-bottom: 15px;
        }
        .otp-input:focus { outline: none; border-color: #1a4f8b; }

        .otp-meta {
            display: flex; justify-content: space-between; align-items: center;
            margin-top: 12px; font-size: 13px; flex-wrap: wrap; gap: 8px;
        }
        .otp-timer { font-weight: bold; color: #c62828; }

        .btn-link-small {
            background: none; border: none; color: #0288d1;
            font-weight: bold; font-size: 13px; cursor: pointer;
            padding: 0; text-decoration: underline;
        }
        .btn-link-small:disabled { color: #aaa; cursor: not-allowed; text-decoration: none; }

        #devOtpBox {
            display: none; margin-top: 14px; padding: 10px 14px;
            background: #fff8e1; border-left: 4px solid #ff9800;
            border-radius: 4px; color: #e65100; font-size: 14px; font-weight: bold;
        }
        #devOtpValue { letter-spacing: 3px; font-size: 18px; color: #b71c1c; }

        #topMsgPopup {
            position: fixed; top: 20px; left: 50%;
            transform: translateX(-50%) translateY(-140%);
            z-index: 999999; max-width: 560px; width: 92%;
            border-radius: 6px; box-shadow: 0 8px 30px rgba(0,0,0,0.2);
            padding: 14px 40px 14px 20px; font-size: 14px;
            line-height: 1.6; opacity: 0;
            transition: transform 0.5s ease-out, opacity 0.5s ease-out;
        }
        #topMsgPopup.show { transform: translateX(-50%) translateY(0); opacity: 1; }
        #topMsgPopup.success { background: #e8f5e9; border-left: 5px solid #4caf50; color: #2e7d32; }
        #topMsgPopup.error   { background: #ffebee; border-left: 5px solid #f44336; color: #c62828; }
        #topMsgPopup.warn    { background: #fff3e0; border-left: 5px solid #ff9800; color: #e65100; }
        #topMsgPopup .popup-close {
            position: absolute; top: 6px; right: 10px;
            background: none; border: none; font-size: 22px;
            color: inherit; cursor: pointer; line-height: 1;
            font-weight: bold; padding: 0;
        }
        #topMsgPopup .popup-title {
            font-weight: bold; display: block; margin-bottom: 4px; font-size: 15px;
        }

        @media (max-width: 767px) {
            .verify-box-main { max-width: 100%; }
            .panel-skin .panel-body { padding: 16px; }
            .btn-group-actions { flex-direction: column; }
            .btn-group-actions .btn-primary { min-width: 100%; }
        }

 html, body { margin: 0 !important; padding: 0 !important; height: auto; }
        #wrapper { display: flex !important; flex-direction: column !important; min-height: 100vh !important; }
        #wrapper > #intro, #wrapper > .intro, #wrapper > .intro-content { display: none !important; }

        .otp-main-wrap {
            flex: 1 0 auto !important;
            background: linear-gradient(135deg, #eef2f7 0%, #e3e9f0 100%);
            padding: 130px 15px 50px 15px !important;
            display: flex; justify-content: center; align-items: flex-start; margin: 0 !important;
        }
        .otp-card {
            background: #fff; border-radius: 8px;
            box-shadow: 0 10px 40px rgba(26,79,139,0.10), 0 2px 8px rgba(0,0,0,0.04);
            overflow: hidden; width: 100%; max-width: 880px;
            border-top: 5px solid #1a4f8b; margin: 0 auto;
        }
        .otp-card-head {
            background: linear-gradient(135deg, #1a4f8b 0%, #2a6bb8 100%);
            color: #fff; padding: 20px 30px;
            display: flex; align-items: center; gap: 14px;
        }
        .otp-card-head .icon-circle {
            width: 44px; height: 44px; background: rgba(255,255,255,0.18);
            border-radius: 50%; display: flex; align-items: center; justify-content: center;
            font-size: 20px; flex-shrink: 0;
        }
        .otp-card-head h2 { margin: 0; font-size: 18px; font-weight: bold; }
        .otp-card-head p { margin: 3px 0 0 0; font-size: 12px; opacity: 0.85; }

        .otp-card-body { padding: 32px 40px 36px 40px; }
        .otp-info-box {
            background: #f0f7ff; border-left: 4px solid #1a4f8b;
            padding: 14px 18px; border-radius: 6px; margin-bottom: 24px;
            font-size: 13.5px; color: #1e3a5f;
        }
        .otp-info-box b { color: #1a4f8b; }

        .otp-field.full { flex: 0 0 100%; }
        .otp-label { display: block; font-size: 13px; font-weight: 700; color: #334155; margin-bottom: 7px; }
        .otp-label .req { color: #dc2626; margin-left: 3px; }
        .otp-input {
            width: 100%; padding: 12px 14px;
            border: 1.5px solid #cbd5e1; border-radius: 6px;
            font-size: 14.5px; color: #1e293b; background: #fff;
            box-sizing: border-box; outline: none; transition: all 0.2s;
        }
        .otp-input:focus { border-color: #1a4f8b; box-shadow: 0 0 0 3px rgba(26,79,139,0.12); }
        .otp-input.otp-6digit {
            font-size: 26px; letter-spacing: 14px; text-align: center; font-weight: 700;
        }

        .otp-btn-row { display: flex; justify-content: center; gap: 18px; margin-top: 28px; flex-wrap: wrap; }
        .btn-primary-lg {
            background: linear-gradient(135deg, #1a4f8b 0%, #2563a8 100%);
            color: #fff; border: none; padding: 13px 48px;
            font-size: 14px; font-weight: 700; letter-spacing: 1.2px;
            cursor: pointer; border-radius: 6px; text-transform: uppercase;
            min-width: 180px; box-shadow: 0 4px 12px rgba(26,79,139,0.25);
        }
        .btn-primary-lg:disabled { background: #94a3b8; cursor: not-allowed; }
        .btn-secondary-lg {
            background: #fff; color: #475569; border: 1.5px solid #cbd5e1;
            padding: 13px 40px; font-size: 14px; font-weight: 700;
            letter-spacing: 1.2px; cursor: pointer; border-radius: 6px;
            text-transform: uppercase; min-width: 140px;
        }
        .btn-secondary-lg:disabled { opacity: 0.5; cursor: not-allowed; }

        .otp-alert { padding: 12px 18px; margin-bottom: 20px; border-radius: 6px; font-size: 13.5px; display: none; line-height: 1.5; }
        .otp-alert.error { background: #fef2f2; border-left: 4px solid #dc2626; color: #991b1b; }
        .otp-alert.success { background: #f0fdf4; border-left: 4px solid #16a34a; color: #166534; }

        .timer-box { text-align: center; margin-top: 18px; font-size: 13px; color: #64748b; }
        .timer-box b { color: #dc2626; font-size: 16px; }

        @media (max-width: 768px) {
            .otp-main-wrap { padding: 110px 10px 30px 10px !important; }
            .otp-card-body { padding: 22px 20px 26px 20px; }
            .otp-input.otp-6digit { font-size: 22px; letter-spacing: 8px; }
        }