/* VIVEK ONLINE - custom styles on top of AdminLTE 2.4.5 (Bootstrap 3) */

/* ---- small utility shim (Bootstrap 3 has no spacing utilities) ---- */
.mr-1{margin-right:4px!important}.mr-2{margin-right:8px!important}.ml-1{margin-left:4px!important}.ml-2{margin-left:8px!important}
.mt-0{margin-top:0!important}.mt-1{margin-top:4px!important}.mt-2{margin-top:8px!important}.mt-3{margin-top:15px!important}
.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:4px!important}.mb-2{margin-bottom:8px!important}.mb-3{margin-bottom:15px!important}
.p-0{padding:0!important}.py-2{padding-top:8px!important;padding-bottom:8px!important}
.d-none{display:none!important}.d-block{display:block!important}.d-flex{display:flex!important}.flex-wrap{flex-wrap:wrap!important}
.align-items-center{align-items:center!important}.justify-content-between{justify-content:space-between!important}
.font-weight-bold{font-weight:700!important}.font-weight-normal{font-weight:400!important}.w-100{width:100%!important}
.text-monospace{font-family:Menlo,Consolas,monospace}

/* ---- header / sidebar ---- */
.main-header .logo .vo-logo-img { height: 34px; width: 34px; border-radius: 50%; background: #fff; padding: 1px; margin-top: -3px; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.main-header .logo .logo-mini .vo-logo-img { height: 36px; width: 36px; margin-top: 7px; }
.main-header .logo .logo-lg b { margin-left: 4px; }
.vo-navbar-clock { float: left; color: rgba(255,255,255,.85); padding: 15px 10px; font-size: 13px; }
.skin-black .vo-navbar-clock, [class*="-light"] .vo-navbar-clock.dummy { color: #444; }
.skin-black .vo-navbar-clock { color: #555; }
.vo-avatar { display: inline-block; text-align: center; border-radius: 50%; color: #fff !important; font-weight: 700; vertical-align: middle; }
.user-panel > .image > .vo-avatar { width: 45px; height: 45px; }
.navbar-nav > .user-menu .user-image.vo-avatar { float: left; margin-right: 10px; margin-top: -2px; font-size: 12px; }
.navbar-nav > .user-menu > .dropdown-menu > li.user-header > .vo-avatar { border: 3px solid rgba(255,255,255,.2); display: inline-block; }
.sidebar-menu li.vo-locked a { opacity: .45; cursor: not-allowed; }
.vo-imp-banner { position: fixed; z-index: 1100; top: 0; left: 50%; transform: translateX(-50%); background: #f39c12; color: #111; padding: 4px 14px; border-radius: 0 0 6px 6px; font-size: 13px; box-shadow: 0 2px 6px rgba(0,0,0,.25); }

/* skin picker (control sidebar) */
.vo-skins li { float: left; width: 33.33%; padding: 5px; }
.vo-skins li a { display: block; box-shadow: 0 0 3px rgba(0,0,0,.4); }
.vo-skins li a div { display: flex; }
.vo-skins li a div span { display: block; height: 7px; flex: 1; }
.vo-skins li a div + div span { height: 20px; }
.vo-skins li a div span:first-child { flex: 0 0 30%; }
.vo-skins li p { font-size: 11px; margin: 4px 0 0; }
.vo-skins li a.active { outline: 2px solid #f39c12; }

/* compact mode */
body.vo-compact { font-size: 13px; }
body.vo-compact .table > tbody > tr > td, body.vo-compact .table > thead > tr > th { padding: 5px; }

/* ---- Auth pages with hacker background ---- */
body.vo-auth { background: #0b0d12 url('../img/login-bg.jpg') center center / cover no-repeat fixed !important; position: relative; min-height: 100vh; }
body.vo-auth::before { content: ''; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(5,8,20,.82), rgba(40,8,8,.70)); z-index: 0; }
body.vo-auth > *:not(.swal2-container):not(#toast-container):not(script) { position: relative; z-index: 1; }
.swal2-container { z-index: 20000 !important; }
body.swal2-shown > .swal2-container { position: fixed !important; }
.vo-auth .login-box, .vo-auth .register-box { margin: 4% auto; }
.vo-auth .vo-wide { width: 680px; max-width: 96%; }
.vo-auth .vo-auth-logo { margin-bottom: 15px; }
.vo-auth .vo-auth-logo a { color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.7); }
.vo-auth .vo-auth-logo img { border: 3px solid #f39c12; background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.6); margin-bottom: 6px; }
.vo-auth .login-box-body, .vo-auth .register-box-body { border-top: 3px solid #dd4b39; box-shadow: 0 10px 40px rgba(0,0,0,.55); border-radius: 3px; }
.vo-auth .vo-box-title { font-size: 20px; text-align: center; margin: 0 0 6px; }
.vo-auth .vo-auth-foot { color: rgba(255,255,255,.75); margin-top: 14px; }
.vo-auth .has-feedback .form-control-feedback.vo-click { pointer-events: auto; cursor: pointer; }

/* ---- OTP widget ---- */
.otp-block { border: 1px dashed #d2d6de; padding: 7px 9px; margin-top: 5px; background: #fafafa; }
.otp-block.otp-done { border-style: solid; border-color: #00a65a; background: #eefaf3; }
.otp-block .btn-group { margin: 0 6px 4px 0; }
.otp-code { letter-spacing: 4px; font-weight: 600; }

/* ---- Tables / widgets ---- */
.table > tbody > tr > td { vertical-align: middle; }
.actions .btn { margin: 1px; }
.actions { white-space: normal !important; min-width: 74px; max-width: 96px; }
.kv-table th { width: 38%; color: #777; font-weight: 600; }
.locked-field[disabled] { background-color: #eee; cursor: not-allowed; }
.service-card { transition: transform .15s ease, box-shadow .15s ease; text-align: center; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 6px 14px rgba(0,0,0,.18); }
.service-card .svc-icon { font-size: 36px; }
.service-card h5 { font-weight: 600; margin: 8px 0 4px; color: #333; }
.service-card a { color: inherit; }
.filter-bar { margin-bottom: 8px; }
.filter-bar .btn { margin-bottom: 4px; }
.sync-lock { max-width: 700px; margin: 0 auto; }
.small-box h3 { font-size: 30px; }
.box .box-tools .btn { margin-left: 3px; }
.dataTables_wrapper .dataTables_filter input { min-width: 200px; }
.info-box-text { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.25; }
.progress-group .progress { margin-bottom: 8px; }
@media (max-width: 767px) { .vo-auth .login-logo { font-size: 28px; } .box-header .box-tools { position: static; margin-top: 8px; } }
.navbar-nav > .user-menu .user-image.vo-avatar { border: 2px solid rgba(255,255,255,.7); line-height: 21px !important; }
h4.vo-h { font-size: 16px; margin: 6px 0 10px; }
.callout .btn { text-decoration: none !important; color: #444 !important; }
.callout .btn:hover { color: #000 !important; }

/* ---- Iris ---- */
.vo-iris .box-header { background: #f7f7f9; }
.vo-iris-modes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.vo-iris-mode { flex: 1; min-width: 220px; border: 1px solid #d2d6de; border-radius: 4px; padding: 9px 12px; cursor: pointer; font-weight: 400; margin: 0; background: #fafafa; }
.vo-iris-mode small { display: block; color: #777; margin-left: 20px; }
.vo-iris-mode.active { border-color: #3c8dbc; background: #eef6fb; box-shadow: inset 3px 0 0 #3c8dbc; }
.vo-iris-scanbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.vo-iris-device { flex: 1; min-width: 240px; border: 1px solid #d2d6de; border-left: 4px solid #3c8dbc; padding: 6px 10px; background: #fff; }
.vo-iris-device.ok { border-left-color: #00a65a; } .vo-iris-device.warn { border-left-color: #f39c12; } .vo-iris-device.err { border-left-color: #dd4b39; }
.vo-iris-grid { margin: 0 -5px; } .vo-iris-grid > div { padding: 0 5px; }
.vo-iris-card { border: 1px solid #d2d6de; border-radius: 4px; padding: 6px; margin-bottom: 10px; text-align: center; background: #fff; }
.vo-iris-slot.done .vo-iris-card { border-color: #00a65a; box-shadow: 0 0 0 1px #00a65a inset; }
.vo-iris-title { font-weight: 600; font-size: 12px; } .vo-iris-title small { color: #888; }
.vo-iris-img { position: relative; height: 92px; background: #f4f4f4; border-radius: 3px; margin: 4px 0; overflow: hidden; }
.vo-iris-img img { width: 100%; height: 100%; object-fit: contain; display: none; } .vo-iris-img img.has { display: block; }
.vo-iris-ph { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 32px; color: #ccc; }
.vo-iris-img img.has + .vo-iris-ph { display: none; }
.vo-iris-state { min-height: 18px; margin-bottom: 4px; }
.vo-iris-thumbs { display: flex; flex-wrap: wrap; gap: 6px; } .vo-iris-thumbs a { display: block; width: 92px; text-align: center; font-size: 11px; color: #555; }
.vo-iris-thumbs img { width: 92px; height: 70px; object-fit: contain; background: #f4f4f4; border: 1px solid #ddd; }

/* ===================== v3: online forms ===================== */
.vo-formbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; background: #fff; border: 1px solid #e3e7ec; border-left: 4px solid #00a65a; border-radius: 4px; padding: 8px 12px; margin-bottom: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.05); font-size: 13px; }
.vo-fb-item { white-space: nowrap; color: #444; }
.vo-fb-item i { color: #00a65a; margin-right: 3px; }
.vo-fb-item b { font-size: 15px; color: #222; margin-left: 3px; }
.vo-fb-fee i { color: #dd4b39; }
.vo-fb-fee b { color: #dd4b39; }
.vo-fb-note { color: #6c7a89; flex: 1 1 260px; font-size: 12.5px; }
.vo-fb-note i { color: #00c0ef; }
.vo-switch { margin-bottom: 14px; }
.vo-switch-title { font-weight: 600; color: #555; margin-bottom: 8px; }
.vo-switch-card { display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid #e3e7ec; border-radius: 6px; padding: 10px 12px; margin-bottom: 8px; color: #333; position: relative; transition: border-color .15s, box-shadow .15s; }
a.vo-switch-card:hover { border-color: #f39c12; color: #333; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.vo-switch-card.active { border-color: #dd4b39; background: #fff7f6; }
.vo-switch-card.disabled { opacity: .55; cursor: not-allowed; background: #f6f7f9; }
.vo-switch-ic { width: 40px; height: 40px; border-radius: 50%; background: #f4f6f8; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; color: #dd4b39; flex: 0 0 40px; }
.vo-switch-body b { display: block; }
.vo-switch-body small { color: #777; }
.vo-switch-card.disabled .vo-switch-body small { color: #dd4b39; font-weight: 600; }
.vo-switch-tick { position: absolute; top: 8px; right: 10px; color: #dd4b39; font-size: 18px; }
.vo-form-intro { background: #f4f9fd; border: 1px solid #d6e9f8; border-radius: 4px; padding: 8px 12px; color: #31708f; }
.vo-sec { margin-bottom: 6px; }
.vo-sec-head { font-size: 15px; font-weight: 600; color: #333; border-bottom: 1px solid #eef0f3; padding: 8px 0 7px; margin-bottom: 12px; }
.vo-sec-head > .fa { color: #dd4b39; margin: 0 3px; }
.vo-sec-no { display: inline-block; width: 24px; height: 24px; line-height: 24px; text-align: center; border-radius: 50%; background: #dd4b39; color: #fff; font-size: 12px; margin-right: 4px; }
.vo-sec-link { float: right; font-size: 13px; font-weight: 400; }
.vo-form-box .form-group { margin-bottom: 12px; }
.vo-form-box .help-block { margin-top: 3px; }
.vo-form-box .has-error .form-control { border-color: #dd4b39; box-shadow: 0 0 0 2px rgba(221,75,57,.15); }
.vo-foot-fee { line-height: 34px; }
.vo-err-list { margin: 0; padding-left: 20px; }
.vo-err-list li { margin: 3px 0; }
.vo-photo { display: flex; gap: 10px; align-items: flex-start; }
.vo-photo-prev { width: 64px; height: 80px; flex: 0 0 64px; border: 1px dashed #c9d0d8; border-radius: 4px; background: #f7f8fa; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.vo-photo-prev i { font-size: 30px; color: #c9d0d8; }
.vo-photo-prev img { display: none; width: 100%; height: 100%; object-fit: cover; }
.vo-photo.has .vo-photo-prev img { display: block; }
.vo-photo.has .vo-photo-prev i { display: none; }
.vo-photo-body { flex: 1; min-width: 0; }
.vo-crop-wrap { max-height: 60vh; }
.vo-crop-wrap img { display: block; max-width: 100%; }
.vo-checklist ul { margin: 0; padding-left: 18px; }
.vo-iris-warning { margin-bottom: 10px; }
.vo-iris-warning p { margin: 0; }
/* Aadhaar example cards */
.vo-ex { border: 1px solid #eef0f3; border-radius: 6px; padding: 10px 12px; margin-bottom: 12px; }
.vo-ex h5 { font-weight: 600; margin: 0 0 8px; }
.vo-ex-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vo-ex-row > div { flex: 1 1 200px; min-width: 0; }
.vo-ex-row small { display: block; color: #777; margin-bottom: 3px; font-weight: 600; }
.vo-ex-arrow { font-size: 22px; color: #999; font-weight: 700; }
.vo-ex-tip { margin: 8px 0 0; font-size: 13px; }
.vo-aadh { border-radius: 6px; padding: 8px 10px; font-size: 12px; background: #fff; border: 1px solid #dfe3e8; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.vo-aadh-top { display: flex; justify-content: space-between; color: #888; font-size: 11px; margin-bottom: 4px; }
.vo-aadh-tag { font-weight: 700; color: #fff; padding: 0 6px; border-radius: 3px; background: #999; }
.vo-aadh.old .vo-aadh-tag { background: #dd4b39; }
.vo-aadh.new .vo-aadh-tag { background: #00a65a; }
.vo-aadh.hof .vo-aadh-tag { background: #605ca8; }
.vo-aadh.new { border-color: #b8e3cb; background: #f6fcf8; }
.vo-aadh-addr { min-height: 48px; }
.vo-aadh-foot { margin-top: 6px; border-top: 1px dashed #e3e7ec; padding-top: 4px; color: #555; font-family: monospace; }
@media (max-width: 767px) { .vo-ex-arrow { transform: rotate(90deg); width: 100%; text-align: center; } .vo-sec-link { float: none; display: block; margin-top: 4px; } .vo-foot-fee { display: block; line-height: 1.6; margin-bottom: 8px; } }

/* ===================== v3: notifications ticker ===================== */
.vo-notice { display: flex; align-items: stretch; background: #e8f8ef; border-bottom: 1px solid #c9ecd7; font-size: 13.5px; overflow: hidden; }
.vo-notice-label { flex: 0 0 auto; display: flex; align-items: center; gap: 5px; padding: 7px 12px; background: #25d366; color: #fff; font-weight: 600; white-space: nowrap; }
.vo-notice-label .fa { font-size: 17px; }
.vo-notice-track { flex: 1; overflow: hidden; position: relative; display: flex; align-items: center; min-width: 0; }
.vo-notice-move { display: inline-block; white-space: nowrap; padding-left: 0; animation: voTicker 45s linear infinite; will-change: transform; }
.vo-notice:hover .vo-notice-move { animation-play-state: paused; }
.vo-notice-item { margin: 0 24px; color: #1d4d30; }
.vo-notice-item > .fa-circle { font-size: 7px; vertical-align: middle; margin-right: 4px; opacity: .6; }
.vo-notice-link { font-weight: 600; margin-left: 4px; }
.vo-notice-btn { flex: 0 0 auto; align-self: center; margin: 0 8px; background: #25d366; color: #fff !important; border-radius: 14px; padding: 3px 12px; font-weight: 600; font-size: 12.5px; }
.vo-notice-btn:hover { background: #1ebe5b; }
@keyframes voTicker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.vo-notice.vo-ns-info { background: #e8f4fb; border-color: #cfe7f5; } .vo-notice.vo-ns-info .vo-notice-label, .vo-notice.vo-ns-info .vo-notice-btn { background: #3c8dbc; }
.vo-notice.vo-ns-warning { background: #fff6e5; border-color: #fbe2b4; } .vo-notice.vo-ns-warning .vo-notice-label, .vo-notice.vo-ns-warning .vo-notice-btn { background: #f39c12; }
.vo-notice.vo-ns-danger { background: #fdecea; border-color: #f7cdc7; } .vo-notice.vo-ns-danger .vo-notice-label, .vo-notice.vo-ns-danger .vo-notice-btn { background: #dd4b39; }
.vo-notice.vo-ns-success { background: #e9f7ef; border-color: #c4ead4; } .vo-notice.vo-ns-success .vo-notice-label, .vo-notice.vo-ns-success .vo-notice-btn { background: #00a65a; }
.vo-notice-item.vo-ns-danger { color: #a33224; } .vo-notice-item.vo-ns-warning { color: #8a5a00; } .vo-notice-item.vo-ns-info { color: #245b7a; }
.vo-ns-chip { color: #fff; background: #25d366; }
.vo-ns-chip.vo-ns-info { background: #3c8dbc; } .vo-ns-chip.vo-ns-warning { background: #f39c12; } .vo-ns-chip.vo-ns-danger { background: #dd4b39; } .vo-ns-chip.vo-ns-success { background: #00a65a; }
@media (prefers-reduced-motion: reduce) { .vo-notice-move { animation: none; padding-left: 10px; white-space: normal; } }

/* ===================== v3: admin demo mode ===================== */
.vo-demo-bar { position: fixed; z-index: 1101; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; background: #222d32; color: #fff; padding: 6px 12px; font-size: 13px; box-shadow: 0 -2px 8px rgba(0,0,0,.3); border-top: 3px solid #f39c12; }
.vo-demo-title .fa { color: #f39c12; }
.vo-demo-links .btn { margin: 2px 1px; }
.vo-demo-links .btn.active { background: #f39c12; color: #fff; border-color: #e08e0b; }
body.vo-demo .main-footer { padding-bottom: 52px; }
body.vo-demo .content-wrapper { padding-bottom: 46px; }
.sidebar-menu > li.vo-demo-back > a { background: #f39c12 !important; color: #fff !important; font-weight: 600; }
.vo-become-card { border-radius: 8px; padding: 18px 16px 10px; color: #fff; text-align: center; position: relative; overflow: hidden; margin-bottom: 10px; }
.vo-become-card h4 { margin: 4px 0; font-weight: 600; }
.vo-become-ic { font-size: 34px; opacity: .9; }
.vo-become-btn { font-weight: 600; }

/* ===================== v3: commission ===================== */
.vo-mode-cards { margin-bottom: 8px; }
.vo-mode-card { display: block; border: 2px solid #e3e7ec; border-radius: 6px; padding: 10px 12px 10px 34px; position: relative; font-weight: 400; cursor: pointer; min-height: 92px; }
.vo-mode-card input { position: absolute; left: 12px; top: 13px; }
.vo-mode-card b { display: block; margin-bottom: 3px; }
.vo-mode-card small { color: #666; }
.vo-mode-card:has(input:checked) { border-color: #3c8dbc; background: #f4f9fd; }
.vo-calc { margin-top: 14px; background: #fafbfc; border: 1px solid #eef0f3; border-radius: 6px; padding: 8px 12px 12px; }
.vo-stat { background: #f4f6f8; border-radius: 6px; padding: 8px 4px; }
.vo-stat b { display: block; font-size: 18px; color: #00a65a; }
.vo-stat small { color: #777; }
/* aligned form grid (fields with help text no longer break the rows) */
.vo-form-box .vo-sec > .row, #applyForm > .box-body > .row:last-child { display: flex; flex-wrap: wrap; }
.vo-form-box .vo-sec > .row > [class*="col-"], #applyForm > .box-body > .row:last-child > [class*="col-"] { float: none; width: 100%; }
@media (min-width: 768px) {
  .vo-form-box .vo-sec > .row > .col-sm-6, #applyForm > .box-body > .row:last-child > .col-sm-6 { width: 50%; }
  .vo-form-box .vo-sec > .row > .col-sm-4 { width: 33.3333%; }
}
.vo-doc-thumb { max-height: 90px; max-width: 120px; border: 1px solid #ddd; border-radius: 3px; padding: 2px; background: #fff; vertical-align: middle; }
