/* ==========================================================================
   JetTheme Core v2.9 - Main Variables & Design
   ========================================================================== */

:root {
  --bs-font-sans-serif: system-ui, -apple-system, Segoe UI, Helvetica Neue, Arial, Noto Sans, Liberation Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  --bs-body-bg: #ffffff;
  --bs-body-color: #686868;
  --jt-primary: #f67938;
  --jt-heading-color: #000000;
  --jt-heading-link: #000000;
  --jt-heading-hover: #f67938;
  --jt-link-color: #f67938;
  --jt-link-hover: #f46013;
  --jt-blockquote: #f67938;
  --jt-btn-primary: #f67938;
  --jt-btn-primary-hover: #f46013;
  --jt-btn-light-hover: #000000;
  --jt-border-light: #efefef;
  --jt-bg-light: #f3f7f9;
  --jt-archive-bg: #ffffff;
  --jt-nav-color: #686868;
  --jt-nav-hover: #f67938;
  --jt-nav-selected: #f67938;
  --jt-dropdown-bg: #ffffff;
  --jt-dropdown-color: #686868;
  --jt-dropdown-hover: #f67938;
  --jt-dropdown-selected: #f67938;
  --jt-header-bg: #ffffff;
  --jt-header-color: #686868;
  --jt-header-border: #efefef;
  --jt-footer-bg: #212529;
  --jt-footer-color: #9fa6ad;
  --jt-footer-link: #9fa6ad;
  --jt-footer-border: #323539;
  --jt-socket-bg: #09080c;
  --jt-socket-color: #9fa6ad;
}

.dark-mode {
  --bs-body-bg: hsl(210, 11%, 15%);
  --bs-body-color: hsl(210, 11%, 80%);
  --jt-heading-color: hsl(210, 11%, 80%);
  --jt-heading-link: hsl(210, 11%, 80%);
  --jt-btn-light-hover: hsl(210, 11%, 85%);
  --jt-border-light: hsl(210, 11%, 20%);
  --jt-bg-light: hsl(210, 11%, 20%);
  --jt-archive-bg: hsl(210, 11%, 17%);
  --jt-nav-color: hsl(210, 11%, 70%);
  --jt-dropdown-bg: hsl(210, 11%, 18%);
  --jt-dropdown-color: hsl(210, 11%, 70%);
  --jt-header-bg: hsl(210, 11%, 15%);
  --jt-header-color: hsl(210, 11%, 80%);
  --jt-header-border: hsl(210, 11%, 20%);
  --jt-footer-bg: hsl(210, 11%, 15%);
  --jt-footer-color: hsl(210, 11%, 80%);
  --jt-footer-border: hsl(210, 11%, 20%);
  --jt-socket-bg: hsl(210, 11%, 17%);
  --jt-socket-color: hsl(210, 11%, 80%);
}

