:root{--dms-primary:#6047d7;--dms-primary-dark:#24106e}.dms-app{margin:0!important;background:#f5f6fa;color:#111827}.dms-app a{text-decoration:none}.dms-app .btn-primary{--bs-btn-bg:var(--dms-primary);--bs-btn-border-color:var(--dms-primary);--bs-btn-hover-bg:#4f38c1;--bs-btn-hover-border-color:#4f38c1}.dms-brand-logo,.dms-auth-logo{display:inline-flex;align-items:center;gap:10px}.dms-logo-mark{width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,#6b5cff,#4d3ac8);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:21px;box-shadow:0 8px 20px rgba(96,71,215,.2)}.dms-logo-text{font-size:22px;font-weight:800;color:#171331;letter-spacing:-.4px}.dark .dms-logo-text{color:#fff}.dms-auth-page .auth-left{background:linear-gradient(145deg,#f0edff,#e4eaff)}.dms-auth-page .auth-left img{max-width:78%}.dms-auth-page .auth-right{min-height:100vh}.dms-portal-page .sidebar-menu li.active-page>a{background:var(--primary-50);color:var(--primary-600)}.dms-portal-page .dashboard-main-body{min-height:calc(100vh - 150px)}.dms-service-tabs .nav-link{display:flex;align-items:center;gap:8px;border:1px solid var(--neutral-200);color:var(--text-primary-light);padding:10px 14px;border-radius:10px}.dms-service-tabs .nav-link.active{background:var(--dms-primary);border-color:var(--dms-primary);color:#fff}.dms-pricing-card{overflow:hidden;position:relative;border:1px solid #e5e7eb}.dms-pricing-card.popular{box-shadow:0 18px 50px rgba(96,71,215,.16);transform:translateY(-8px)}.dms-pricing-head{background:#5d43ca;padding:26px}.dms-popular-label{position:absolute;right:0;top:28px;background:#ff3f91;color:#fff;padding:8px 18px;font-weight:700;z-index:2}.dms-feature-list{list-style:none;padding:0;margin:0}.dms-feature-list li{display:flex;align-items:center;gap:10px;padding:8px 0}.dms-product-image{height:190px;background:#f4f6fb;overflow:hidden}.dms-product-image img{width:100%;height:100%;object-fit:cover}.dms-settings-nav .nav-link{display:flex;align-items:center;gap:10px;color:var(--text-primary-light);padding:12px 14px;margin-bottom:8px;border-radius:10px}.dms-settings-nav .nav-link.active{background:var(--primary-50);color:var(--primary-600)}.dms-license-key{font-size:12px;white-space:nowrap}.dms-store-shell{min-height:100vh;display:flex;flex-direction:column;background:#f6f6f8}.dms-store-header{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 34px;background:#f6f6f8}.dms-store-main{width:min(1110px,calc(100% - 32px));margin:20px auto 60px}.dms-store-footer{text-align:center;padding:24px;color:#6b7280;font-size:13px;margin-top:auto}.dms-sticky-summary{top:24px}.dms-cart-term{max-width:260px}.dms-payment-option{display:flex;align-items:center;justify-content:space-between;border:1px solid #dfe3ea;border-radius:12px;padding:16px 18px;cursor:pointer;background:#fff}.dms-payment-option:has(input:checked){border-color:var(--dms-primary);box-shadow:0 0 0 2px rgba(96,71,215,.1)}.dms-payment-option input{accent-color:var(--dms-primary)}@media(max-width:991px){.dms-pricing-card.popular{transform:none}.dms-store-header{padding:0 16px}.dms-store-main{margin-top:8px}.dms-logo-text{font-size:19px}.dms-product-image{height:170px}}@media print{.sidebar,.navbar-header,.d-footer,.dashboard-main-body>.d-flex,.btn{display:none!important}.dashboard-main{margin-left:0!important}.dashboard-main-body{padding:0!important;background:#fff}}

/* --- v1.0.1 fixes --- */
.dms-logo-mark,.dms-logo-text{display:none!important}
.dms-brand-logo,.dms-auth-logo{display:inline-flex!important;align-items:center!important;gap:0!important;line-height:1}
.dms-logo-image{display:block;max-width:100%;width:auto;object-fit:contain}
.sidebar .sidebar-logo{padding:18px 6px 20px;display:flex!important;align-items:center}
.navbar-search input{min-width:280px}
.sidebar-menu li a,.sidebar-submenu li a,.dms-settings-nav .nav-link,.btn{display:flex;align-items:center}
.sidebar-menu li a{gap:12px}
.sidebar-menu .menu-icon{display:inline-flex!important;align-items:center;justify-content:center;min-width:22px;font-size:20px;line-height:1;flex:0 0 22px}
.sidebar-menu li.active-page>a .menu-icon,.sidebar-menu li a:hover .menu-icon{color:var(--primary-600)}
.btn{gap:.5rem}
.btn iconify-icon,.sidebar-toggle iconify-icon,.navbar-search .icon,iconify-icon.menu-icon{display:inline-flex!important;align-items:center;justify-content:center;vertical-align:middle;line-height:1}
.btn-sm iconify-icon{font-size:16px}
.sidebar-toggle{width:44px;height:44px;border:none;border-radius:10px;background:#1f6fd6;color:#fff;display:inline-flex;align-items:center;justify-content:center;padding:0}
.sidebar-toggle .active{display:none!important}
.sidebar-toggle .non-active{display:inline-flex!important}
.dms-portal-page .sidebar-menu li.active-page>a{background:#eaf2ff!important;color:var(--primary-600)!important;border-radius:12px}
.dms-portal-page .sidebar-menu>li>a,.dms-portal-page .sidebar-submenu li a{padding-top:12px;padding-bottom:12px}
.form-check.form-switch,.form-switch.switch-primary{display:flex;align-items:center;gap:10px;padding-left:0;min-height:24px}
.form-check.form-switch .form-check-input,.form-switch.switch-primary .form-check-input,.dms-term-switch{float:none!important;margin:0!important;cursor:pointer;width:46px;height:24px;border-radius:999px;border:none;background-color:#b8bec9;background-image:none;box-shadow:none;position:relative;appearance:none;-webkit-appearance:none}
.form-check.form-switch .form-check-input:before,.form-switch.switch-primary .form-check-input:before,.dms-term-switch:before{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:all .2s ease;box-shadow:0 2px 4px rgba(0,0,0,.15)}
.form-check.form-switch .form-check-input:checked,.form-switch.switch-primary .form-check-input:checked,.dms-term-switch:checked{background-color:var(--dms-primary)!important}
.form-check.form-switch .form-check-input:checked:before,.form-switch.switch-primary .form-check-input:checked:before,.dms-term-switch:checked:before{left:25px}
.form-check.form-switch .form-check-label{margin:0;line-height:1.5}
.dms-product-grid .card{border:1px solid #e7eaf1;border-radius:16px}
.dms-product-card .card-body{gap:0}
.dms-product-image{border-bottom:1px solid #eef1f5}
.dms-product-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
.dms-product-actions .btn{width:100%;min-height:42px;white-space:nowrap}
.dms-payment-option{gap:14px}
.dms-store-header .dms-logo-image{height:38px!important}
.dms-auth-page .dms-logo-image{height:46px!important}
.dms-admin-product-form p{margin:0}
.dms-admin-product-form input,.dms-admin-product-form select{min-height:40px;padding:6px 10px}
@media (max-width:767px){
  .dms-product-actions{grid-template-columns:1fr}
  .navbar-search input{min-width:180px}
}

/* --- v1.0.2 entitlement details --- */
.dms-license-key{display:inline-block;max-width:230px;overflow-wrap:anywhere;white-space:normal}
.dms-service-license-card{background:var(--white);transition:box-shadow .2s ease,border-color .2s ease}
.dms-service-license-card:hover{border-color:var(--primary-300)!important;box-shadow:0 10px 30px rgba(17,24,39,.06)}
.dms-product-card .badge{line-height:1.2}
@media(max-width:991px){.dms-license-key{max-width:180px}}


/* --- v1.0.3 header and logo refinement --- */
.dms-sidebar-brand{padding:0 16px!important;height:72px!important;justify-content:flex-start!important;overflow:hidden}
.dms-sidebar-brand-inner{display:flex;align-items:center;gap:12px;min-width:0}
.dms-sidebar-brand .logo-icon{display:block!important;width:34px;height:34px;max-height:none!important;flex:0 0 34px}
.dms-sidebar-brand .light-logo{display:block!important;width:auto;height:28px;max-height:none!important;flex:0 1 auto;max-width:150px}
.sidebar.active .dms-sidebar-brand .light-logo{display:none!important}
.sidebar.active .dms-sidebar-brand .logo-icon{display:block!important}
.sidebar.active:hover .dms-sidebar-brand .light-logo{display:block!important}
.sidebar.active:hover .dms-sidebar-brand .logo-icon{display:block!important}
.navbar-header{background:#fff!important;border-bottom:1px solid var(--neutral-200);padding:0!important;min-height:72px}
.navbar-header .row{min-height:72px;margin:0!important}
.navbar-header .col-auto{padding-left:0!important;padding-right:0!important}
.dms-navbar-start{height:72px;flex-wrap:nowrap!important}
.sidebar-toggle{display:inline-flex!important;align-items:center;justify-content:center;width:72px!important;height:72px!important;padding:0!important;border:0!important;border-inline-end:1px solid var(--neutral-200)!important;border-radius:0!important;background:transparent!important;color:var(--text-primary-light)!important;box-shadow:none!important}
.sidebar-toggle:hover{background:var(--neutral-50)!important}
.sidebar-toggle .icon{font-size:30px!important;color:var(--text-primary-light)!important}
.dms-navbar-search{padding-left:24px}
.dms-navbar-search input{width:32rem;max-width:calc(100vw - 260px);min-width:320px;height:48px;border-radius:12px;padding-inline-start:48px!important;background:var(--neutral-50)!important}
.dms-navbar-search .icon{inset-inline-start:16px!important;font-size:20px!important;color:#6b7280!important}
@media (max-width: 1199px){.sidebar-toggle{width:56px!important;height:56px!important;border-inline-end:none!important;border-radius:12px!important;background:var(--primary-600)!important;color:#fff!important}.sidebar-toggle .icon{color:#fff!important}.dms-navbar-start{gap:12px!important}.dms-navbar-search{padding-left:0}}
@media (max-width: 767px){.navbar-header{min-height:60px}.navbar-header .row{min-height:60px}.sidebar-toggle{width:52px!important;height:52px!important}.dms-sidebar-brand{height:64px!important;padding:0 12px!important}.dms-sidebar-brand .logo-icon{width:30px;height:30px;flex-basis:30px}.dms-sidebar-brand .light-logo{height:24px;max-width:120px}}


/* --- v1.0.4 adminbar/header/sidebar cleanup --- */
html{scroll-behavior:smooth}
body.admin-bar #wpadminbar{display:none!important}
html[lang] { margin-top: 0 !important; }
body.admin-bar{margin-top:0!important;padding-top:0!important}
body.admin-bar .sidebar,body.admin-bar .navbar-header{top:0!important}
.sidebar,.navbar-header{top:0!important}
.dms-sidebar-brand{border-inline-end:1px solid var(--neutral-200)!important;border-block-end:1px solid var(--neutral-200)!important}
.dms-sidebar-brand-inner{height:72px;display:flex;align-items:center;gap:12px;width:100%}
.dms-sidebar-brand .logo-icon{width:36px!important;height:36px!important;object-fit:contain;object-position:center}
.dms-sidebar-brand .light-logo{height:24px!important;max-width:165px!important;object-fit:contain;object-position:left center}
.sidebar.active .dms-sidebar-brand{justify-content:center!important;padding:0!important}
.sidebar.active .dms-sidebar-brand-inner{justify-content:center!important}
.sidebar.active:hover .dms-sidebar-brand{padding:0 16px!important}
.sidebar-menu-area{display:flex;flex-direction:column;justify-content:space-between}
.dms-admin-shortcut{padding:16px 0 8px;border-top:1px solid var(--neutral-200);margin-top:12px}
.dms-admin-shortcut .btn{min-height:44px;border-radius:12px;font-weight:600}
.navbar-header{z-index:2}
.navbar-header .row{align-items:center!important}
.dms-navbar-start{height:72px!important;align-items:center!important}
.sidebar-toggle{flex:0 0 72px!important}
.dms-navbar-search{display:flex!important;align-items:center;height:72px;padding-left:24px!important}
.dms-navbar-search input{margin:0!important}
.dms-navbar-search .icon{top:50%!important;transform:translateY(-50%)!important}
@media (max-width:1199px){body.admin-bar .navbar-header{top:0!important}.dms-admin-shortcut{padding:14px 0 0}.dms-sidebar-brand .light-logo{max-width:140px!important}}
@media (max-width:767px){.dms-admin-shortcut .btn span{font-size:14px}.dms-navbar-search{height:auto;padding:12px 0 12px 0!important}}


/* --- v1.0.5 search icon alignment fix --- */
.dms-navbar-search{position:relative!important;padding-left:0!important;margin-left:28px!important;display:flex!important;align-items:center!important;height:72px!important}
.dms-navbar-search input{width:31rem!important;max-width:calc(100vw - 300px)!important;min-width:320px!important;height:48px!important;padding-inline-start:56px!important;padding-inline-end:20px!important;border-radius:12px!important}
.dms-navbar-search .icon{position:absolute!important;left:18px!important;inset-inline-start:18px!important;top:50%!important;transform:translateY(-50%)!important;font-size:22px!important;line-height:1!important;z-index:2;color:#6b7280!important;pointer-events:none}
.dms-navbar-start{gap:0!important}
@media (max-width:1199px){.dms-navbar-search{margin-left:0!important}.dms-navbar-search input{max-width:calc(100vw - 180px)!important}}
@media (max-width:767px){.dms-navbar-search{margin-left:0!important;height:auto!important}}


/* --- v1.0.6 WowDash original responsive mobile header --- */
.sidebar-mobile-toggle{
  border:0;
  background:transparent;
  color:var(--text-primary-light);
  padding:0;
  line-height:1;
}
.sidebar-mobile-toggle .icon{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  font-size:24px!important;
}

@media (max-width:1199.98px){
  .navbar-header{
    height:72px!important;
    min-height:72px!important;
    padding:16px 24px!important;
    position:sticky!important;
    top:0!important;
  }
  .navbar-header>.row{
    width:100%!important;
    min-height:40px!important;
    height:40px!important;
    margin:0!important;
    flex-wrap:nowrap!important;
  }
  .navbar-header>.row>.col-auto:first-child{
    flex:1 1 auto!important;
    min-width:0!important;
  }
  .navbar-header>.row>.col-auto:last-child{
    flex:0 0 auto!important;
  }
  .dms-navbar-start{
    height:40px!important;
    min-height:40px!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    gap:16px!important;
  }
  .sidebar-toggle{
    display:none!important;
  }
  .sidebar-mobile-toggle{
    display:inline-flex!important;
    width:40px!important;
    height:40px!important;
    flex:0 0 40px!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:8px!important;
    background:transparent!important;
    color:var(--text-primary-light)!important;
  }
  .sidebar-mobile-toggle:hover,
  .sidebar-mobile-toggle:focus{
    background:var(--neutral-100)!important;
  }
  .dms-navbar-search,
  .navbar-search{
    display:none!important;
  }
  .navbar-header .col-auto:last-child>.d-flex{
    flex-wrap:nowrap!important;
    align-items:center!important;
    gap:12px!important;
  }
  .navbar-header [data-theme-toggle],
  .navbar-header .dropdown>button{
    width:40px!important;
    height:40px!important;
    flex:0 0 40px!important;
  }
  .dashboard-main-body{
    padding:15px!important;
  }
  .dashboard-main-body>.d-flex:first-child{
    margin-top:0!important;
  }
}

@media (max-width:575.98px){
  .navbar-header{
    height:64px!important;
    min-height:64px!important;
    padding:12px 16px!important;
  }
  .navbar-header>.row{
    min-height:40px!important;
    height:40px!important;
  }
  .navbar-header .col-auto:last-child>.d-flex{
    gap:8px!important;
  }
  .dashboard-main-body{
    padding:12px!important;
  }
  .dashboard-main-body>.d-flex:first-child{
    align-items:flex-start!important;
    gap:8px!important;
    margin-bottom:16px!important;
  }
  .dashboard-main-body>.d-flex:first-child>h6{
    font-size:20px!important;
    line-height:1.3!important;
  }
  .dashboard-main-body>.d-flex:first-child>ul{
    display:none!important;
  }
  .row.row-cols-xxxl-4.row-cols-lg-4.row-cols-sm-2.row-cols-1.gy-4{
    --bs-gutter-y:16px!important;
  }
  .row.row-cols-xxxl-4.row-cols-lg-4.row-cols-sm-2.row-cols-1.gy-4 .card-body{
    padding:18px!important;
  }
}


/* --- v1.0.7 footer spacing --- */
.dms-portal-page .dashboard-main-body{
  padding-bottom:32px!important;
}
.dms-portal-page .d-footer{
  position:relative;
  z-index:1;
}
@media (max-width:767.98px){
  .dms-portal-page .dashboard-main-body{
    padding-bottom:24px!important;
  }
}


/* --- v1.0.8 sticky footer structure fix --- */
.dms-portal-page{min-height:100vh!important;min-height:100dvh!important;background:#f5f6fa!important}
.dms-portal-page .dashboard-main{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;min-height:100vh!important;min-height:100dvh!important}
.dms-portal-page .navbar-header{flex:0 0 auto!important}
.dms-portal-page .dashboard-main-body{flex:1 0 auto!important;width:100%!important;padding-bottom:32px!important}
.dms-portal-page .d-footer{flex:0 0 auto!important;margin-top:auto!important;width:100%!important;position:relative!important;clear:both!important}
@media (max-width:767.98px){
  .dms-portal-page .dashboard-main-body{padding-bottom:24px!important}
  .dms-portal-page .d-footer{padding:18px 16px!important}
  .dms-portal-page .d-footer .row{row-gap:8px!important}
}


/* --- v1.0.9 Produk & Layanan desktop sizing --- */
@media (min-width:992px){
  /* Tab kategori layanan */
  .dms-service-tabs{
    gap:8px!important;
  }
  .dms-service-tabs .nav-link{
    padding:9px 12px!important;
    border-radius:9px!important;
    font-size:14px!important;
    line-height:1.35!important;
  }
  .dms-service-tabs .nav-link iconify-icon{
    font-size:17px!important;
  }

  /* Paket harga website */
  .dms-pricing-grid{
    max-width:1120px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    --bs-gutter-x:22px!important;
    --bs-gutter-y:22px!important;
  }
  .dms-pricing-card{
    border-radius:10px!important;
  }
  .dms-pricing-card.popular{
    transform:translateY(-4px)!important;
    box-shadow:0 14px 36px rgba(96,71,215,.13)!important;
  }
  .dms-pricing-head{
    padding:20px 22px!important;
    min-height:112px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
  }
  .dms-pricing-head h4{
    font-size:24px!important;
    line-height:1.2!important;
    letter-spacing:-.25px!important;
  }
  .dms-pricing-head p{
    font-size:14px!important;
    line-height:1.45!important;
  }
  .dms-popular-label{
    top:24px!important;
    padding:7px 15px!important;
    font-size:13px!important;
  }
  .dms-pricing-card .card-body{
    padding:20px 22px!important;
  }
  .dms-price-line{
    display:flex!important;
    align-items:baseline!important;
    flex-wrap:nowrap!important;
    gap:4px!important;
    margin-bottom:18px!important;
    white-space:nowrap!important;
    line-height:1!important;
  }
  .dms-price-currency{
    font-size:15px!important;
    align-self:flex-start!important;
    padding-top:5px!important;
  }
  .dms-price-value{
    font-size:39px!important;
    line-height:1!important;
    font-weight:600!important;
    letter-spacing:-1.2px!important;
  }
  .dms-price-period{
    font-size:14px!important;
    line-height:1.2!important;
  }
  .dms-feature-list li{
    gap:8px!important;
    padding:6px 0!important;
    font-size:14px!important;
    line-height:1.35!important;
  }
  .dms-feature-list li iconify-icon:first-child{
    font-size:15px!important;
    flex:0 0 15px!important;
  }
  .dms-feature-list li iconify-icon:last-child{
    font-size:14px!important;
    flex:0 0 14px!important;
  }
  .dms-pricing-card .btn{
    min-height:42px!important;
    padding:9px 14px!important;
    font-size:14px!important;
    line-height:1.3!important;
  }

  /* Tema, Template, dan Plugin */
  .dms-product-grid{
    --bs-gutter-x:20px!important;
    --bs-gutter-y:20px!important;
  }
  .dms-product-grid .dms-product-card{
    border-radius:12px!important;
  }
  .dms-product-grid .dms-product-image{
    height:160px!important;
  }
  .dms-product-grid .card-body{
    padding:17px!important;
  }
  .dms-product-grid .badge,
  .dms-product-grid .text-sm{
    font-size:12px!important;
  }
  .dms-product-grid h6.text-lg{
    font-size:17px!important;
    line-height:1.35!important;
  }
  .dms-product-grid p{
    font-size:13px!important;
    line-height:1.5!important;
  }
  .dms-product-grid h5{
    font-size:20px!important;
    line-height:1.25!important;
  }
  .dms-product-grid .btn{
    min-height:38px!important;
    padding:8px 10px!important;
    font-size:13px!important;
  }
}


/* --- v1.0.10 switch cleanup --- */
.dms-pricing-term-toggle{padding:14px 22px!important;gap:18px!important;border-radius:18px!important;min-height:64px;box-shadow:none}
.dms-pricing-term-toggle>a{font-size:18px;line-height:1.2;white-space:nowrap}
.dms-switch-wrap,.dms-setting-switch,.form-check.form-switch,.form-switch.switch-primary{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px;min-height:auto;padding-left:0!important;margin-bottom:0!important}
.dms-switch-wrap .form-check-input,.dms-setting-switch .form-check-input,.form-check.form-switch .form-check-input,.form-switch.switch-primary .form-check-input,.dms-term-switch{width:60px!important;height:32px!important;min-width:60px!important;flex:0 0 60px;display:inline-block!important;vertical-align:middle;float:none!important;margin:0!important;border-radius:999px!important;border:none!important;background:#bcc3cf!important;background-image:none!important;position:relative!important;box-shadow:none!important;cursor:pointer;appearance:none!important;-webkit-appearance:none!important;outline:none!important}
.dms-switch-wrap .form-check-input:before,.dms-setting-switch .form-check-input:before,.form-check.form-switch .form-check-input:before,.form-switch.switch-primary .form-check-input:before,.dms-term-switch:before{content:""!important;position:absolute!important;top:4px!important;left:4px!important;width:24px!important;height:24px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 2px 6px rgba(0,0,0,.18)!important;transition:left .22s ease, transform .22s ease!important}
.dms-switch-wrap .form-check-input:checked,.dms-setting-switch .form-check-input:checked,.form-check.form-switch .form-check-input:checked,.form-switch.switch-primary .form-check-input:checked,.dms-term-switch:checked{background:var(--dms-primary)!important}
.dms-switch-wrap .form-check-input:checked:before,.dms-setting-switch .form-check-input:checked:before,.form-check.form-switch .form-check-input:checked:before,.form-switch.switch-primary .form-check-input:checked:before,.dms-term-switch:checked:before{left:32px!important}
.dms-setting-switch .form-check-label,.form-check.form-switch .form-check-label{margin:0!important;padding:0!important;line-height:1.4!important;font-size:16px!important;color:var(--text-primary-light);cursor:pointer}
.dms-setting-switch{width:100%;padding:6px 0!important}
.dms-setting-switch input{order:0}.dms-setting-switch label{order:1}
.dms-setting-switch + .dms-setting-switch{margin-top:4px}
.dms-pricing-term-toggle .dms-switch-wrap{margin:0 2px!important}
.dms-pricing-term-toggle .dms-switch-wrap .form-check-input{background:#b8bec9!important}
@media (max-width: 767px){.dms-pricing-term-toggle{padding:12px 18px!important;min-height:58px}.dms-pricing-term-toggle>a{font-size:17px!important}.dms-switch-wrap .form-check-input,.dms-setting-switch .form-check-input,.form-check.form-switch .form-check-input,.form-switch.switch-primary .form-check-input,.dms-term-switch{width:54px!important;height:30px!important;min-width:54px!important;flex-basis:54px}.dms-switch-wrap .form-check-input:before,.dms-setting-switch .form-check-input:before,.form-check.form-switch .form-check-input:before,.form-switch.switch-primary .form-check-input:before,.dms-term-switch:before{top:3px!important;left:3px!important;width:24px!important;height:24px!important}.dms-switch-wrap .form-check-input:checked:before,.dms-setting-switch .form-check-input:checked:before,.form-check.form-switch .form-check-input:checked:before,.form-switch.switch-primary .form-check-input:checked:before,.dms-term-switch:checked:before{left:27px!important}}


/* ========================================================================== 
   Demooweb UI regression pass v1.1.0
   Final overrides: robust switches, consistent cards/tables/forms and responsive pages.
   ========================================================================== */
.dms-app *, .dms-app *::before, .dms-app *::after { box-sizing: border-box; }
.dms-app img { max-width: 100%; }
.dms-app .card { border-radius: 12px; }
.dms-app .card-header { border-radius: 12px 12px 0 0; }
.dms-app .btn { min-height: 40px; justify-content: center; line-height: 1.25; }
.dms-app .btn iconify-icon { flex: 0 0 auto; }
.dms-app .form-control,
.dms-app .form-select { min-height: 44px; border-radius: 10px; }
.dms-app textarea.form-control { min-height: 110px; }
.dms-app .table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dms-app .table { vertical-align: middle; }
.dms-app .table th { white-space: nowrap; }
.dms-app .table td { overflow-wrap: anywhere; }
.dms-app .alert { border-radius: 10px; }

/* Robust custom switch. The visible thumb is a real span, not a pseudo-element on input. */
.dms-switch-control {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 32px;
  cursor: pointer;
  user-select: none;
  vertical-align: middle;
}
.dms-switch-control > input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
}
.dms-switch-track {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 56px;
  height: 30px;
  min-width: 56px;
  flex: 0 0 56px;
  padding: 3px;
  border-radius: 999px;
  background: #b8c0cc;
  transition: background-color .2s ease, box-shadow .2s ease;
}
.dms-switch-thumb {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, .22);
  transform: translateX(0);
  transition: transform .2s ease;
}
.dms-switch-control > input:checked + .dms-switch-track { background: var(--dms-primary); }
.dms-switch-control > input:checked + .dms-switch-track .dms-switch-thumb { transform: translateX(26px); }
.dms-switch-control > input:focus-visible + .dms-switch-track { box-shadow: 0 0 0 4px rgba(96, 71, 215, .18); }
.dms-switch-label { font-size: 15px; line-height: 1.45; color: var(--text-primary-light); }
.dms-setting-switch { width: 100%; padding: 8px 0 !important; }
.dms-switch-only { flex: 0 0 auto; }
.dms-pricing-term-toggle {
  min-height: auto !important;
  padding: 11px 16px !important;
  gap: 14px !important;
  border-radius: 12px !important;
}
.dms-pricing-term-toggle > a { font-size: 16px !important; line-height: 1.25 !important; }
.dms-pricing-term-toggle .dms-switch-track { width: 52px; min-width: 52px; flex-basis: 52px; height: 28px; padding: 3px; }
.dms-pricing-term-toggle .dms-switch-thumb { width: 22px; height: 22px; }
.dms-pricing-term-toggle input:checked + .dms-switch-track .dms-switch-thumb { transform: translateX(24px); }

/* Header/sidebar consistency. */
.dms-portal-page .navbar-header { box-shadow: none; }
.dms-navbar-start { min-width: 0; }
.dms-navbar-search { min-width: 0; }
.dms-navbar-search input { max-width: min(31rem, calc(100vw - 390px)) !important; }
.dms-sidebar-brand .logo-icon,
.dms-sidebar-brand .light-logo { flex-shrink: 0; }
.sidebar-menu-area > .sidebar-menu { flex: 0 0 auto; }
.dms-admin-shortcut { flex: 0 0 auto; }

/* Dashboard. */
.dms-portal-page .dashboard-main-body > .row { margin-bottom: 0; }
#dms-order-chart { min-height: 300px; }
.dms-portal-page .progress { height: 8px; border-radius: 999px; overflow: hidden; }
.dms-portal-page .progress-bar { border-radius: 999px; }

/* Orders and invoices. */
.dms-portal-page table.bordered-table { min-width: 720px; }
.dms-portal-page .card-body > .table-responsive:first-child:last-child { border-radius: 0 0 12px 12px; }
.dms-portal-page .shadow-4 { overflow: hidden; }

/* Website pricing. */
.dms-service-tabs { overflow-x: auto; flex-wrap: nowrap !important; padding-bottom: 2px; scrollbar-width: thin; }
.dms-service-tabs .nav-item { flex: 0 0 auto; }
.dms-pricing-grid { align-items: stretch; }
.dms-pricing-card { height: 100%; }
.dms-pricing-card .card-body { min-width: 0; }
.dms-price-line { max-width: 100%; overflow: hidden; }
.dms-price-value { font-variant-numeric: tabular-nums; }
.dms-feature-list span { min-width: 0; overflow-wrap: anywhere; }

/* Theme/template/plugin catalogue. */
.dms-product-card { overflow: hidden; }
.dms-product-image img { display: block; }
.dms-product-actions { width: 100%; }
.dms-product-actions .btn { min-width: 0; }

/* Licenses/services. */
.dms-license-key { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.dms-service-license-card { overflow: hidden; }
.dms-service-license-card strong,
.dms-service-license-card a { overflow-wrap: anywhere; }

/* Settings. */
.dms-settings-nav { min-width: 0; }
.dms-settings-nav .nav-link { width: 100%; }
.dms-settings-nav + * { min-width: 0; }
.dms-portal-page form .row > [class*="col-"] { min-width: 0; }

/* Store/cart/checkout. */
.dms-store-header { gap: 20px; }
.dms-store-header > :last-child { min-width: 0; overflow-wrap: anywhere; text-align: right; }
.dms-sticky-summary { top: 20px; }
.dms-payment-option { min-height: 58px; }
.dms-payment-option > span { min-width: 0; }
.dms-payment-option strong { overflow-wrap: anywhere; }

/* Auth. */
.dms-auth-page .auth-right { padding-top: 32px; padding-bottom: 32px; }
.dms-auth-page .icon-field { position: relative; }

@media (min-width: 992px) {
  .dms-pricing-grid { max-width: 1080px !important; }
  .dms-price-value { font-size: clamp(30px, 2.5vw, 36px) !important; }
  .dms-pricing-head h4 { font-size: 21px !important; }
  .dms-pricing-card .card-body { padding: 18px 20px !important; }
  .dms-feature-list li { font-size: 13.5px !important; }
}

@media (max-width: 1199.98px) {
  .dms-navbar-search { display: none !important; }
  .dms-portal-page table.bordered-table { min-width: 680px; }
  .dms-settings-nav { flex-direction: row !important; flex-wrap: nowrap !important; overflow-x: auto; padding-bottom: 8px; }
  .dms-settings-nav li { flex: 0 0 auto; }
  .dms-settings-nav .nav-link { white-space: nowrap; margin-bottom: 0; }
  .dms-portal-page .col-xl-3.border-end { border-right: 0 !important; border-bottom: 1px solid var(--neutral-200); }
  .dms-sticky-summary { position: static !important; }
}

@media (max-width: 767.98px) {
  .dms-app .card { border-radius: 10px; }
  .dms-portal-page .dashboard-main-body { overflow-x: hidden; }
  .dms-portal-page .card-header { padding: 16px !important; }
  .dms-portal-page .card-body { min-width: 0; }
  .dms-portal-page table.bordered-table { min-width: 640px; }
  #dms-order-chart { min-height: 250px; }
  .dms-pricing-term-toggle { padding: 10px 14px !important; gap: 12px !important; }
  .dms-pricing-term-toggle > a { font-size: 16px !important; }
  .dms-switch-track { width: 52px; min-width: 52px; flex-basis: 52px; height: 28px; }
  .dms-switch-thumb { width: 22px; height: 22px; }
  .dms-switch-control > input:checked + .dms-switch-track .dms-switch-thumb { transform: translateX(24px); }
  .dms-setting-switch { align-items: flex-start !important; }
  .dms-setting-switch .dms-switch-track { margin-top: 1px; }
  .dms-product-actions { grid-template-columns: 1fr !important; }
  .dms-store-header { height: auto; min-height: 68px; padding: 12px 16px; align-items: center; }
  .dms-store-header .dms-logo-image { height: 34px !important; }
  .dms-store-main { width: min(100% - 24px, 1110px); margin-bottom: 32px; }
  .dms-store-main .card-body { padding: 18px !important; }
  .dms-payment-option { padding: 14px; }
  .dms-auth-page .auth-right { padding: 24px 18px !important; }
}

@media (max-width: 479.98px) {
  .dms-pricing-term-toggle { width: 100%; max-width: 300px; justify-content: center; }
  .dms-pricing-term-toggle > a { font-size: 15px !important; }
  .dms-switch-label { font-size: 14px; }
  .dms-store-header { align-items: flex-start; }
  .dms-store-header > :last-child { font-size: 12px; }
}


/* --- v1.1.1 product listing spacing cleanup --- */
.dms-product-actions{padding-top:10px}
.dms-product-card .text-primary-600{line-height:1.15}
.dms-product-card h5{margin-bottom:0}


.dms-payment-methods{display:grid;gap:12px}
.dms-payment-option{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #d9dee8;border-radius:18px;padding:18px 22px;background:#fff;cursor:pointer;transition:all .2s ease;min-height:78px}
.dms-payment-option input{position:absolute;opacity:0;pointer-events:none}
.dms-payment-option:hover{border-color:#c8d0dd}
.dms-payment-option:has(input:checked){border-color:var(--dms-primary);box-shadow:0 0 0 3px rgba(96,71,215,.10)}
.dms-payment-option-label{font-size:18px;font-weight:700;color:#2b1454;line-height:1.2}
.dms-payment-option-end{display:flex;align-items:center;gap:16px;min-width:0;flex-shrink:0}
.dms-payment-brand{display:inline-flex;align-items:center;justify-content:flex-end;min-height:30px}
.dms-payment-brand-image img{display:block;height:34px;width:auto;max-width:148px;object-fit:contain}
.dms-payment-brand-text{font-size:16px;font-weight:800;color:#111827;letter-spacing:.2px}
.dms-payment-chevron{font-size:24px;color:#111827;flex-shrink:0}
.dms-payment-details{border:1px solid #e3e8f0;background:#fbfcfe;border-radius:16px;padding:16px 18px;color:#475569;font-size:14px}
.dms-qris-checkout-image{display:block;max-width:240px;width:100%;height:auto;border-radius:12px;border:1px solid #e5e7eb;background:#fff;padding:8px}
@media (max-width: 767px){
  .dms-payment-option{padding:16px 16px;border-radius:16px;min-height:70px}
  .dms-payment-option-label{font-size:17px}
  .dms-payment-option-end{gap:12px}
  .dms-payment-brand-image img{height:28px;max-width:110px}
  .dms-payment-brand-text{font-size:15px}
}

.dms-step-badge{
  flex:0 0 32px;
  min-width:32px;
  min-height:32px;
  width:32px;
  height:32px;
  aspect-ratio:1/1;
  line-height:1;
  font-weight:600;
  box-sizing:border-box;
}
/* --- v1.2.4 checkout payment accordion --- */
.dms-payment-accordion{
  display:grid;
  gap:16px;
}
.dms-payment-item{
  border:1px solid #d8dee8;
  border-radius:16px;
  background:#fff;
  overflow:hidden;
  transition:border-color .2s ease,box-shadow .2s ease;
}
.dms-payment-item:hover{
  border-color:#c7cfdb;
}
.dms-payment-item.is-active,
.dms-payment-item[open]{
  border-color:#d3d9e3;
  box-shadow:0 1px 2px rgba(15,23,42,.03);
  background:#fff;
}
.dms-payment-radio{
  position:absolute!important;
  opacity:0!important;
  pointer-events:none!important;
}
.dms-payment-trigger{
  list-style:none;
  width:100%;
  min-height:78px;
  padding:18px 26px;
  border:0;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  text-align:left;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.dms-payment-trigger::-webkit-details-marker{display:none;}
.dms-payment-trigger::marker{display:none;content:"";}
.dms-payment-trigger:hover,
.dms-payment-trigger:focus,
.dms-payment-trigger:active{
  background:#fff;
  outline:none;
  box-shadow:none;
}
.dms-payment-title{
  font-size:18px;
  line-height:1.2;
  font-weight:700;
  color:#251151;
}
.dms-payment-trigger-end{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:18px;
  min-width:0;
}
.dms-payment-logo{
  width:140px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  overflow:hidden;
}
.dms-payment-logo img{
  display:block;
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  object-position:right center;
}
.dms-payment-logo-text{
  font-size:17px;
  font-weight:800;
  color:#111827;
  white-space:nowrap;
}
.dms-payment-accordion-chevron{
  font-size:24px;
  color:#111827;
  transition:transform .2s ease;
  flex:0 0 auto;
}
.dms-payment-item.is-active .dms-payment-accordion-chevron,
.dms-payment-item[open] .dms-payment-accordion-chevron{
  transform:rotate(180deg);
}
.dms-payment-panel{
  border-top:1px solid #eef1f5;
  padding:24px 28px 26px;
  background:#fff;
}
.dms-bank-transfer-box{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-bottom:20px;
}
.dms-bank-transfer-box>div{
  padding:14px 16px;
  border:1px solid #e3e8ef;
  border-radius:12px;
  background:#fafbfc;
}
.dms-payment-meta-label{
  display:block;
  margin-bottom:5px;
  font-size:12px;
  color:#64748b;
}
.dms-bank-transfer-box strong{
  font-size:15px;
  color:#111827;
  overflow-wrap:anywhere;
}
.dms-qris-panel{
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:20px;
}
.dms-qris-panel img{
  display:block;
  width:180px;
  max-width:100%;
  height:auto;
  padding:8px;
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#fff;
}
.dms-payment-submit{
  width:min(330px,100%);
  min-height:58px;
  justify-content:center;
  font-size:17px;
  font-weight:700;
  border-radius:10px;
  background:#6537e8!important;
  border-color:#6537e8!important;
}
.dms-payment-submit:hover{
  background:#5527d6!important;
  border-color:#5527d6!important;
}
.dms-payment-secure-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:20px;
  color:#687386;
  font-size:15px;
}
.dms-payment-secure-row iconify-icon{
  font-size:22px;
  color:#6537e8;
}
.dms-payment-legal{
  margin-top:18px;
  max-width:760px;
  font-size:14px;
  line-height:1.75;
  color:#687386;
}
.dms-payment-legal strong{
  color:#4b5563;
}
@media (max-width:767.98px){
  .dms-payment-trigger{
  list-style:none;
    min-height:68px;
    padding:15px 16px;
  }
  .dms-payment-title{
    font-size:16px;
  }
  .dms-payment-trigger-end{
    gap:10px;
  }
  .dms-payment-logo{
    width:94px;
    height:32px;
  }
  .dms-payment-logo-text{
    font-size:14px;
  }
  .dms-payment-panel{
    padding:20px 16px 22px;
  }
  .dms-bank-transfer-box{
    grid-template-columns:1fr;
  }
  .dms-qris-panel{
    align-items:flex-start;
    flex-direction:column;
  }
  .dms-qris-panel img{
    width:210px;
  }
  .dms-payment-submit{
    width:100%;
  }
}


/* --- v1.2.4 WowDash original invoice layout --- */
.dms-wowdash-invoice-card{max-width:980px;margin:0 auto;background:#fff;overflow:hidden}
.dms-wowdash-invoice-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);align-items:start;gap:32px}
.dms-wowdash-invoice-brand{justify-self:end}
.dms-invoice-brand-logo{justify-content:flex-end}
.dms-invoice-brand-logo .dms-logo-image{max-width:230px!important;width:auto!important;height:48px!important;object-fit:contain}
.dms-wowdash-invoice-customer{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.55fr);gap:48px;align-items:start}
.dms-wowdash-invoice-order-meta{justify-self:end;min-width:280px}
.dms-invoice-detail-row{display:grid;grid-template-columns:140px minmax(0,1fr);gap:10px;margin-bottom:8px;color:#475569}
.dms-invoice-detail-row strong{font-weight:500;color:#475569;overflow-wrap:anywhere}
.dms-wowdash-invoice-table-wrap{border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}
.dms-wowdash-invoice-table thead th{background:#f5f6fa!important;color:#111827!important;font-weight:700;padding:18px 20px;border-bottom:1px solid #e5e7eb!important;white-space:nowrap}
.dms-wowdash-invoice-table tbody td{padding:20px;border-bottom:0!important;vertical-align:middle;color:#475569}
.dms-wowdash-invoice-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,380px);gap:24px}
.dms-invoice-total-box{border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;background:#fff}
.dms-invoice-total-box>div{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 16px;border-bottom:1px solid #eef1f5;color:#475569}
.dms-invoice-total-box>div:last-child{border-bottom:0}
.dms-invoice-grand-total{background:#f5f6fa;font-size:17px;color:#111827!important}
.dms-invoice-payment-box{border:1px solid #e5e7eb;border-radius:12px;padding:20px;background:#fbfcfe}
.dms-invoice-bank-logo{display:block;max-width:170px;max-height:48px;width:auto;height:auto;object-fit:contain}
.dms-invoice-payment-detail{height:100%;padding:14px 16px;border:1px solid #e5e7eb;border-radius:10px;background:#fff}
.dms-invoice-payment-detail span{display:block;font-size:12px;color:#64748b;margin-bottom:6px}
.dms-invoice-payment-detail strong{font-size:17px;color:#111827;overflow-wrap:anywhere}
.dms-invoice-qris-image{display:block;max-width:260px;width:100%;height:auto;padding:10px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}
.dms-invoice-actions{max-width:980px;margin-left:auto;margin-right:auto}
@media(max-width:767.98px){
  .dms-wowdash-invoice-header,.dms-wowdash-invoice-customer,.dms-wowdash-invoice-summary{grid-template-columns:1fr}
  .dms-wowdash-invoice-brand,.dms-wowdash-invoice-order-meta{justify-self:start;min-width:0;text-align:left!important}
  .dms-invoice-brand-logo{justify-content:flex-start}
  .dms-invoice-detail-row{grid-template-columns:110px minmax(0,1fr)}
  .dms-wowdash-invoice-table thead th,.dms-wowdash-invoice-table tbody td{padding:14px 12px}
}
@media print{
  .dms-invoice-actions,.dashboard-main-body>.d-flex,.d-footer{display:none!important}
  .dms-wowdash-invoice-card{max-width:none;border:0!important;box-shadow:none!important}
}

/* --- v1.2.10 cart duration cards --- */
.dms-cart-duration-option{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border:1.5px solid #e3e6ef;border-radius:18px;background:#fff;color:#101828;margin-bottom:14px;transition:all .2s ease;text-decoration:none}
.dms-cart-duration-option:hover{border-color:#c8bfff;box-shadow:0 4px 12px rgba(96,71,215,.08);color:#101828}
.dms-cart-duration-option.is-active{border-color:#8f7dff;box-shadow:0 0 0 2px rgba(96,71,215,.08)}
.dms-cart-duration-left,.dms-cart-duration-right{display:flex;align-items:center;gap:12px}
.dms-cart-duration-radio{width:24px;height:24px;border-radius:50%;border:3px solid #7859ff;display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;position:relative}
.dms-cart-duration-option.is-active .dms-cart-duration-radio:after{content:"";width:10px;height:10px;border-radius:50%;background:#7859ff;display:block}
.dms-cart-duration-label{font-size:18px;font-weight:600;line-height:1.2;white-space:nowrap}
.dms-cart-duration-badge{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;background:#f0eafe;color:#7859ff;font-size:14px;font-weight:700;line-height:1}
.dms-cart-duration-old{font-size:16px;font-weight:700;color:#6b7280;text-decoration:line-through;white-space:nowrap}
.dms-cart-duration-current{display:inline-flex;align-items:center;gap:2px;padding:8px 12px;border-radius:12px;background:#f3f4f6;color:#222;font-size:16px;font-weight:800;line-height:1;white-space:nowrap}
.dms-cart-duration-current small{font-size:12px;font-weight:700;color:#555}
@media(max-width:767px){.dms-cart-duration-option{padding:14px 14px;gap:10px;align-items:flex-start;flex-direction:column}.dms-cart-duration-left,.dms-cart-duration-right{width:100%;justify-content:space-between}.dms-cart-duration-left{gap:10px;flex-wrap:wrap}.dms-cart-duration-label{font-size:17px}.dms-cart-duration-right{justify-content:flex-end}}


/* --- v1.2.11 live domain checker --- */
.dms-domain-card{align-items:flex-start}
.dms-domain-icon{flex:0 0 auto;margin-top:2px}
.dms-domain-input-row{display:flex;align-items:stretch;gap:12px}
.dms-domain-input-row .form-control{min-height:54px;border-radius:12px}
.dms-domain-check-button{min-width:112px;border-radius:12px;justify-content:center}
.dms-domain-status{display:flex;align-items:center;gap:8px;min-height:24px;margin-top:10px;font-size:14px;color:#64748b}
.dms-domain-status iconify-icon{font-size:20px;flex:0 0 auto}
.dms-domain-checker.is-checking .dms-domain-status{color:#64748b}
.dms-domain-checker.is-checking .dms-domain-status iconify-icon{animation:dms-domain-spin 1s linear infinite}
.dms-domain-checker.is-available .dms-domain-input{border-color:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.10)}
.dms-domain-checker.is-available .dms-domain-status{color:#15803d;font-weight:600}
.dms-domain-checker.is-taken .dms-domain-input,.dms-domain-checker.is-invalid .dms-domain-input{border-color:#ef4444;box-shadow:0 0 0 3px rgba(239,68,68,.08)}
.dms-domain-checker.is-taken .dms-domain-status,.dms-domain-checker.is-invalid .dms-domain-status{color:#dc2626;font-weight:600}
.dms-domain-checker.is-unknown .dms-domain-status{color:#b45309}
@keyframes dms-domain-spin{to{transform:rotate(360deg)}}
@media(max-width:575.98px){.dms-domain-input-row{flex-direction:column}.dms-domain-check-button{width:100%;min-height:48px}.dms-domain-card{gap:10px!important}}

/* --- v1.3.0 coupon modal and summary --- */
.dms-coupon-modal .modal-dialog{max-width:470px}
.dms-coupon-modal .modal-content{border:0;border-radius:12px;box-shadow:0 18px 55px rgba(15,23,42,.2);overflow:hidden}
.dms-coupon-modal .modal-header{padding:24px 28px 18px;border-bottom:0}
.dms-coupon-modal .modal-title{font-size:22px;font-weight:700;color:#111827}
.dms-coupon-modal .modal-body{padding:0 28px 20px}
.dms-coupon-modal .modal-footer{padding:0 28px 28px;border-top:0}
.dms-coupon-modal .form-label{font-size:15px;font-weight:500;color:#111827;margin-bottom:8px}
.dms-coupon-input{height:50px;border-radius:10px;padding:12px 14px;text-transform:uppercase}
.dms-coupon-modal .dms-apply-coupon{min-height:50px;border-radius:10px;font-size:16px;font-weight:700}
.dms-coupon-message{min-height:22px;margin-top:8px;font-size:13px;color:#64748b}
.dms-coupon-message.is-error{color:#dc2626}
.dms-coupon-message.is-success{color:#16a34a}
.dms-applied-coupon{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #d8f0df;border-radius:10px;background:#f0fdf4;color:#166534;font-size:14px}
.dms-applied-coupon span{display:inline-flex;align-items:center;gap:7px;min-width:0}
.dms-remove-coupon{border:0;background:transparent;color:#64748b;font-size:22px;line-height:1;padding:0 2px;cursor:pointer}
.dms-remove-coupon:hover{color:#dc2626}
@media(max-width:575.98px){.dms-coupon-modal .modal-dialog{margin:16px}.dms-coupon-modal .modal-header{padding:22px 20px 16px}.dms-coupon-modal .modal-body{padding:0 20px 18px}.dms-coupon-modal .modal-footer{padding:0 20px 22px}}

/* --- v1.3.1 require domain before checkout --- */
.dms-checkout-continue:disabled{opacity:.55;cursor:not-allowed;box-shadow:none!important}

.dms-cart-guarantee{display:flex;align-items:center;justify-content:center;gap:10px;text-align:center;color:#111827;line-height:1.35}.dms-cart-guarantee iconify-icon{font-size:18px;line-height:1;display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;transform:translateY(-1px)}

/* --- v1.4.1 transfer proof upload --- */
.dms-transfer-proof-form .btn iconify-icon,.dms-invoice-upload-preview .btn iconify-icon{margin-right:6px}
.dms-invoice-upload-preview{display:flex;flex-direction:column;align-items:flex-start}
.dms-invoice-upload-image{display:block;width:100%;max-width:280px;max-height:280px;object-fit:cover;border-radius:14px;border:1px solid #e5e7eb;background:#fff}


/* --- v1.4.3 follow up state and transfer upload alignment --- */
.dms-transfer-proof-row{display:flex;align-items:stretch;gap:16px;width:100%}
.dms-transfer-proof-row .form-control{flex:1 1 auto;min-width:0;min-height:52px}
.dms-transfer-proof-button{flex:0 0 auto;min-width:300px;min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}
@media(max-width:767.98px){.dms-transfer-proof-row{flex-direction:column;gap:12px}.dms-transfer-proof-button{width:100%;min-width:0}}

/* --- v1.5.0 website workflow --- */
.dms-website-workflow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.dms-workflow-step{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;position:relative}
.dms-workflow-step:after{content:"";position:absolute;right:-13px;top:31px;width:14px;height:2px;background:#e5e7eb}
.dms-workflow-step:last-child:after{display:none}
.dms-workflow-dot{width:32px;height:32px;flex:0 0 32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;border:2px solid #cbd5e1;color:#64748b;font-weight:700;background:#fff}
.dms-workflow-step>div{display:flex;flex-direction:column;gap:5px}
.dms-workflow-step strong{font-size:14px;color:#111827}
.dms-workflow-step span:not(.dms-workflow-dot){font-size:12px;line-height:1.45;color:#64748b}
.dms-workflow-step.is-current{border-color:#7c5cff;background:#f7f5ff;box-shadow:0 0 0 2px rgba(124,92,255,.08)}
.dms-workflow-step.is-current .dms-workflow-dot{border-color:#6f42e8;background:#6f42e8;color:#fff}
.dms-workflow-step.is-done{border-color:#bbf7d0;background:#f0fdf4}
.dms-workflow-step.is-done .dms-workflow-dot{border-color:#22c55e;background:#22c55e;color:#fff}
.dms-workflow-step.is-done:after{background:#86efac}
.dms-service-waiting-note{display:flex;align-items:flex-start;gap:12px;padding:16px;border-radius:12px;border:1px solid #fde68a;background:#fffbeb;color:#92400e}
.dms-service-waiting-note iconify-icon{font-size:24px;flex:0 0 24px}
.dms-service-waiting-note>div{display:flex;flex-direction:column;gap:4px}
.dms-service-waiting-note span{font-size:13px;line-height:1.5}
@media(max-width:991.98px){.dms-website-workflow{grid-template-columns:1fr 1fr}.dms-workflow-step:after{display:none}}
@media(max-width:575.98px){.dms-website-workflow{grid-template-columns:1fr}}

/* v1.5.4 fix: status badge and total value should not wrap */
.dms-status-badge{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap!important;word-break:keep-all;min-width:78px;line-height:1.1;text-align:center}
.dms-app .text-nowrap{white-space:nowrap!important}
.dms-app .table td .dms-status-badge{vertical-align:middle}


/* v1.6.0 Product detail pages for themes/templates/plugins */
.dms-product-title-link{color:inherit;text-decoration:none}
.dms-product-title-link:hover{color:var(--primary-color,#6941c6)}
.dms-product-card .dms-product-image{display:block;background:#f3f4f6}
.dms-product-card .dms-product-image img{width:100%;height:220px;object-fit:cover;display:block}
.dms-product-detail-card{overflow:hidden}
.dms-product-detail-image-wrap{background:#f8fafc;padding:16px;border-bottom:1px solid #e5e7eb}
.dms-product-detail-image{width:100%;max-height:340px;object-fit:cover;border-radius:16px;display:block}
.dms-product-detail-price{font-size:34px;font-weight:800;line-height:1.1;color:#6941c6}
.dms-product-meta-list{display:grid;gap:10px}
.dms-product-meta-row{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}
.dms-product-meta-row span{color:#667085}
.dms-product-meta-row strong{text-align:right}
.dms-product-description{line-height:1.8}
.dms-product-feature-item{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;border:1px solid #e5e7eb;border-radius:14px;background:#f8fafc;height:100%}
.dms-product-feature-item iconify-icon{font-size:20px;flex:0 0 auto;margin-top:2px}
.dms-product-info-box{padding:16px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;height:100%}
.dms-product-info-box span{display:block;font-size:13px;color:#667085;margin-bottom:6px}
.dms-product-info-box strong{font-size:15px;line-height:1.5}
@media (max-width: 767px){
  .dms-product-card .dms-product-image img{height:180px}
  .dms-product-detail-price{font-size:28px}
  .dms-product-meta-row{flex-direction:column}
}


/* v1.6.1 Rich product detail layout */
.dms-product-hero{background:linear-gradient(180deg,#fff 0%,#fcfcff 100%)}
.dms-product-hero-media{padding:24px;background:linear-gradient(135deg,#f8faff 0%,#eef2ff 100%);height:100%;display:flex;align-items:center;justify-content:center}
.dms-product-hero-media .dms-product-detail-image{width:100%;max-height:520px;object-fit:contain;border-radius:18px;box-shadow:0 20px 45px rgba(31,41,55,.08);background:#fff}
.dms-product-hero-content{background:#fff}
.dms-product-detail-title{font-size:36px;line-height:1.15;font-weight:800}
.dms-sticky-card{position:sticky;top:24px}
.dms-product-content{font-size:16px;line-height:1.85;color:#344054}
.dms-product-content img{max-width:100%;height:auto;border-radius:16px;margin:0 auto 20px;display:block}
.dms-product-content h1,.dms-product-content h2,.dms-product-content h3,.dms-product-content h4{color:#101828;font-weight:800;margin:28px 0 14px}
.dms-product-content p{margin-bottom:16px}
.dms-product-content ul,.dms-product-content ol{padding-left:20px;margin-bottom:18px}
.dms-product-content table{width:100%;border-collapse:collapse;margin-bottom:24px}
.dms-product-content table td,.dms-product-content table th{border:1px solid #e5e7eb;padding:10px 12px}
.dms-product-content blockquote{border-left:4px solid #6941c6;padding:12px 16px;background:#f8f5ff;border-radius:0 12px 12px 0}
@media (max-width: 1199px){.dms-sticky-card{position:static}.dms-product-detail-title{font-size:32px}}
@media (max-width: 767px){.dms-product-hero-media{padding:16px}.dms-product-detail-title{font-size:28px}.dms-product-content{font-size:15px}}


/* Catalog cards v1.6.3 */
.dms-product-grid{row-gap:24px}
.dms-product-item{display:flex}
.dms-product-item>.card{width:100%}
.dms-product-card{border:1px solid #e6e8ef;border-radius:12px;box-shadow:0 4px 18px rgba(15,23,42,.04);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;background:#fff}
.dms-product-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(15,23,42,.08);border-color:#d8ddea}
.dms-product-card .card-body{padding:18px 20px 20px!important}
.dms-product-card .dms-product-image{display:block;height:220px;background:#f3f4f6;border-bottom:1px solid #edf0f5}
.dms-product-card .dms-product-image img{width:100%;height:100%;object-fit:cover;display:block}
.dms-product-card .badge{font-size:12px;font-weight:600;padding:.38rem .58rem;border-radius:7px}
.dms-product-title-link{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#1f2937;font-weight:700;line-height:1.35}
.dms-product-meta{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px;line-height:1.5;color:#6b7280}
.dms-product-price-wrap h5{font-size:18px;line-height:1.2;color:#1f2937!important}
.dms-product-actions{display:grid;grid-template-columns:54px minmax(0,1fr);gap:10px;align-items:stretch;width:100%}
.dms-product-actions--single{grid-template-columns:54px minmax(0,1fr)}
.dms-product-buy-icon{padding:0!important;border-color:#d8ddea!important;background:#fff!important;color:#6b7280!important;border-radius:8px!important;min-height:48px!important}
.dms-product-buy-icon:hover{background:#f8fafc!important;color:var(--dms-primary)!important;border-color:#cbd5e1!important}
.dms-product-buy-icon iconify-icon{font-size:20px}
.dms-product-preview-btn{min-height:48px!important;border-radius:8px!important;font-weight:600}
@media (max-width: 1399px){.dms-product-card .dms-product-image{height:205px}}
@media (max-width: 991px){.dms-product-card .dms-product-image{height:190px}}
@media (max-width: 575px){.dms-product-card .dms-product-image{height:180px}.dms-product-card .card-body{padding:16px!important}}


/* v1.7.43 member profile avatar uploader */
.dms-profile-avatar-setting{display:flex;align-items:center;gap:18px;padding:18px;border:1px solid #e5e7eb;border-radius:14px;background:#f8fafc}
.dms-profile-avatar-preview{width:96px;height:96px;flex:0 0 96px;border-radius:18px;overflow:hidden;background:#eef2f7;border:1px solid #e1e5eb}
.dms-profile-avatar-preview img{width:100%;height:100%;display:block;object-fit:cover}
.dms-profile-avatar-fields{display:grid;gap:8px;min-width:0;flex:1}
.dms-avatar-remove{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:#64748b;margin-top:4px}
@media(max-width:640px){.dms-profile-avatar-setting{align-items:flex-start;flex-direction:column}.dms-profile-avatar-preview{width:82px;height:82px;flex-basis:82px}}


/* v1.7.45: digital license selector in cart */
.dms-cart-license-option{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:16px 18px;margin-bottom:12px;border:1px solid #e2e6ee;border-radius:14px;background:#fff;color:#252b36}.dms-cart-license-option:hover,.dms-cart-license-option.is-active{border-color:var(--primary-600,#6541da);box-shadow:0 0 0 2px rgba(101,65,218,.08);color:#252b36}.dms-cart-license-left{display:flex;align-items:center;gap:12px;min-width:0}.dms-cart-license-left span:last-child{display:block}.dms-cart-license-left strong{display:block;font-size:16px}.dms-cart-license-left small{display:block;margin-top:4px;color:#7b8493;font-size:12px}.dms-cart-license-radio{width:22px;height:22px;border:2px solid #7e5bef;border-radius:50%;position:relative;flex:0 0 22px}.dms-cart-license-option.is-active .dms-cart-license-radio:after{content:'';position:absolute;inset:4px;border-radius:50%;background:#7e5bef}@media(max-width:575px){.dms-cart-license-option{align-items:flex-start;flex-direction:column}.dms-cart-license-option>strong{padding-left:34px}}


/* v1.7.49: align checkout security note icon and label */
.dms-checkout-safe-note{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:100%!important;
  color:#111827!important;
  line-height:1.3!important;
  text-align:center!important;
}
.dms-checkout-safe-note iconify-icon{
  flex:0 0 auto!important;
  width:18px!important;
  height:18px!important;
  font-size:18px!important;
  color:#374151!important;
}
.dms-checkout-safe-note span{
  display:inline-block!important;
  margin:0!important;
}


/* v1.7.50: keep cart license cards white when selected */
button.dms-cart-license-option{
  -webkit-appearance:none!important;
  appearance:none!important;
  background:#fff!important;
  background-color:#fff!important;
  background-image:none!important;
  color:#252b36!important;
  text-align:left!important;
  box-shadow:none!important;
}
button.dms-cart-license-option:hover,
button.dms-cart-license-option:focus,
button.dms-cart-license-option.is-active{
  background:#fff!important;
  background-color:#fff!important;
  background-image:none!important;
  color:#252b36!important;
  border-color:#6541da!important;
  box-shadow:0 0 0 3px rgba(101,65,218,.10)!important;
}


/* v1.7.51: compact aligned license selector in cart */
.dms-cart-license-option{
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
}
.dms-cart-license-option .dms-cart-license-radio{
  grid-column:1!important;
  grid-row:1!important;
}
.dms-cart-license-content{
  grid-column:2!important;
  grid-row:1!important;
  display:block!important;
  min-width:0!important;
  width:100%!important;
}
.dms-cart-license-topline{
  display:flex!important;
  align-items:baseline!important;
  justify-content:space-between!important;
  gap:14px!important;
  width:100%!important;
}
.dms-cart-license-topline > strong,
.dms-cart-license-topline > b{
  margin:0!important;
  color:#202938!important;
  font-size:16px!important;
  line-height:1.25!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
.dms-cart-license-content > small{
  display:block!important;
  margin:5px 0 0!important;
  color:#7b8493!important;
  font-size:11px!important;
  line-height:1.3!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
@media(max-width:575px){
  .dms-cart-license-option{
    display:grid!important;
    grid-template-columns:22px minmax(0,1fr)!important;
    align-items:center!important;
    padding:14px 13px!important;
    gap:10px!important;
  }
  .dms-cart-license-topline{
    gap:8px!important;
  }
  .dms-cart-license-topline > strong,
  .dms-cart-license-topline > b{
    font-size:14px!important;
  }
  .dms-cart-license-content > small{
    font-size:9.8px!important;
  }
}

/* ========================================================================== 
   Demooweb dark mode refinement v1.7.58
   Keep the whole member portal visually consistent when WowDash dark mode is active.
   ========================================================================== */
html[data-theme="dark"] body.dms-app,
html[data-theme="dark"] body.dms-app.dms-portal-page {
  background: #111827 !important;
  color: #f8fafc !important;
}

html[data-theme="dark"] .dms-portal-page .dashboard-main {
  background: #111827 !important;
}

html[data-theme="dark"] .dms-portal-page .dashboard-main-body {
  background: #111827 !important;
  color: #f8fafc !important;
}

/* Header must follow dark mode too; an older override forced it white. */
html[data-theme="dark"] .dms-portal-page .navbar-header {
  background: #1b2431 !important;
  border-bottom-color: #323d4e !important;
  box-shadow: none !important;
}
html[data-theme="dark"] .dms-portal-page .navbar-header .sidebar-toggle {
  border-inline-end-color: #323d4e !important;
  color: #d1d5db !important;
}
html[data-theme="dark"] .dms-portal-page .navbar-header .sidebar-toggle:hover,
html[data-theme="dark"] .dms-portal-page .navbar-header .sidebar-mobile-toggle:hover,
html[data-theme="dark"] .dms-portal-page .navbar-header .sidebar-mobile-toggle:focus {
  background: #273142 !important;
}
html[data-theme="dark"] .dms-portal-page .navbar-header .sidebar-toggle .icon,
html[data-theme="dark"] .dms-portal-page .navbar-header .sidebar-mobile-toggle .icon {
  color: #e5e7eb !important;
}
html[data-theme="dark"] .dms-portal-page .dms-navbar-search input,
html[data-theme="dark"] .dms-portal-page .navbar-search input {
  background: #111827 !important;
  border-color: #374151 !important;
  color: #f8fafc !important;
  box-shadow: none !important;
}
html[data-theme="dark"] .dms-portal-page .dms-navbar-search input::placeholder,
html[data-theme="dark"] .dms-portal-page .navbar-search input::placeholder {
  color: #94a3b8 !important;
  opacity: 1;
}
html[data-theme="dark"] .dms-portal-page .dms-navbar-search .icon,
html[data-theme="dark"] .dms-portal-page .navbar-search .icon {
  color: #94a3b8 !important;
}
html[data-theme="dark"] .dms-portal-page [data-theme-toggle] {
  background: #273142 !important;
  color: #f8fafc !important;
  border: 1px solid #374151 !important;
}

/* Page heading and breadcrumb. */
html[data-theme="dark"] .dms-portal-page .dashboard-main-body > .d-flex:first-child h6,
html[data-theme="dark"] .dms-portal-page .dashboard-main-body > .d-flex:first-child li,
html[data-theme="dark"] .dms-portal-page .dashboard-main-body > .d-flex:first-child a {
  color: #f8fafc !important;
}
html[data-theme="dark"] .dms-portal-page .dashboard-main-body > .d-flex:first-child a:hover {
  color: #8ab4ff !important;
}

/* Sidebar: retain the WowDash dark shell, but improve hierarchy and active state. */
html[data-theme="dark"] .dms-portal-page .sidebar {
  background: #1b2431 !important;
  border-inline-end-color: #323d4e !important;
}
html[data-theme="dark"] .dms-portal-page .sidebar-menu-group-title {
  color: #94a3b8 !important;
}
html[data-theme="dark"] .dms-portal-page .sidebar-menu > li > a,
html[data-theme="dark"] .dms-portal-page .sidebar-submenu li a {
  color: #d7dee9 !important;
}
html[data-theme="dark"] .dms-portal-page .sidebar-menu > li > a:hover,
html[data-theme="dark"] .dms-portal-page .sidebar-submenu li a:hover {
  background: #273142 !important;
  color: #ffffff !important;
}
html[data-theme="dark"] .dms-portal-page .sidebar-menu li.active-page > a {
  background: rgba(96,71,215,.22) !important;
  color: #a9bdff !important;
  box-shadow: inset 3px 0 0 #7c68e8;
}
html[data-theme="dark"] .dms-portal-page .sidebar-menu li.active-page > a .menu-icon {
  color: #8aa4ff !important;
}
html[data-theme="dark"] .dms-portal-page .dms-admin-shortcut {
  border-top-color: #323d4e !important;
}

/* Cards, tables and forms. */
html[data-theme="dark"] .dms-portal-page .card,
html[data-theme="dark"] .dms-portal-page .dms-service-license-card {
  background: #1b2431 !important;
  border-color: #323d4e !important;
  color: #f8fafc !important;
}
html[data-theme="dark"] .dms-portal-page .card-header {
  background: #1b2431 !important;
  border-color: #323d4e !important;
}
html[data-theme="dark"] .dms-portal-page .card h1,
html[data-theme="dark"] .dms-portal-page .card h2,
html[data-theme="dark"] .dms-portal-page .card h3,
html[data-theme="dark"] .dms-portal-page .card h4,
html[data-theme="dark"] .dms-portal-page .card h5,
html[data-theme="dark"] .dms-portal-page .card h6,
html[data-theme="dark"] .dms-portal-page .dms-service-license-card strong {
  color: #f8fafc;
}
html[data-theme="dark"] .dms-portal-page .text-secondary-light {
  color: #aeb8c7 !important;
}
html[data-theme="dark"] .dms-portal-page .border,
html[data-theme="dark"] .dms-portal-page .border-top,
html[data-theme="dark"] .dms-portal-page .border-bottom,
html[data-theme="dark"] .dms-portal-page .border-end,
html[data-theme="dark"] .dms-portal-page .border-start {
  border-color: #323d4e !important;
}
html[data-theme="dark"] .dms-portal-page table,
html[data-theme="dark"] .dms-portal-page .table {
  --bs-table-bg: transparent;
  --bs-table-color: #e5e7eb;
  --bs-table-border-color: #323d4e;
  color: #e5e7eb !important;
}
html[data-theme="dark"] .dms-portal-page .table thead th {
  background: #131c28 !important;
  color: #f8fafc !important;
  border-color: #323d4e !important;
}
html[data-theme="dark"] .dms-portal-page .table tbody td {
  background: #1b2431 !important;
  color: #e5e7eb !important;
  border-color: #323d4e !important;
}
html[data-theme="dark"] .dms-portal-page .table tbody tr:hover td {
  background: #202b3b !important;
}
html[data-theme="dark"] .dms-portal-page .dms-license-key {
  color: #c4b5fd !important;
  background: rgba(124,92,255,.10) !important;
  border: 1px solid rgba(196,181,253,.16);
  border-radius: 6px;
  padding: 3px 6px;
}
html[data-theme="dark"] .dms-portal-page .form-control,
html[data-theme="dark"] .dms-portal-page .form-select,
html[data-theme="dark"] .dms-portal-page textarea,
html[data-theme="dark"] .dms-portal-page input:not([type="checkbox"]):not([type="radio"]) {
  background: #131c28 !important;
  border-color: #3b4759 !important;
  color: #f8fafc !important;
}
html[data-theme="dark"] .dms-portal-page .form-control:focus,
html[data-theme="dark"] .dms-portal-page .form-select:focus,
html[data-theme="dark"] .dms-portal-page textarea:focus,
html[data-theme="dark"] .dms-portal-page input:not([type="checkbox"]):not([type="radio"]):focus {
  border-color: #6d5be0 !important;
  box-shadow: 0 0 0 3px rgba(96,71,215,.16) !important;
}
html[data-theme="dark"] .dms-portal-page .dropdown-menu {
  background: #1b2431 !important;
  border-color: #323d4e !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.28) !important;
}
html[data-theme="dark"] .dms-portal-page .dropdown-menu .dropdown-item {
  color: #e5e7eb !important;
}
html[data-theme="dark"] .dms-portal-page .dropdown-menu .dropdown-item:hover {
  background: #273142 !important;
}

/* Website workflow: remove white/very bright blocks from dark mode. */
html[data-theme="dark"] .dms-portal-page .dms-workflow-step {
  background: #202b3b !important;
  border-color: #3a4658 !important;
}
html[data-theme="dark"] .dms-portal-page .dms-workflow-step:after {
  background: #465366 !important;
}
html[data-theme="dark"] .dms-portal-page .dms-workflow-step strong {
  color: #f8fafc !important;
}
html[data-theme="dark"] .dms-portal-page .dms-workflow-step span:not(.dms-workflow-dot) {
  color: #aeb8c7 !important;
}
html[data-theme="dark"] .dms-portal-page .dms-workflow-step.is-current {
  background: rgba(96,71,215,.16) !important;
  border-color: #7665df !important;
  box-shadow: 0 0 0 2px rgba(124,92,255,.07) !important;
}
html[data-theme="dark"] .dms-portal-page .dms-workflow-step.is-done {
  background: rgba(34,197,94,.09) !important;
  border-color: rgba(74,222,128,.34) !important;
}
html[data-theme="dark"] .dms-portal-page .dms-workflow-step.is-done:after {
  background: rgba(74,222,128,.55) !important;
}
html[data-theme="dark"] .dms-portal-page .dms-service-waiting-note {
  background: rgba(234,179,8,.10) !important;
  border-color: rgba(250,204,21,.30) !important;
  color: #fde68a !important;
}
html[data-theme="dark"] .dms-portal-page .progress {
  background: #323d4e !important;
}

/* Keep status badges readable instead of turning into large bright pills. */
html[data-theme="dark"] .dms-portal-page .bg-success-focus {
  background: rgba(34,197,94,.14) !important;
}
html[data-theme="dark"] .dms-portal-page .bg-warning-focus {
  background: rgba(234,179,8,.14) !important;
}
html[data-theme="dark"] .dms-portal-page .bg-danger-focus {
  background: rgba(239,68,68,.14) !important;
}
html[data-theme="dark"] .dms-portal-page .bg-primary-50 {
  background: rgba(72,127,255,.12) !important;
}
html[data-theme="dark"] .dms-portal-page .text-success-main { color: #4ade80 !important; }
html[data-theme="dark"] .dms-portal-page .text-warning-main { color: #fbbf24 !important; }
html[data-theme="dark"] .dms-portal-page .text-danger-main { color: #f87171 !important; }
html[data-theme="dark"] .dms-portal-page .text-primary-600 { color: #7fa6ff !important; }

/* Footer completes the dark shell. */
html[data-theme="dark"] .dms-portal-page .d-footer {
  background: #1b2431 !important;
  color: #9ca8ba !important;
  border-top: 1px solid #323d4e !important;
}
html[data-theme="dark"] .dms-portal-page .d-footer p { color: #9ca8ba !important; }

@media (max-width: 1199.98px) {
  html[data-theme="dark"] .dms-portal-page .navbar-header .sidebar-mobile-toggle {
    background: #273142 !important;
    color: #f8fafc !important;
  }
}

/* v1.7.62 - Demooweb Member Area login illustration. */
.dms-auth-page .auth-left{overflow:hidden;}
.dms-auth-page .dms-login-visual-wrap{padding:48px;min-height:100vh;}
.dms-auth-page .dms-login-visual{display:block;width:auto;max-width:min(88%,760px)!important;max-height:82vh;height:auto;object-fit:contain;filter:drop-shadow(0 18px 38px rgba(53,70,170,.08));}
@media (min-width:1200px){
  .dms-auth-page .dms-login-visual-wrap{padding:64px;}
  .dms-auth-page .dms-login-visual{max-width:min(86%,820px)!important;max-height:84vh;}
}

/* v1.7.67: make password eye control reliably clickable and accessible. */
.dms-auth-page .toggle-password{z-index:6;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;pointer-events:auto;border-radius:8px;user-select:none;}
.dms-auth-page .toggle-password:focus-visible{outline:2px solid var(--dms-primary);outline-offset:2px;}