body {
  font: normal normal 16px var(--bs-font-sans-serif);
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.d-block {
  display: none;
}

.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6 {
  font: normal bold 40px var(--bs-font-sans-serif);
}

a {
  transition-property: background-color, border-color, color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: .3s;
  text-decoration: none;
  color: var(--jt-link-color);
}
a:hover {
  color: var(--jt-link-hover);
}

.fs-7 { font-size: 0.875rem; }
.fs-8 { font-size: 0.75rem; }
.fs-9 { font-size: 0.7rem; }

.btn { box-shadow: none !important; }
.btn-sm {
  min-width: 32px;
  min-height: 32px;
}

img, svg, iframe { max-width: 100%; }
img {
  height: auto;
  object-fit: cover;
}
label { cursor: pointer; }
.visually-hidden { position: unset !important; }

.form-control:focus {
  box-shadow: none;
  border-color: var(--jt-primary);
}
.form-control::placeholder { opacity: .5; }

.dropdown-toggle::after { border-width: 0.25em 0.25em 0; }
.dropdown-menu { margin: 0; padding: 0; }
.px-3 { padding-right: 1rem; padding-left: 1rem; }

.ratio:before { content: none; }
.ratio-1x1 { padding-bottom: 100%; }
.ratio-4x3 { padding-bottom: 75%; }
.ratio-16x9 { padding-bottom: 56.25%; }
.ratio-21x9 { padding-bottom: 43%; }
.object-cover { object-fit: cover; }

.jt-text-primary,
.hover-text-primary:hover,
input:checked ~ .check-text-primary {
  color: var(--jt-primary) !important;
}

.jt-btn-primary,
.jt-btn-outline-primary:hover {
  color: #fff;
  background-color: var(--jt-btn-primary);
  border-color: var(--jt-btn-primary);
}

.jt-btn-light {
  color: var(--bs-body-color);
  background-color: var(--jt-bg-light);
  border-color: var(--jt-bg-light);
}
.jt-btn-light:hover { color: var(--jt-btn-light-hover); }

.jt-btn-primary:hover,
.hover-btn-primary:hover,
input:checked + .jt-btn-outline-primary {
  color: #fff !important;
  background-color: var(--jt-btn-primary-hover) !important;
  border-color: var(--jt-btn-primary-hover) !important;
}

.jt-btn-outline-primary {
  color: var(--jt-btn-primary);
  border-color: var(--jt-btn-primary);
}

.jt-bg-primary { background-color: var(--jt-primary); }
.jt-bg-light { background-color: var(--jt-bg-light); }
.bg-archive { background-color: var(--jt-archive-bg); }
.jt-border-light { border-color: var(--jt-border-light) !important; }

input:checked ~ .d-block-check { display: block !important; }
input:checked ~ .d-none-check { display: none !important; }

.dropdown-menu,
.accordion-item,
.accordion-header {
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  border-color: var(--jt-border-light);
}

.lazyload {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: .3s;
  opacity: 0;
}
.lazyload.loaded { opacity: 1; }

pre {
  background-color: var(--jt-bg-light);
  margin-bottom: 1rem;
  padding: 1rem;
  font-size: 0.75rem;
}
blockquote {
  border-left: 5px solid var(--jt-blockquote);
  color: inherit;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
  padding-left: 1rem;
}

.header-animate.header-hidden {
  transform: translateY(-100%);
  box-shadow: none !important;
}

#header {
  background-color: var(--jt-header-bg);
  color: var(--jt-header-color);
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: .3s;
  min-height: 50px;
  border-bottom: 1px solid var(--jt-header-border);
}

.header-social { border-right: 1px solid var(--jt-header-border); }

.jt-icon {
  display: inline-block;
  height: 1em;
  vertical-align: -0.15em;
  width: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
.jt-icon-center { font-family: sans-serif; }

.icon-dark, .dark-mode .icon-light { display: none; }
.dark-mode .icon-dark { display: block; }

#dark-toggler, #search-toggler, #navbar-toggler { line-height: 1; }
#dark-toggler { font-size: 17px; }

#footer {
  background-color: var(--jt-footer-bg);
  color: var(--jt-footer-color);
  border-top: 1px solid var(--jt-footer-border);
}
#socket {
  background-color: var(--jt-socket-bg);
  color: var(--jt-socket-color);
}

#navbar { z-index: 9999; }
#navbar .menu-item { position: relative; }
#navbar .nav-link { min-height: 40px; }
#navbar .dropdown-toggle {
  cursor: pointer;
  align-items: center;
  display: flex;
}
#navbar.d-block,
#navbar .dropdown-menu,
#navbar .nav-link,
#navbar .dropdown-toggle {
  transition: .3s;
}

#navbar .navbar-nav > .menu-item > .nav-link {
  font: normal bold 16px var(--bs-font-sans-serif);
  line-height: 1.5;
  color: var(--jt-nav-color);
}
#navbar .navbar-nav > .menu-item:hover > .nav-link,
#navbar .navbar-nav > .menu-item:hover > .dropdown-toggle {
  color: var(--jt-nav-hover);
}
#navbar .navbar-nav > .menu-item > .nav-link.active,
#navbar .navbar-nav > .menu-item > .active ~ .dropdown-toggle {
  color: var(--jt-nav-selected);
}

.logo-wrap { width: 300px; }

#search-header .dropdown-menu {
  background-color: var(--jt-dropdown-bg);
  color: var(--jt-dropdown-color);
  border-color: var(--jt-header-border);
  min-width: 300px;
  right: 0;
  top: 100%;
}

.blog-admin { display: none; }
#pagination li + li { margin-left: 5px; }
.no-items { display: none; }

.feature-image, .separator, .tr-caption-container { margin-bottom: 1rem; }
.tr-caption-container { width: 100%; }
.separator a, .tr-caption-container a { margin: 0 !important; padding: 0 !important; }
.tr-caption { font-size: 12px; font-style: italic; }

.widget:last-child { margin-bottom: 0 !important; }
#post-body .widget { margin-top: 1.5rem; }

.item-title { color: var(--jt-heading-link); }
.item-title:hover { color: var(--jt-heading-hover); }

#comment-editor { width: 100%; }

#primary .widget-title {
  font-weight: 300;
  text-transform: uppercase;
}
#footer .widget-title { text-transform: uppercase; }
#footer .widget-title, #sidebar .widget-title { font-size: 13px !important; }

#footer .widget-title:after {
  content: "";
  display: block;
  width: 50px;
  border-bottom: 2px solid var(--jt-primary);
  margin-top: 10px;
}

#primary .widget-title > span {
  background-color: var(--bs-body-bg);
  padding-right: 5px;
  position: relative;
}

#main .widget-title:before,
#sidebar .widget-title:before {
  background-color: var(--jt-bg-light);
  content: "";
  height: 1px;
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}
#main .widget-title:before {
  border-right: 30px solid var(--jt-primary);
  height: 5px;
}

.send-success:not(.loading) .contact-form-msg,
.send-error:not(.loading) .contact-form-msg {
  display: block !important;
}
.send-success .contact-form-msg { border-color: rgba(25,135,84,.3) !important; }
.send-error .contact-form-msg { border-color: rgba(255,193,7,.3) !important; }
.send-success .contact-form-msg:before { content: attr(data-success); }
.send-error .contact-form-msg:before { content: attr(data-error); }

hr.example-ads:before { content: "Advertisement here"; }
hr.example-ads {
  background-color: var(--jt-bg-light);
  border-radius: 0.25rem;
  font-size: 0.875rem;
  height: auto;
  margin: 0;
  opacity: 1;
  padding: 1.5rem 0;
  text-align: center;
}

body > .google-auto-placed {
  margin: 0 auto 1.5rem;
  max-width: 1108px;
}
.google-auto-placed > ins { margin: 0 !important; }

/* TYPOGRAPHY */
.h1, h1 { font-size: calc(1.375rem + 1.5vw); }
.h2, h2 { font-size: calc(1.325rem + .9vw); }
.h3, h3 { font-size: calc(1.3rem + .6vw); }
.h4, h4 { font-size: calc(1.275rem + .3vw); }
.h5, h5 { font-size: 18px; }
.h6, h6 { font-size: 16px; }

.entry-title { color: var(--jt-heading-color); }
.entry-text h1, .entry-text h2, .entry-text h3, .entry-text h4, .entry-text h5, .entry-text h6 {
  color: var(--jt-heading-color);
  padding-top: 1em;
  margin-bottom: 1rem;
}
.entry-text li { margin-bottom: 0.5rem; }

/* Responsive Style */
@media (min-width: 576px) {
  .ratio-sm-4x3 { padding-bottom: 75%; }
  .ratio-sm-16x9 { padding-bottom: 56.25%; }
  .border-sm-end {
    border-right-width: 1px !important;
    border-right-style: solid;
  }
  #post-pager .next-page { border-left: 1px solid; }
}

@media (min-width: 768px) {
  .position-md-relative { position: relative; }
  .border-md-end {
    border-right-width: 1px !important;
    border-right-style: solid;
  }
}

@media (min-width: 992px) {
  .d-lg-flex { display: flex; }
  .col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.66666667%; }
  .border-lg-end {
    border-right-width: 1px !important;
    border-right-style: solid;
  }
  #navbar .navbar-nav > .menu-item { display: flex; }
  #navbar .dropdown-menu {
    background-color: var(--jt-dropdown-bg);
    border-color: var(--jt-header-border);
    margin-top: -10px;
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 5px 10px 10px -5px rgba(0, 0, 0, 0.14);
    top: 100%;
    min-width: 150px;
  }
  #navbar .dropdown-menu .nav-link {
    padding-right: 20px;
    font-size: 15px;
    color: var(--jt-dropdown-color);
  }
  #navbar .dropdown-menu .dropdown-toggle {
    position: absolute;
    right: 10px;
    top: 20px;
  }
  #navbar .dropdown-menu .dropdown-menu {
    left: 100%;
    top: -1px;
  }
  #navbar .dropdown-menu .menu-item:hover > .nav-link,
  #navbar .dropdown-menu .menu-item:hover > .dropdown-toggle {
    color: var(--jt-dropdown-hover);
  }
  #navbar .dropdown-menu .menu-item > .nav-link.active,
  #navbar .dropdown-menu .menu-item > .active ~ .dropdown-toggle {
    color: var(--jt-dropdown-selected);
  }
  #navbar .menu-item:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: unset;
    margin: 0;
  }
  #navbar .navbar-nav > .menu-item > .nav-link {
    padding: 1.5rem 1.2rem;
    white-space: nowrap;
  }
  #navbar .navbar-nav > .menu-item > .dropdown-toggle {
    bottom: 0;
    pointer-events: none;
    position: absolute;
    right: 5px;
    top: 3px;
  }
  #sidebar { border-left: 1px solid var(--jt-border-light); }
  #footer-widget .widget { margin-bottom: 0 !important; }
}

@media (min-width: 1200px){
  .container { max-width: 1140px; }
  .h1, h1 { font-size: 40px; }
  .h2, h2 { font-size: 26px; }
  .h3, h3 { font-size: 22px; }
  .h4, h4 { font-size: 20px; }
}

@media (min-width: 1400px) {
  .container { max-width: 1320px; }
}

@media (max-width: 991.98px) {
  input:checked ~ .dropdown-menu { display: block; }
  input:checked + .dropdown-toggle { color: var(--jt-dropdown-selected); }
  .logo-wrap { width: 150px; }
  #search-header .dropdown-menu { width: 100%; }
  #navbar {
    background-color: var(--jt-header-bg);
    padding-top: 70px;
    padding-bottom: 30px;
    position: fixed;
    left: 0; right: 0; top: 0; bottom: 0;
    width: auto;
  }
  #navbar.d-block {
    opacity: 0;
    transform: translateX(-20%);
  }
  #navbar.show {
    transform: translateX(0);
    opacity: 1;
  }
  #navbar .navbar-nav {
    max-height: 100%;
    overflow-y: auto;
  }
  #navbar-toggle:checked ~ #header-main #navbar { display: block; }
  #navbar .nav-link {
    border-bottom: 1px solid var(--jt-header-border);
    font-size: 16px !important;
    color: var(--jt-dropdown-color);
  }
  #navbar .menu-item:hover > .nav-link { color: var(--jt-dropdown-hover); }
  #navbar .active > .nav-link { color: var(--jt-dropdown-selected); }
  #navbar .dropdown-toggle {
    border-left: 1px solid var(--jt-header-border);
    height: 2.5rem;
    padding: 0 1rem;
    position: absolute;
    right: 0;
    top: 0;
  }
  #navbar .dropdown-menu {
    background-color: var(--jt-dropdown-bg);
    border: none;
    padding-left: 10px;
  }
  #sidebar { border-top: 1px solid var(--jt-border-light); }
}

@media (max-width: 575.98px) {
  .feature-posts .item-thumbnail { margin-bottom: -150px; }
  .feature-posts .item-thumbnail a {
    border-radius: 0 !important;
    box-shadow: none !important;
    padding-bottom: 75%;
  }
  .feature-posts .item-content {
    background-color: var(--bs-body-bg);
    border: 5px solid;
    border-radius: 0.25rem;
  }
  #post-pager .prev-page + .next-page { border-top: 1px solid; }
  .full-width, .px-3 .google-auto-placed {
    margin-left: -1rem;
    margin-right: -1rem;
    width: auto !important;
  }
  #footer-widget .widget {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* Custom Twitter/X Button Styles */
a[href*="twitter.com"] {
  background-color: #000000 !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
}
a[href*="twitter.com"] svg { display: none !important; }
a[href*="twitter.com"]::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}

/* ==========================================================================
   Widget HTML5 - VAT Calculator CSS
   ========================================================================== */

#ua-vat-wrapper {
  max-width: 600px;
  margin: 20px auto;
  padding: 30px;
  background-color: var(--bs-body-bg, #ffffff);
  color: var(--bs-body-color, #333333);
  border: 1px solid var(--jt-border-light, #e1e8ed);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 87, 184, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.dark-mode #ua-vat-wrapper {
  box-shadow: none;
  background-color: var(--bs-body-bg);
}

.vat-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.vat-header h1 { color: #0057B8; font-weight: 800; font-size: 22px; margin: 0; text-transform: uppercase; line-height: 1.2; }

.btn-reset {
  background: transparent; border: 1px solid var(--jt-border-light, #ccc);
  color: var(--bs-body-color); padding: 5px 12px; border-radius: 20px;
  font-size: 12px; cursor: pointer; transition: 0.2s; opacity: 0.7;
}
.btn-reset:hover { background: rgba(255, 0, 0, 0.1); color: #c62828; border-color: #c62828; opacity: 1; }

.vat-rate-group { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; justify-content: center; }
.vat-rate-option {
  display: flex; align-items: center; gap: 6px; padding: 8px 14px;
  border: 1px solid var(--jt-border-light, #ccc); border-radius: 20px;
  cursor: pointer; font-size: 14px; transition: 0.2s; color: var(--bs-body-color);
  user-select: none; -webkit-tap-highlight-color: transparent;
}
.vat-rate-option:hover { border-color: #0057B8; }
.vat-rate-option input:checked + span { color: #0057B8; font-weight: 800; }

#ua-custom-rate {
  width: 65px; padding: 6px; border: 1px solid #0057B8; border-radius: 5px;
  font-size: 14px; text-align: center; display: none;
  background: var(--bs-body-bg); color: var(--bs-body-color);
}

.vat-input-group { position: relative; margin-bottom: 25px; }
.vat-input {
  width: 100%; padding: 15px; border: 2px solid var(--jt-border-light, #eee);
  border-radius: 8px; font-size: 24px; font-weight: bold; text-align: center;
  background: var(--jt-bg-light, #fafafa); color: var(--bs-body-color, #333);
  transition: 0.3s;
}
.vat-input:focus { border-color: #FFD700; outline: none; background: var(--bs-body-bg); }
.vat-input.error { border-color: #e74c3c; animation: shake 0.3s; }

.vat-buttons { display: flex; gap: 10px; margin-bottom: 25px; }
.btn-vat {
  flex: 1; padding: 14px; border: none; border-radius: 8px;
  font-weight: 700; font-size: 15px; cursor: pointer;
  transition: transform 0.2s; text-transform: uppercase; color: #fff;
  -webkit-tap-highlight-color: transparent;
}
.btn-add { background: linear-gradient(135deg, #0057B8, #004494); }
.btn-sub { background: linear-gradient(135deg, #f1c40f, #f39c12); color: #333; }
.btn-vat:hover { transform: translateY(-2px); opacity: 0.95; }

#ua-vat-result {
  display: none; background: var(--jt-bg-light, #f8f9fa);
  border: 1px solid var(--jt-border-light, #eee); border-radius: 12px; padding: 20px;
}
.vat-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px dashed var(--jt-border-light, #ccc);
  font-size: 15px; color: var(--bs-body-color);
}
.vat-row:last-child { border-bottom: none; font-weight: 800; font-size: 19px; color: #0057B8; }

.btn-copy {
  background: none; border: none; cursor: pointer; padding: 5px; margin-left: 10px;
  opacity: 0.5; color: var(--bs-body-color); 
  display: flex; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent;
  min-width: 45px; 
}
.btn-copy:hover { opacity: 1; color: #0057B8; }
.btn-copy svg { width: 16px; height: 16px; pointer-events: none; }

#ua-vat-history {
  margin-top: 25px; border-top: 2px solid var(--jt-border-light, #eee);
  padding-top: 15px; display: none;
}
.history-title {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  color: var(--bs-body-color); opacity: 0.6; margin-bottom: 10px;
}
.history-item {
  font-size: 13px; padding: 8px; border-bottom: 1px solid var(--jt-border-light, #eee);
  display: flex; justify-content: space-between; opacity: 0.9;
}
.history-item:last-child { border: none; }
.h-val { font-weight: 600; }
.h-rate { font-size: 11px; background: rgba(0,87,184,0.1); color:#0057B8; padding: 2px 5px; border-radius: 4px; }

.print-wrapper { margin-top: 20px; text-align: center; display: none; }
.btn-invoice {
  background-color: #fff; border: 2px solid #0057B8; color: #0057B8;
  padding: 10px 24px; border-radius: 50px; font-weight: 700; font-size: 14px;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.3s ease;
}
.btn-invoice:hover { background-color: #0057B8; color: #fff; box-shadow: 0 4px 15px rgba(0, 87, 184, 0.2); }
.print-note { font-size: 11px; color: #888; margin-top: 8px; display: block; }

.vat-info-details {
  margin-top: 25px; border-top: 1px solid var(--jt-border-light, #eee);
  padding-top: 15px; font-size: 14px; color: var(--bs-body-color); opacity: 0.9; line-height: 1.6;
}
.vat-info-details summary {
  cursor: pointer; font-weight: 600; color: #0057B8; margin-bottom: 15px;
}
.vat-info-list li { margin-bottom: 8px; }

.dark-mode .vat-header h1, 
.dark-mode .vat-rate-option input:checked + span,
.dark-mode .vat-rate-option:hover,
.dark-mode .vat-info-details summary,
.dark-mode .h-rate,
.dark-mode .btn-copy:hover {
    color: #66b0ff !important;
    border-color: #66b0ff;
}
.dark-mode #ua-custom-rate { border-color: #66b0ff; }

/* ==========================================================================
   Widget HTML4 - App Content Cards CSS
   ========================================================================== */

.app-content-wrapper {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--bs-body-color, #444);
  line-height: 1.7;
  margin-top: 35px;
  max-width: 100%;
}

.app-card {
  background-color: var(--bs-body-bg, #ffffff);
  border: 1px solid var(--jt-border-light, #eef2f5);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;
}
.app-card:hover { transform: translateY(-2px); }

.app-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--jt-border-light, #f7f9fc);
  padding-bottom: 12px;
}

.app-header h1, .app-header h2 {
  color: #0057B8;
  font-weight: 800;
  font-size: 20px !important;
  margin: 0;
  line-height: 1.3;
}

.app-icon { width: 26px; height: 26px; fill: #0057B8; flex-shrink: 0; }
.app-text { font-size: 16px; color: var(--bs-body-color, #555); margin-bottom: 15px; opacity: 0.9; }

.seo-box {
  background: rgba(0, 87, 184, 0.05);
  border-left: 4px solid #0057B8;
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
  font-size: 15px;
  color: var(--bs-body-color, #333);
  font-style: italic;
}

.step-list { list-style: none; padding: 0; counter-reset: my-counter; }
.step-list li { position: relative; padding-left: 45px; margin-bottom: 15px; font-size: 15px; color: var(--bs-body-color, #555); }
.step-list li::before {
  counter-increment: my-counter;
  content: counter(my-counter);
  position: absolute; left: 0; top: 0; width: 30px; height: 30px;
  background-color: rgba(0, 87, 184, 0.1); color: #0057B8; border-radius: 50%;
  text-align: center; line-height: 30px; font-weight: 800; font-size: 14px;
}
.step-list strong { color: var(--bs-body-color, #333); }

.app-table-wrap { 
  width: 100%; 
  border-radius: 10px; 
  border: 1px solid var(--jt-border-light, #eee);
  overflow: hidden; 
}

.app-table { 
  width: 100%; 
  border-collapse: collapse; 
  table-layout: fixed; 
}

.app-table th { 
  background-color: var(--jt-bg-light, #f8f9fa); 
  color: var(--bs-body-color, #333); 
  padding: 12px 5px; 
  text-align: left; 
  font-size: 13px; 
  font-weight: 700;
  width: 30%; 
}

.app-table td { 
  padding: 12px 5px; 
  border-top: 1px solid var(--jt-border-light, #eee); 
  font-size: 14px; 
  color: var(--bs-body-color, #444);
  vertical-align: middle;
  word-wrap: break-word; 
}

.badge { 
  padding: 5px 8px; 
  border-radius: 6px; 
  font-size: 11px; 
  font-weight: 700; 
  display: inline-block; 
  color: #fff;
  white-space: normal; 
  line-height: 1.2;
  text-align: center;
}
.b-blue { background: #1565c0; }
.b-green { background: #2e7d32; }
.b-yellow { background: #f9a825; color: #000; }
.b-red { background: #c62828; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.info-item { background: var(--jt-bg-light, #f8f9fa); padding: 20px; border-radius: 12px; border-left: 5px solid #ddd; }
.info-item.danger { border-left-color: #c62828; }
.info-item.warning { border-left-color: #f9a825; }
.info-item.tip { border-left-color: #2e7d32; }
.info-title { font-weight: 700; display: block; margin-bottom: 10px; font-size: 15px; color: var(--bs-body-color, #333); }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 8px; font-size: 14px; color: var(--bs-body-color, #555); }
.check-list li::before { content: "\2714"; position: absolute; left: 0; top: 0; color: #27ae60; font-weight: bold; font-size: 16px; }
.danger .check-list li::before { content: "\2716"; color: #c62828; }

.formula-widget { background: rgba(0, 87, 184, 0.05); padding: 15px; border-radius: 10px; text-align: center; font-family: monospace; font-size: 18px; color: #0057B8; border: 1px dashed #0057B8; margin: 15px 0; }
.expert-note { display: flex; gap: 12px; background: rgba(249, 168, 37, 0.1); padding: 15px; border-radius: 8px; align-items: start; margin-top: 20px; }
.note-icon { width: 20px; height: 20px; fill: #f59f00; flex-shrink: 0; margin-top: 2px;}

.dark-mode .app-card { box-shadow: none; border-color: #333; }
.dark-mode .info-item { background: rgba(255,255,255,0.03); }
.dark-mode .app-header h2,
.dark-mode .step-list li::before,
.dark-mode .formula-widget,
.dark-mode .vat-info-details summary {
    color: #66b0ff !important;
    border-color: #66b0ff;
}
.dark-mode .app-icon { fill: #66b0ff !important; }
.dark-mode .expert-note { background: rgba(255,255,255,0.05); }

@media (max-width: 600px) { .app-card { padding: 18px; } }

/* ==========================================================================
   Widget HTML3 - FAQ Section CSS
   ========================================================================== */

.faq-card {
  background: var(--bs-body-bg, #ffffff);
  border: 1px solid var(--jt-border-light, #eef2f5);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 87, 184, 0.04);
}

.faq-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--jt-border-light, #f7f9fc);
  padding-bottom: 12px;
}

.faq-header-title h2 {
  color: #0057B8;
  font-weight: 800;
  font-size: 20px !important;
  margin: 0;
}

.app-details {
  margin-bottom: 12px;
  border: 1px solid var(--jt-border-light, #eee);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.app-summary {
  padding: 15px 20px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--jt-bg-light, #fdfdfd);
  color: var(--bs-body-color, #333);
  font-size: 15px;
}
.app-summary::-webkit-details-marker { display: none; }

.app-summary::after {
  content: '+';
  font-size: 20px;
  color: #0057B8;
  font-weight: 800;
  transition: transform 0.3s ease;
}

.app-details[open] {
  border-color: #0057B8;
  box-shadow: 0 4px 15px rgba(0, 87, 184, 0.08);
}
.app-details[open] .app-summary {
  background-color: rgba(0, 87, 184, 0.05);
  color: #0057B8;
  border-bottom: 1px solid rgba(0, 87, 184, 0.1);
}
.app-details[open] .app-summary::after {
  content: '\2212';
  transform: rotate(180deg);
}

.app-faq-answer {
  padding: 15px 20px;
  color: var(--bs-body-color, #555);
  font-size: 15px;
  line-height: 1.6;
  background-color: var(--bs-body-bg, #fff);
}

.dark-mode .app-details { border-color: #333; }
.dark-mode .app-summary { background-color: rgba(255,255,255,0.05); }
.dark-mode .app-details[open] { border-color: #0057B8; }

.update-footer {
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid var(--jt-border-light, #eee);
  text-align: center;
  font-size: 13px;
  color: var(--bs-body-color, #666);
  line-height: 1.6;
}

.update-row {
  display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 4px;
}
.footer-icon { width: 14px; height: 14px; fill: currentColor; opacity: 0.7; }

.source-link { color: inherit; text-decoration: underline; font-weight: 600; }
.source-link:hover { color: #0057B8; }

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  100% { transform: translateX(0); }
}