html {
    scroll-behavior: auto !important;
    max-width: 100vw !important;
    width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

body {
    max-width: 100vw !important;
    width: 100% !important;
    overflow-x: hidden !important;
    position: relative !important;
    box-sizing: border-box !important;
}

*, *::before, *::after {
    box-sizing: border-box !important;
}

/* Mobile Viewport Horizontal Scroll Prevention */
.page,
.page-wrapper,
main.page-content,
.page-home,
#tool-box,
#content-box {
    max-width: 100% !important;
    /* clip keeps the sticky navbar functional: overflow-x:hidden forces overflow-y:auto
       which turns these wrappers into scroll containers and breaks position:sticky */
    overflow-x: clip !important;
    overflow-y: visible !important;
    box-sizing: border-box !important;
}

.container-xl,
.container-fluid,
.container {
    max-width: 100% !important;
    overflow-x: clip !important;
    box-sizing: border-box !important;
}

#toast-container>div{
	box-shadow: none;
}

div.g-recaptcha{
   width: auto !important;
   height: auto !important;
   text-align: -webkit-center;
   text-align: -moz-center;
   text-align: -o-center;
   text-align: -ms-center;
}

.logo-image img{
    max-width: 100px;
}

.zindex-1{
    z-index: 1;
}

/* Modern Elevated Search Box */
.search-box {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 440px;
  max-width: 90vw;
  display: none;
  z-index: 1055;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-input-wrap:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18), 0 14px 28px -5px rgba(0, 0, 0, 0.12) !important;
}

.search-addon-icon {
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  pointer-events: none;
  z-index: 5;
}

.search-input-field {
  width: 100% !important;
  height: 48px !important;
  padding-left: 48px !important;
  padding-right: 42px !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  font-size: 0.95rem;
  color: #0f172a;
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  border: none;
  background: transparent;
  cursor: pointer;
}

.search-results-card {
  background: #ffffff;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12) !important;
}

.search-result-item {
  transition: background 0.15s ease, transform 0.15s ease;
  color: #1e293b;
}

.search-result-item:hover {
  background: #f1f5f9 !important;
  color: #2563eb;
}

/* Dark mode for search box */
.theme-dark .search-input-wrap {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

.theme-dark .search-input-wrap:focus-within {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.22), 0 14px 28px -5px rgba(0, 0, 0, 0.5) !important;
}

.theme-dark .search-input-field {
  color: #f8fafc;
}

.theme-dark .search-results-card {
  background: #1e293b;
  border-color: #334155 !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5) !important;
}

.theme-dark .search-result-item {
  color: #f1f5f9;
  background: transparent;
}

.theme-dark .search-result-item:hover {
  background: #334155 !important;
  color: #60a5fa;
}

.theme-dark .search-result-icon {
  background: rgba(96, 165, 250, 0.15) !important;
}

/* Mobile responsive search box */
@media (max-width: 767.98px) {
  .search-box {
    position: fixed !important;
    top: 62px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    z-index: 1055 !important;
  }
}

header.navbar.sticky-top,
.z-index-sticky{
    z-index: 1030;
}

.parallax-image .container{
    position: relative;
    z-index: 1;
}

.lazyload,
.lazyloading {
  opacity: 0;
}

.lazyloaded {
    opacity: 1;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

div.g-recaptcha{
   width: auto !important;
   height: auto !important;
   text-align: -webkit-center;
   text-align: -moz-center;
   text-align: -o-center;
   text-align: -ms-center;
}

.mask{
    position: absolute;
    background-position: 50%;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .8;
    z-index: 1;
}

.plugin-name{
    left: 15px;
    bottom: 10px;
    padding: 8px 15px;
    color: white;
    background: rgba(30,30,30,0.9);
    text-shadow: 0 1px 3px rgb(0 0 0 / 40%);
    box-shadow: 0 0 30px rgb(255 255 255 / 10%);
}

.result del {
    text-decoration: none;
    color: #b30000;
    background: #fadad7;
}

.result ins {
    background: #eaf2c2;
    color: #406619;
    text-decoration: none;
}

#gmap{
    width: 100%;
    height: 280px;
}
 
hr.horizontal.dark {
    background-image: linear-gradient(90deg,transparent,rgba(0,0,0,.4),transparent);
}

hr.horizontal {
    background-color: transparent;
}

.icon-xl{
    width: 100px;
    height: 100px;
}

.maintenance-page h2{
    font-size: 2rem;
    font-weight: 600;
}

.maintenance-page .btn-warning {
    background-image: linear-gradient(310deg,#f53939,#fbcf33);
}

.fab.icon,
.fas.icon,
.far.icon,
.fa.icon{
    font-size: inherit;
    height: auto;
    margin: 0 .25rem 0 -.25rem;
}

.sidenav{
	z-index: 10;
}

.btn-close{
	color: #444;
}

.btn-close:hover {
    color: inherit;
}

.rounded-top-0{
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.rounded-bottom-0{
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important; 
}

.error{
	color: #ea0606;
}

.form-label, label {
    font-size: 14px;
}

.h1, h1{
    font-size: 2.5rem;
}

.h-0{
    height: 0 !important;
}

.wh-110px {
    height: 110px !important;
    width: 110px !important;
}

#download-box .table td, 
#download-box .table th{
    white-space: inherit;
}

#download-box .nav.nav-pills .nav-link.active
{
    background-image: linear-gradient(310deg,#f53939,#fbcf33);
    color: white !important;
}

.border-transparent{
    border: transparent !important;
}

#sidenav-collapse-main{
    overflow-x: hidden !important;
}

table.settings > tbody > tr > td{
    padding: 15px 10px !important;
}

.theme-dark .input-group-flat .input-group-text:last-child {
    padding-left: 0.75rem;
}

.theme-dark .form-control::-webkit-file-upload-button {
    background-color: #1e293b !important;
}

.theme-dark .card-body+.card-body {
    border-top: 0;
}

.theme-dark .card{
    border-color: rgba(101,109,119,.16);
}

.lang-menu .dropdown-menu{
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}

.lang-image{
    width: 16px;
    height: auto;
}

.sidebars .sticky-top{
    top: 15px;
}

.sidebar-icon{
    color: #3a416f !important;
    font-size: 12px !important;
    opacity: 1 !important;
    top: 0 !important;
}

.nav-link.active .sidebar-icon{
    color: #fff !important;
}


.navbar-vertical .navbar-nav .nav-link[data-bs-toggle=collapse]:after {
    font-family: 'font awesome 5 free';
    font-weight: 700;
    font-style: normal;
    font-variant: normal;
    display: inline-block;
    margin-left: auto;
    content: '\f105';
    transition: all .15s ease;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    color: #ced4da;
}

.navbar-vertical.navbar-expand-xs .navbar-nav .nav-item {
    width: auto
}

@media(prefers-reduced-motion:reduce) {
    .navbar-vertical .navbar-nav .nav-link[data-bs-toggle=collapse]:after {
        transition: none
    }
}

.navbar-vertical .navbar-nav .nav-link[data-bs-toggle=collapse][aria-expanded=true]:after {
    transform: rotate(90deg);
    color: rgba(35,46,60,.7);
}

.navbar-vertical .navbar-nav .nav-link {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

#indexing .nav-link,
#tools .nav-link,
#pages .nav-link,
#theme-settings .nav-link{
    padding-left: 3.25rem !important;
} 

#indexing .nav-link:focus, 
#indexing .nav-link:hover,
#tools .nav-link:focus, 
#tools .nav-link:hover,
#pages .nav-link:focus, 
#pages .nav-link:hover,
#theme-settings .nav-link:focus, 
#theme-settings .nav-link:hover {
    color: inherit;
    text-decoration: none;
    background-color: rgba(101,109,119,.06);
}

#indexing .nav-link.active, 
#indexing .nav-link:active,
#tools .nav-link.active, 
#tools .nav-link:active,
#pages .nav-link.active, 
#pages .nav-link:active,
#theme-settings .nav-link.active, 
#theme-settings .nav-link:active {
    color: #206bc4;
    text-decoration: none;
    background-color: rgba(32,107,196,.06);
}

div.screenshot{
    position: relative;
}

.overlay-preview {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.parallax-image{
    background-position: 50% 50%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100%;
}

span#heart i{
    color: rgb(242, 48, 48);
    display: inline-block;
    vertical-align: middle;
    margin: 0px 4px;
}

@media (prefers-reduced-motion: no-preference){
    span#heart i {
        animation: 2s ease 0s infinite normal none running heart;
    }
}

@-webkit-keyframes heart {
    1% {
        -webkit-transform: scale(1.25);
        -ms-transform: scale(1.25);
        transform: scale(1.25);
    }
    10% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
    15% {
        -webkit-transform: scale(1.25);
        -ms-transform: scale(1.25);
        transform: scale(1.25);
    }
    18% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes heart {
    1% {
        -webkit-transform: scale(1.25);
        -ms-transform: scale(1.25);
        transform: scale(1.25);
    }
    10% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
    15% {
        -webkit-transform: scale(1.25);
        -ms-transform: scale(1.25);
        transform: scale(1.25);
    }
    18% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
}

#content-box img:not(.img-fluid):not(.blur-shadow-image img):not(.cropper-container img) {
    border-radius: .75rem;
    max-width: 100%;
    height: auto;
    box-shadow: 0 .25rem .375rem -.0625rem hsla(0,0%,8%,.12),0 .125rem .25rem -.0625rem hsla(0,0%,8%,.07);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.is-divider {
    height: 3px;
    display: block;
    background-color: rgba(0,0,0,0.1);
    margin: 1em 0 1em;
    width: 100%;
    max-width: 30px;
    margin-left: auto;
    margin-right: auto;
}

.hr {
    border-color: #e9ecef;
}

.text-nowrap{
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.text-justify {
    text-align: justify!important;
}

.btn-group-sm>.btn i, .btn.btn-sm i {
    font-size: inherit;
}

.dd-handle{
    border: 1px solid rgba(98,105,118,.16) !important;
    box-shadow: none !important;
}

.dd-handle span i{
    font-size: inherit;
}

@media (max-width: 991.98px){
    .dropdown.nav-item .dropdown-menu-animation.show {
        height: auto !important;
        overflow: hidden !important;
    }
}

/**
 * -------------------------------------------------------------------------------
 *  Back to top
 * -------------------------------------------------------------------------------
**/

#backtotop { 
    bottom: 0; 
    display: none; 
    margin: 0 20px 20px 0; 
    position: fixed; 
    right: 0; 
    z-index: 2; 
} 
#backtotop a { 
    background: url("../img/arrow.png") no-repeat scroll 50% 50% rgba(0, 0, 0, 0.5); 
    border: 0 none; 
    display: block; 
    height: 40px; 
    text-decoration: none; 
    transition: all 0.1s ease-in-out 0s; 
    width: 40px; 
    border-radius: 5px;
} 
#backtotop a:hover { 
    -webkit-box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.5); 
    box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.5); 
    background-color: rgba(0, 0, 0, 0.6);
}

/**
 * -------------------------------------------------------------------------------
 *  Cookies
 * -------------------------------------------------------------------------------
**/

.cookies-wrapper{
    z-index: 9999;
    max-width: 250px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    bottom: 0;
    left: 0;
    right: auto;
    top: auto;
    margin: 30px;
}

.cookies-wrapper .btn-close {
    position: absolute;
    right: 10px;
    top: 10px;
}

.cookies-wrapper .icon {
    width: 80px;
    height: 80px;
}

/**
 * -------------------------------------------------------------------------------
 *  Pace
 * -------------------------------------------------------------------------------
**/

.pace {
    -webkit-pointer-events: none;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.pace-inactive {
    display: none;
}

.pace .pace-progress {
    background-image: linear-gradient(310deg,#ED3269,#F05F3E);
    position: fixed;
    z-index: 2000;
    top: 0;
    right: 100%;
    width: 100%;
    height: 2px;
}

.pace .pace-progress-inner {
    display: block;
    position: absolute;
    right: 0px;
    width: 100px;
    height: 100%;
    box-shadow: 0 0 10px #cb0c9f, 0 0 5px #cb0c9f;
    opacity: 1.0;
    -webkit-transform: rotate(3deg) translate(0px, -4px);
    -moz-transform: rotate(3deg) translate(0px, -4px);
    -ms-transform: rotate(3deg) translate(0px, -4px);
    -o-transform: rotate(3deg) translate(0px, -4px);
    transform: rotate(3deg) translate(0px, -4px);
}

.pace .pace-activity {
    display: block;
    position: fixed;
    z-index: 2000;
    top: 15px;
    right: 15px;
    width: 14px;
    height: 14px;
    border: solid 2px transparent;
    border-top-color: #cb0c9f;
    border-left-color: #cb0c9f;
    border-radius: 10px;
    -webkit-animation: pace-spinner 400ms linear infinite;
    -moz-animation: pace-spinner 400ms linear infinite;
    -ms-animation: pace-spinner 400ms linear infinite;
    -o-animation: pace-spinner 400ms linear infinite;
    animation: pace-spinner 400ms linear infinite;
}

@-webkit-keyframes pace-spinner {
    0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
@-moz-keyframes pace-spinner {
    0% { -moz-transform: rotate(0deg); transform: rotate(0deg); }
    100% { -moz-transform: rotate(360deg); transform: rotate(360deg); }
}
@-o-keyframes pace-spinner {
    0% { -o-transform: rotate(0deg); transform: rotate(0deg); }
    100% { -o-transform: rotate(360deg); transform: rotate(360deg); }
}
@-ms-keyframes pace-spinner {
    0% { -ms-transform: rotate(0deg); transform: rotate(0deg); }
    100% { -ms-transform: rotate(360deg); transform: rotate(360deg); }
}
@keyframes pace-spinner {
    0% { transform: rotate(0deg); transform: rotate(0deg); }
    100% { transform: rotate(360deg); transform: rotate(360deg); }
}

/**
 * -------------------------------------------------------------------------------
 *  Social
 * -------------------------------------------------------------------------------
**/

.btn.btn-facebook.btn-simple,
.btn.btn-twitter.btn-simple,
.btn.btn-youtube.btn-simple,
.btn.btn-linkedin.btn-simple,
.btn.btn-skype.btn-simple,
.btn.btn-github.btn-simple,
.btn.btn-behance.btn-simple,
.btn.btn-dribbble.btn-simple,
.btn.btn-flickr.btn-simple,
.btn.btn-pinterest.btn-simple,
.btn.btn-tumblr.btn-simple,
.btn.btn-vimeo.btn-simple,
.btn.btn-vk.btn-simple,
.btn.btn-telegram.btn-simple,
.btn.btn-reddit.btn-simple,
.btn.btn-instagram.btn-simple,
.btn.btn-whatsapp.btn-simple {
    background-color: transparent;
    background-image: none!important;
    box-shadow: none;
    border: none;
}

.btn.btn-facebook.btn-simple {
    color: #3b5998;
}

.btn.btn-twitter.btn-simple {
    color: #55acee;
}

.btn.btn-youtube.btn-simple {
	color: #ff0000;
}

.btn.btn-linkedin.btn-simple {
	color: #0a66c2;
}

.btn.btn-skype.btn-simple {
	color: #00aff0;
}

.btn.btn-github.btn-simple {
	color: #24292e;
}

.theme-dark .btn.btn-github.btn-simple{
    color: #f4f6fa;
}

.btn.btn-behance.btn-simple {
	color: #0057ff;
}

.btn.btn-dribbble.btn-simple {
	color: #c32361;
}

.btn.btn-flickr.btn-simple {
	color: #f40083;
}

.btn.btn-pinterest.btn-simple {
	color: #bd081c;
}

.btn.btn-tumblr.btn-simple {
	color: #2c4762;
}

.btn.btn-vimeo.btn-simple {
	color: #1ab7ea;
}

.btn.btn-vk.btn-simple {
	color: #4a76a8;
}

.btn.btn-telegram.btn-simple {
	color: #0088cc;
}

.btn.btn-reddit.btn-simple {
    color: #ff5700;
}

.btn.btn-whatsapp.btn-simple {
	color: #25d366;
}

.btn.btn-instagram.btn-simple {
    color: #7C39AE;
}

.share-icons .btn.btn-facebook.btn-simple,
.share-icons .btn.btn-twitter.btn-simple,
.share-icons .btn.btn-youtube.btn-simple,
.share-icons .btn.btn-linkedin.btn-simple,
.share-icons .btn.btn-skype.btn-simple,
.share-icons .btn.btn-github.btn-simple,
.share-icons .btn.btn-behance.btn-simple,
.share-icons .btn.btn-dribbble.btn-simple,
.share-icons .btn.btn-flickr.btn-simple,
.share-icons .btn.btn-pinterest.btn-simple,
.share-icons .btn.btn-tumblr.btn-simple,
.share-icons .btn.btn-vimeo.btn-simple,
.share-icons .btn.btn-vk.btn-simple,
.share-icons .btn.btn-telegram.btn-simple,
.share-icons .btn.btn-reddit.btn-simple,
.share-icons .btn.btn-instagram.btn-simple,
.share-icons .btn.btn-whatsapp.btn-simple {
    color: white !important;
    font-size: .75rem;
}

.share-icons-sm .btn.btn-facebook.btn-simple,
.share-icons-sm .btn.btn-twitter.btn-simple,
.share-icons-sm .btn.btn-youtube.btn-simple,
.share-icons-sm .btn.btn-linkedin.btn-simple,
.share-icons-sm .btn.btn-skype.btn-simple,
.share-icons-sm .btn.btn-github.btn-simple,
.share-icons-sm .btn.btn-behance.btn-simple,
.share-icons-sm .btn.btn-dribbble.btn-simple,
.share-icons-sm .btn.btn-flickr.btn-simple,
.share-icons-sm .btn.btn-pinterest.btn-simple,
.share-icons-sm .btn.btn-tumblr.btn-simple,
.share-icons-sm .btn.btn-vimeo.btn-simple,
.share-icons-sm .btn.btn-vk.btn-simple,
.share-icons-sm .btn.btn-telegram.btn-simple,
.share-icons-sm .btn.btn-reddit.btn-simple,
.share-icons-sm .btn.btn-instagram.btn-simple,
.share-icons-sm .btn.btn-whatsapp.btn-simple {
    color: white !important;
    font-size: .5rem;
}

.share-icons-sm i,
.share-icons i{
    margin-left: .12em;
    margin-right: .12em;
    min-width: 2.5em;
    display: inline-block;
}

.social-shadow{
    box-shadow: inset 0 -4px 0 rgb(0 0 0 / 25%) !important;
    -webkit-box-shadow: inset 0 -4px 0 rgb(0 0 0 / 25%) !important;
}

.share-icons-sm .btn.btn-facebook.btn-simple:hover,
.share-icons-sm .btn.btn-facebook.btn-simple:focus,
.share-icons-sm .btn.btn-facebook.btn-simple:visited,
.share-icons-sm .btn.btn-facebook.btn-simple:active,
.share-icons-sm .btn.btn-facebook.btn-simple,
.share-icons .btn.btn-facebook.btn-simple:hover,
.share-icons .btn.btn-facebook.btn-simple:focus,
.share-icons .btn.btn-facebook.btn-simple:visited,
.share-icons .btn.btn-facebook.btn-simple:active,
.share-icons .btn.btn-facebook.btn-simple {
    background: #3b5998 !important;
}

.share-icons-sm .btn.btn-twitter.btn-simple:hover,
.share-icons-sm .btn.btn-twitter.btn-simple:focus,
.share-icons-sm .btn.btn-twitter.btn-simple:visited,
.share-icons-sm .btn.btn-twitter.btn-simple:active,
.share-icons-sm .btn.btn-twitter.btn-simple,
.share-icons .btn.btn-twitter.btn-simple:hover,
.share-icons .btn.btn-twitter.btn-simple:focus,
.share-icons .btn.btn-twitter.btn-simple:visited,
.share-icons .btn.btn-twitter.btn-simple:active,
.share-icons .btn.btn-twitter.btn-simple {
    background: #55acee !important;
}

.share-icons-sm .btn.btn-youtube.btn-simple:hover,
.share-icons-sm .btn.btn-youtube.btn-simple:focus,
.share-icons-sm .btn.btn-youtube.btn-simple:visited,
.share-icons-sm .btn.btn-youtube.btn-simple:active,
.share-icons-sm .btn.btn-youtube.btn-simple,
.share-icons .btn.btn-youtube.btn-simple:hover,
.share-icons .btn.btn-youtube.btn-simple:focus,
.share-icons .btn.btn-youtube.btn-simple:visited,
.share-icons .btn.btn-youtube.btn-simple:active,
.share-icons .btn.btn-youtube.btn-simple {
    background: #ff0000 !important;
}

.share-icons-sm .btn.btn-linkedin.btn-simple:hover,
.share-icons-sm .btn.btn-linkedin.btn-simple:focus,
.share-icons-sm .btn.btn-linkedin.btn-simple:visited,
.share-icons-sm .btn.btn-linkedin.btn-simple:active,
.share-icons-sm .btn.btn-linkedin.btn-simple,
.share-icons .btn.btn-linkedin.btn-simple:hover,
.share-icons .btn.btn-linkedin.btn-simple:focus,
.share-icons .btn.btn-linkedin.btn-simple:visited,
.share-icons .btn.btn-linkedin.btn-simple:active,
.share-icons .btn.btn-linkedin.btn-simple {
    background: #0a66c2 !important;
}

.share-icons-sm .btn.btn-skype.btn-simple:hover,
.share-icons-sm .btn.btn-skype.btn-simple:focus,
.share-icons-sm .btn.btn-skype.btn-simple:visited,
.share-icons-sm .btn.btn-skype.btn-simple:active,
.share-icons-sm .btn.btn-skype.btn-simple,
.share-icons .btn.btn-skype.btn-simple:hover,
.share-icons .btn.btn-skype.btn-simple:focus,
.share-icons .btn.btn-skype.btn-simple:visited,
.share-icons .btn.btn-skype.btn-simple:active,
.share-icons .btn.btn-skype.btn-simple {
    background: #00aff0 !important;
}

.share-icons-sm .btn.btn-github.btn-simple:hover,
.share-icons-sm .btn.btn-github.btn-simple:focus,
.share-icons-sm .btn.btn-github.btn-simple:visited,
.share-icons-sm .btn.btn-github.btn-simple:active,
.share-icons-sm .btn.btn-github.btn-simple,
.share-icons .btn.btn-github.btn-simple:hover,
.share-icons .btn.btn-github.btn-simple:focus,
.share-icons .btn.btn-github.btn-simple:visited,
.share-icons .btn.btn-github.btn-simple:active,
.share-icons .btn.btn-github.btn-simple {
    background: #24292e !important;
}

.share-icons-sm .btn.btn-behance.btn-simple:hover,
.share-icons-sm .btn.btn-behance.btn-simple:focus,
.share-icons-sm .btn.btn-behance.btn-simple:visited,
.share-icons-sm .btn.btn-behance.btn-simple:active,
.share-icons-sm .btn.btn-behance.btn-simple,
.share-icons .btn.btn-behance.btn-simple:hover,
.share-icons .btn.btn-behance.btn-simple:focus,
.share-icons .btn.btn-behance.btn-simple:visited,
.share-icons .btn.btn-behance.btn-simple:active,
.share-icons .btn.btn-behance.btn-simple {
    background: #0057ff !important;
}

.share-icons-sm .btn.btn-dribbble.btn-simple:hover,
.share-icons-sm .btn.btn-dribbble.btn-simple:focus,
.share-icons-sm .btn.btn-dribbble.btn-simple:visited,
.share-icons-sm .btn.btn-dribbble.btn-simple:active,
.share-icons-sm .btn.btn-dribbble.btn-simple,
.share-icons .btn.btn-dribbble.btn-simple:hover,
.share-icons .btn.btn-dribbble.btn-simple:focus,
.share-icons .btn.btn-dribbble.btn-simple:visited,
.share-icons .btn.btn-dribbble.btn-simple:active,
.share-icons .btn.btn-dribbble.btn-simple {
    background: #c32361 !important;
}

.share-icons-sm .btn.btn-flickr.btn-simple:hover,
.share-icons-sm .btn.btn-flickr.btn-simple:focus,
.share-icons-sm .btn.btn-flickr.btn-simple:visited,
.share-icons-sm .btn.btn-flickr.btn-simple:active,
.share-icons-sm .btn.btn-flickr.btn-simple,
.share-icons .btn.btn-flickr.btn-simple:hover,
.share-icons .btn.btn-flickr.btn-simple:focus,
.share-icons .btn.btn-flickr.btn-simple:visited,
.share-icons .btn.btn-flickr.btn-simple:active,
.share-icons .btn.btn-flickr.btn-simple {
    background: #f40083 !important;
}

.share-icons-sm .btn.btn-pinterest.btn-simple:hover,
.share-icons-sm .btn.btn-pinterest.btn-simple:focus,
.share-icons-sm .btn.btn-pinterest.btn-simple:visited,
.share-icons-sm .btn.btn-pinterest.btn-simple:active,
.share-icons-sm .btn.btn-pinterest.btn-simple,
.share-icons .btn.btn-pinterest.btn-simple:hover,
.share-icons .btn.btn-pinterest.btn-simple:focus,
.share-icons .btn.btn-pinterest.btn-simple:visited,
.share-icons .btn.btn-pinterest.btn-simple:active,
.share-icons .btn.btn-pinterest.btn-simple {
    background: #bd081c !important;
}

.share-icons-sm .btn.btn-tumblr.btn-simple:hover,
.share-icons-sm .btn.btn-tumblr.btn-simple:focus,
.share-icons-sm .btn.btn-tumblr.btn-simple:visited,
.share-icons-sm .btn.btn-tumblr.btn-simple:active,
.share-icons-sm .btn.btn-tumblr.btn-simple,
.share-icons .btn.btn-tumblr.btn-simple:hover,
.share-icons .btn.btn-tumblr.btn-simple:focus,
.share-icons .btn.btn-tumblr.btn-simple:visited,
.share-icons .btn.btn-tumblr.btn-simple:active,
.share-icons .btn.btn-tumblr.btn-simple {
    background: #2c4762 !important;
}

.share-icons-sm .btn.btn-vimeo.btn-simple:hover,
.share-icons-sm .btn.btn-vimeo.btn-simple:focus,
.share-icons-sm .btn.btn-vimeo.btn-simple:visited,
.share-icons-sm .btn.btn-vimeo.btn-simple:active,
.share-icons-sm .btn.btn-vimeo.btn-simple,
.share-icons .btn.btn-vimeo.btn-simple:hover,
.share-icons .btn.btn-vimeo.btn-simple:focus,
.share-icons .btn.btn-vimeo.btn-simple:visited,
.share-icons .btn.btn-vimeo.btn-simple:active,
.share-icons .btn.btn-vimeo.btn-simple {
    background: #1ab7ea !important;
}

.share-icons-sm .btn.btn-vk.btn-simple:hover,
.share-icons-sm .btn.btn-vk.btn-simple:focus,
.share-icons-sm .btn.btn-vk.btn-simple:visited,
.share-icons-sm .btn.btn-vk.btn-simple:active,
.share-icons-sm .btn.btn-vk.btn-simple,
.share-icons .btn.btn-vk.btn-simple:hover,
.share-icons .btn.btn-vk.btn-simple:focus,
.share-icons .btn.btn-vk.btn-simple:visited,
.share-icons .btn.btn-vk.btn-simple:active,
.share-icons .btn.btn-vk.btn-simple {
    background: #4a76a8 !important;
}

.share-icons-sm .btn.btn-telegram.btn-simple:hover,
.share-icons-sm .btn.btn-telegram.btn-simple:focus,
.share-icons-sm .btn.btn-telegram.btn-simple:visited,
.share-icons-sm .btn.btn-telegram.btn-simple:active,
.share-icons-sm .btn.btn-telegram.btn-simple,
.share-icons .btn.btn-telegram.btn-simple:hover,
.share-icons .btn.btn-telegram.btn-simple:focus,
.share-icons .btn.btn-telegram.btn-simple:visited,
.share-icons .btn.btn-telegram.btn-simple:active,
.share-icons .btn.btn-telegram.btn-simple {
    background: #0088cc !important;
}

.share-icons-sm .btn.btn-reddit.btn-simple:hover,
.share-icons-sm .btn.btn-reddit.btn-simple:focus,
.share-icons-sm .btn.btn-reddit.btn-simple:visited,
.share-icons-sm .btn.btn-reddit.btn-simple:active,
.share-icons-sm .btn.btn-reddit.btn-simple,
.share-icons .btn.btn-reddit.btn-simple:hover,
.share-icons .btn.btn-reddit.btn-simple:focus,
.share-icons .btn.btn-reddit.btn-simple:visited,
.share-icons .btn.btn-reddit.btn-simple:active,
.share-icons .btn.btn-reddit.btn-simple {
    background: #ff5700 !important;
}

.share-icons-sm .btn.btn-whatsapp.btn-simple:hover,
.share-icons-sm .btn.btn-whatsapp.btn-simple:focus,
.share-icons-sm .btn.btn-whatsapp.btn-simple:visited,
.share-icons-sm .btn.btn-whatsapp.btn-simple:active,
.share-icons-sm .btn.btn-whatsapp.btn-simple,
.share-icons .btn.btn-whatsapp.btn-simple:hover,
.share-icons .btn.btn-whatsapp.btn-simple:focus,
.share-icons .btn.btn-whatsapp.btn-simple:visited,
.share-icons .btn.btn-whatsapp.btn-simple:active,
.share-icons .btn.btn-whatsapp.btn-simple {
    background: #25d366 !important;
}

.share-icons-sm .btn.btn-instagram.btn-simple:hover,
.share-icons-sm .btn.btn-instagram.btn-simple:focus,
.share-icons-sm .btn.btn-instagram.btn-simple:visited,
.share-icons-sm .btn.btn-instagram.btn-simple:active,
.share-icons-sm .btn.btn-instagram.btn-simple,
.share-icons .btn.btn-instagram.btn-simple:hover,
.share-icons .btn.btn-instagram.btn-simple:focus,
.share-icons .btn.btn-instagram.btn-simple:visited,
.share-icons .btn.btn-instagram.btn-simple:active,
.share-icons .btn.btn-instagram.btn-simple {
    background: #f09433 !important; 
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important; 
    background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%) !important;  
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%) !important; 
}

/**
 * -------------------------------------------------------------------------------
 *  Loading
 * -------------------------------------------------------------------------------
**/

.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
}
.lds-ellipsis div {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}

/**
 * -------------------------------------------------------------------------------
 *  swal2
 * -------------------------------------------------------------------------------
**/

.swal2-confirm.btn.btn-success {
    margin-left: 10px;
    margin-right: 10px;
}

.swal2-html-container{
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.4285714;
}
/**
 * -------------------------------------------------------------------------------
 *  Choices
 * -------------------------------------------------------------------------------
**/

.choices {
    position: relative;
    margin-bottom: 24px;
    font-size: 16px
}

.choices:focus {
    outline: none
}

.choices:last-child {
    margin-bottom: 0
}

.choices.is-disabled .choices__inner,.choices.is-disabled .choices__input {
    background-color: #eaeaea;
    cursor: not-allowed;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.choices.is-disabled .choices__item {
    cursor: not-allowed
}

.choices [hidden] {
    display: none!important
}

.choices[data-type*=select-one] {
    cursor: pointer
}

.choices[data-type*=select-one] .choices__inner {
    padding-bottom: 7.5px
}

.choices[data-type*=select-one] .choices__input {
    display: block;
    width: 100%;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    background-color: #fff;
    margin: 0
}

.choices[data-type*=select-one] .choices__button {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);
    padding: 0;
    background-size: 8px;
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -10px;
    margin-right: 25px;
    height: 20px;
    width: 20px;
    border-radius: 10em;
    opacity: .5
}

.choices[data-type*=select-one] .choices__button:focus,.choices[data-type*=select-one] .choices__button:hover {
    opacity: 1
}

.choices[data-type*=select-one] .choices__button:focus {
    box-shadow: 0 0 0 2px #00bcd4
}

.choices[data-type*=select-one] .choices__item[data-value=""] .choices__button {
    display: none
}

.choices[data-type*=select-one]:after {
    content: "\f107";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 13.5px;
    top: 9px;
    pointer-events: none;
    transition: .3s ease
}

.choices[data-type*=select-one].is-open:after {
    transform: rotate(180deg)
}

.choices[data-type*=select-one][dir=rtl]:after {
    left: 11.5px;
    right: auto
}

.choices[data-type*=select-one][dir=rtl] .choices__button {
    right: auto;
    left: 0;
    margin-left: 25px;
    margin-right: 0
}

.choices[data-type*=select-multiple] .choices__inner,.choices[data-type*=text] .choices__inner {
    cursor: text
}

.choices[data-type*=select-multiple] .choices__button,.choices[data-type*=text] .choices__button {
    position: relative;
    display: inline-block;
    margin: 0 -6px 0 8px;
    padding-left: 17px;
    border-left: 1px solid hsla(0,0%,100%,.3);
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);
    background-size: 8px;
    width: 8px;
    line-height: 1;
    opacity: .75;
    border-radius: 0;
    transition: all .2s ease-in-out
}

.choices[data-type*=select-multiple] .choices__button:focus,.choices[data-type*=select-multiple] .choices__button:hover,.choices[data-type*=text] .choices__button:focus,.choices[data-type*=text] .choices__button:hover {
    opacity: 1
}

.choices__inner {
    display: flex;
    align-items: center;
    vertical-align: top;
    width: 100%;
    padding: .5rem .75rem;
    border: 1px solid #d2d6da;
    border-radius: .5rem;
    font-size: 14px;
    min-height: 40px;
    overflow: hidden
}

.is-open .choices__inner {
    border-radius: 2.5px 2.5px 0 0
}

.is-flipped.is-open .choices__inner {
    border-radius: 0 0 2.5px 2.5px
}

.choices__list {
    margin: 0;
    padding-left: 0;
    list-style: none
}

.choices__list--single {
    display: inline-block;
    width: 100%
}

[dir=rtl] .choices__list--single {
    padding-right: 4px;
    padding-left: 16px
}

.choices__list--single .choices__item {
    width: 100%
}

.choices__list--multiple {
    display: inline
}

.choices__list--multiple .choices__item {
    display: inline-block;
    vertical-align: middle;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 3.75px;
    margin-bottom: 3.75px;
    background-color: #3a416f;
    border: 1px solid #3a416f;
    color: #fff;
    word-break: break-all;
    box-sizing: border-box
}

.choices__list--multiple .choices__item[data-deletable] {
    padding-right: 5px
}

[dir=rtl] .choices__list--multiple .choices__item {
    margin-right: 0;
    margin-left: 3.75px
}

.choices__list--multiple .choices__item.is-highlighted {
    background-color: #00a5bb;
    border: 1px solid #008fa1
}

.is-disabled .choices__list--multiple .choices__item {
    background-color: #aaa;
    border: 1px solid #919191
}

.choices__list--dropdown {
    visibility: hidden;
    z-index: 1;
    position: absolute;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ddd;
    top: 100%;
    margin-top: -1px;
    border-bottom-left-radius: 2.5px;
    border-bottom-right-radius: 2.5px;
    word-break: break-all;
    will-change: visibility
}

.choices__list--dropdown.is-active {
    visibility: visible
}

.is-open .choices__list--dropdown {
    border-color: #b7b7b7
}

.is-flipped .choices__list--dropdown {
    top: auto;
    bottom: 200%;
    margin-top: 0;
    margin-bottom: -1px;
    border-radius: .5rem
}

.choices__list--dropdown .choices__list {
    position: relative;
    max-height: 300px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    will-change: scroll-position
}

.choices__list--dropdown .choices__item {
    position: relative;
    padding: .3rem 1rem;
    font-size: .875rem;
    border-radius: .5rem;
    transition: background-color .3s ease,color .3s ease
}

[dir=rtl] .choices__list--dropdown .choices__item {
    text-align: right
}

@media (min-width: 640px) {
    .choices__list--dropdown .choices__item--selectable {
        padding-right:100px
    }

    .choices__list--dropdown .choices__item--selectable:after {
        content: attr(data-select-text);
        font-size: 12px;
        opacity: 0;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        transition: opacity .3s ease
    }

    [dir=rtl] .choices__list--dropdown .choices__item--selectable {
        text-align: right;
        padding-left: 100px;
        padding-right: 10px
    }

    [dir=rtl] .choices__list--dropdown .choices__item--selectable:after {
        right: auto;
        left: 10px
    }
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: #f2f2f2
}

.choices__list--dropdown .choices__item--selectable.is-highlighted:after {
    opacity: .5
}

.choices__item {
    cursor: default
}

.choices__item--selectable {
    cursor: pointer
}

.choices__item--disabled {
    cursor: not-allowed;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    opacity: .5
}

.choices__heading {
    font-weight: 600;
    font-size: 12px;
    padding: 10px;
    border-bottom: 1px solid #f7f7f7;
    color: gray
}

.choices__button {
    text-indent: -9999px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 50%;
    cursor: pointer
}

.choices__button:focus {
    outline: none
}

.choices__input {
    display: inline-block;
    vertical-align: baseline;
    background-color: #fff;
    font-size: 14px;
    margin-bottom: 5px;
    border: 0;
    border-radius: 0;
    max-width: 100%;
    padding: 4px 0 4px 2px
}

.choices__input:focus {
    outline: 0
}

[dir=rtl] .choices__input {
    padding-right: 2px;
    padding-left: 0
}

.choices__placeholder {
    opacity: .5
}

.is-open .choices__inner {
    border-radius: .5rem
}

.choices__list--dropdown {
    display: block;
    opacity: 0;
    top: 19px;
    transform-origin: 50% 0;
    pointer-events: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform,box-shadow;
    border: none;
    border-radius: .5rem;
    box-shadow: 0 8px 26px -4px hsla(0,0%,8%,.15),0 8px 9px -5px hsla(0,0%,8%,.06);
    transform: perspective(999px) rotateX(-10deg) translateZ(0) translate3d(0,37px,0)!important;
    padding: 1rem .5rem;
    transition: visibility .25s,opacity .25s,transform .25s
}

.choices__list--dropdown.is-active {
    transform: perspective(999px) rotateX(0deg) translateZ(0) translate3d(0,37px,5px)!important;
    opacity: 1;
    display: block;
    pointer-events: auto
}

.choices__list--dropdown.is-active:before {
    top: -20px
}

.choices__list--dropdown:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: "\f0d8";
    position: absolute;
    top: 0;
    left: 28px;
    right: auto;
    font-size: 22px;
    color: #fff;
    transition: top .35s ease;
}

.choices[data-type*=select-one] .choices__input {
   border: 1px dashed #ddd;
   border-radius: .5rem;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
    background: #e9ecef;
    color: #252f40
}

.is-focused .choices__inner,.is-open .choices__inner {
    box-shadow: 0 0 0 2px #e9aede;
    border-color: #e293d3
}

.choices-primary {
    background-color: #cb0c9f
}

.choices-secondary {
    background-color: #8392ab
}

.choices-success {
    background-color: #82d616
}

.choices-info {
    background-color: #17c1e8
}

.choices-warning {
    background-color: #f53939
}

.choices-danger {
    background-color: #ea0606
}

.choices-light {
    background-color: #e9ecef
}

.choices-dark {
    background-color: #3a416f
}

.choices-white {
    background-color: #fff
}

/**
 * -------------------------------------------------------------------------------
 *  Theme Dark
 * -------------------------------------------------------------------------------
**/

.theme-dark .form-fieldset, .theme-dark .list-group-item{
    border-color: rgba(101,109,119,.16);
}

.theme-dark .text-body{
    color: #fff !important;
}

.theme-dark .footer {
    border-top: 1px solid rgba(101,109,119,.16);
}

.theme-dark a.card{
    box-shadow: rgb(30 41 59 / 4%) 0 2px 4px 0;
    border: 1px solid rgba(98,105,118,.16);
    color: inherit;
    transition: box-shadow .3s;
}

.theme-dark a.card:hover {
    box-shadow: 0 2px 16px 0 rgb(0 0 0 / 16%)!important;
}

/**
 * -------------------------------------------------------------------------------
 *  Dropzone
 * -------------------------------------------------------------------------------
**/

.remote-box,
.dropzone {
    border: 1px dashed rgba(0,0,0,.3) !important;
    background: #fafbfb !important;
}

.remote-box{
    min-height: 150px;
    padding: 20px 20px;
}

.theme-dark .remote-box,
.theme-dark .dropzone {
    background: var(--tblr-border-color-light) !important;
    border: 1px solid var(--tblr-border-color) !important;
}

.theme-dark .remote-box h3.text-muted,
.theme-dark .dropzone h3.text-muted{
    color: white !important;
}

#preview-image #image{
    max-width: 100% !important;
}

#preview-image{
    max-width: 100%;
}

.image-container{
    overflow-x: hidden;
}

.image-wrapper {
    flex-direction: row;
    transition: transform 0.35s cubic-bezier(0.15, 0.3, 0.25, 1) 0s, height 0.35s cubic-bezier(0.15, 0.3, 0.25, 1) 0s;
    direction: ltr;
    display: flex;
    will-change: transform;
    transform: translate(0%, 0px);
}

.show-remote-box{
    transform: translate(-100%, 0px);
}

.remote-box,
.local-image-box{
    width: 100%;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    overflow: auto hidden;
}

/**
 * -------------------------------------------------------------------------------
 *  Toast
 * -------------------------------------------------------------------------------
**/

#toast-container>div{
  box-shadow: none !important;
}

#toast-container>div:hover{
  box-shadow: none !important;
}

.toast-success {
  background-color: var(--tblr-success) !important;
}

.toast-info {
  background-color: var(--tblr-primary) !important;
}

.toast-warning {
  background-color: var(--tblr-warning) !important;
}

.toast-error {
  background-color: var(--tblr-danger) !important;
}

.toast-default {
  background-color: var(--tblr-text) !important;
}

/**
 * -------------------------------------------------------------------------------
 *  noUi
 * -------------------------------------------------------------------------------
**/

.noUi-target,.noUi-target * {
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    touch-action: none;
    -ms-user-select: none;
    -moz-user-select: none;
    user-select: none;
    box-sizing: border-box
}

.noUi-target {
    position: relative
}

.noUi-base,.noUi-connects {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1
}

.noUi-connects {
    overflow: hidden;
    z-index: 0
}

.noUi-connect,.noUi-origin {
    will-change: transform;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    -ms-transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    -webkit-transform-style: preserve-3d;
    transform-origin: 0 0;
    transform-style: flat
}

.noUi-txt-dir-rtl.noUi-horizontal .noUi-origin {
    left: 0;
    right: auto
}

.noUi-vertical .noUi-origin {
    top: -100%;
    width: 0
}

.noUi-horizontal .noUi-origin {
    height: 0
}

.noUi-handle {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute
}

.noUi-touch-area {
    height: 100%;
    width: 100%
}

.noUi-state-tap .noUi-connect,.noUi-state-tap .noUi-origin {
    transition: transform .3s
}

.noUi-state-drag * {
    cursor: inherit!important
}

.noUi-horizontal {
    height: 18px
}

.noUi-horizontal .noUi-handle {
    width: 34px;
    height: 28px;
    right: -17px;
    top: -6px
}

.noUi-vertical {
    width: 18px
}

.noUi-vertical .noUi-handle {
    width: 28px;
    height: 34px;
    right: -6px;
    bottom: -17px
}

.noUi-txt-dir-rtl.noUi-horizontal .noUi-handle {
    left: -17px;
    right: auto
}

.noUi-target {
    background: #fafafa;
    border-radius: 4px;
    border: 1px solid #d3d3d3;
    box-shadow: inset 0 1px 1px #f0f0f0,0 3px 6px -5px #bbb
}

.noUi-connects {
    border-radius: 3px
}

.noUi-connect {
    background: #3fb8af
}

.noUi-draggable {
    cursor: ew-resize
}

.noUi-vertical .noUi-draggable {
    cursor: ns-resize
}

.noUi-handle {
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    background: #fff;
    cursor: default;
    box-shadow: inset 0 0 1px #fff,inset 0 1px 7px #ebebeb,0 3px 6px -3px #bbb
}

.noUi-active {
    box-shadow: inset 0 0 1px #fff,inset 0 1px 7px #ddd,0 3px 6px -3px #bbb
}

.noUi-handle:after,.noUi-handle:before {
    content: "";
    display: block;
    position: absolute;
    height: 14px;
    width: 1px;
    background: #e8e7e6;
    left: 14px;
    top: 6px
}

.noUi-handle:after {
    left: 17px
}

.noUi-vertical .noUi-handle:after,.noUi-vertical .noUi-handle:before {
    width: 14px;
    height: 1px;
    left: 6px;
    top: 14px
}

.noUi-vertical .noUi-handle:after {
    top: 17px
}

[disabled] .noUi-connect {
    background: #b8b8b8
}

[disabled] .noUi-handle,[disabled].noUi-handle,[disabled].noUi-target {
    cursor: not-allowed
}

.noUi-pips,.noUi-pips * {
    box-sizing: border-box
}

.noUi-pips {
    position: absolute;
    color: #999
}

.noUi-value {
    position: absolute;
    white-space: nowrap;
    text-align: center
}

.noUi-value-sub {
    color: #ccc;
    font-size: 10px
}

.noUi-marker {
    position: absolute;
    background: #ccc
}

.noUi-marker-sub {
    background: #aaa
}

.noUi-marker-large {
    background: #aaa
}

.noUi-pips-horizontal {
    padding: 10px 0;
    height: 80px;
    top: 100%;
    left: 0;
    width: 100%
}

.noUi-value-horizontal {
    transform: translate(-50%,50%)
}

.noUi-rtl .noUi-value-horizontal {
    transform: translate(50%,50%)
}

.noUi-marker-horizontal.noUi-marker {
    margin-left: -1px;
    width: 2px;
    height: 5px
}

.noUi-marker-horizontal.noUi-marker-sub {
    height: 10px
}

.noUi-marker-horizontal.noUi-marker-large {
    height: 15px
}

.noUi-pips-vertical {
    padding: 0 10px;
    height: 100%;
    top: 0;
    left: 100%
}

.noUi-value-vertical {
    transform: translate(0,-50%);
    padding-left: 25px
}

.noUi-rtl .noUi-value-vertical {
    transform: translate(0,50%)
}

.noUi-marker-vertical.noUi-marker {
    width: 5px;
    height: 2px;
    margin-top: -1px
}

.noUi-marker-vertical.noUi-marker-sub {
    width: 10px
}

.noUi-marker-vertical.noUi-marker-large {
    width: 15px
}

.noUi-tooltip {
    display: block;
    position: absolute;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    background: #fff;
    color: #000;
    padding: 5px;
    text-align: center;
    white-space: nowrap
}

.noUi-horizontal .noUi-tooltip {
    transform: translate(-50%,0);
    left: 50%;
    bottom: 120%
}

.noUi-vertical .noUi-tooltip {
    transform: translate(0,-50%);
    top: 50%;
    right: 120%
}

.noUi-horizontal .noUi-origin>.noUi-tooltip {
    transform: translate(50%,0);
    left: auto;
    bottom: 10px
}

.noUi-vertical .noUi-origin>.noUi-tooltip {
    transform: translate(0,-18px);
    top: auto;
    right: 28px
}

.noUi-target {
    border: 0;
    box-shadow: none;
    background: 0 0;
    border-radius: 0;
    color: #206bc4
}

.noUi-horizontal {
    height: 1.25rem;
    padding: .5rem 0
}

.noUi-base {
    background: #e2e8f0;
    border-radius: 1rem
}

.noUi-handle {
    width: 1rem;
    height: 1rem;
    border: 2px solid #fff;
    box-shadow: 0 .1rem .25rem rgba(0,0,0,.1);
    border-radius: 1rem;
    background: currentColor;
    outline: 0
}

.noUi-handle:after,.noUi-handle:before {
    content: none
}

.noUi-horizontal .noUi-handle {
    width: 1rem;
    height: 1rem;
    top: -.5rem;
    right: -.5rem;
    margin: 1px 1px 0 0
}

.noUi-handle.noUi-active,.noUi-handle:focus {
    box-shadow: 0 0 0 1px #f8fafc,0 0 0 .25rem rgba(32,107,196,.25)
}

.noUi-connect {
    background: currentColor
}

@media (max-width: 767.98px) {
    .w-md-100 {
        width: 100%;
    }
}

/**
 * -------------------------------------------------------------------------------
 *  ribbon-wrapper
 * -------------------------------------------------------------------------------
**/

.ribbon-wrapper {
    --d: 6px;
    --c: var(--tblr-red);
    --f: 10px;
  display: inline-block;
}

.ribbon-wrapper::before {
  content: attr(data-ribbon);
  position: absolute;
  font-size: var(--f);
  top: 0;
  right: 0;
  transform: translate(29.29%, -100%) rotate(45deg);
  color: #fff;
  text-align: center;
  border: 1px solid transparent;
  border-bottom: 0;
  transform-origin: bottom left;
  padding: 2px 25px calc(var(--d) + 2px);
  background: linear-gradient(rgba(0, 0, 0, 0.5) 0 0) bottom/100% var(--d) no-repeat var(--c);
  background-clip: padding-box;
  clip-path: polygon(0 0,100% 0,100% 100%,calc(100% - var(--d)) calc(100% - var(--d)),var(--d) calc(100% - var(--d)),0 100%);
  -webkit-mask: linear-gradient(135deg,transparent calc(50% - var(--d) * 0.707),#fff 0) bottom left,
    linear-gradient(-135deg, transparent calc(50% - var(--d) * 0.707), #fff 0)bottom right;
  -webkit-mask-size: 300vmax 300vmax;
  -webkit-mask-composite: destination-in;
  mask-composite: intersect;
}


/* Core Web Vitals CLS Prevention for Advertisements */
.ad-banner {
  min-height: 90px;
  contain: layout;
  overflow: hidden;
}
@media (max-width: 768px) {
  .ad-banner {
    min-height: 50px;
  }
}
.ad-banner.sidebar-top,
.ad-banner.sidebar-middle,
.ad-banner.sidebar-bottom {
  min-height: 250px;
}

/* Core Web Vitals Header & Logo CLS Prevention */
.navbar-brand-image,
.navbar-logo-desktop {
  width: 154px !important;
  height: 32px !important;
  aspect-ratio: 154 / 32 !important;
  object-fit: contain;
}

.navbar-brand-icon,
.navbar-logo-mobile {
  width: 32px !important;
  height: 32px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 991.98px) {
  header.navbar {
    min-height: 56px !important;
  }
}
@media (min-width: 992px) {
  header.navbar {
    min-height: 56px;
  }
}

/* Category Box Contrast Improvement (WCAG AA Compliance) */
.category-box.bg-teal {
  background-color: #097d5b !important;
}
.category-box.bg-teal a,
.category-box.bg-teal span,
.category-box.bg-teal h3 {
  color: #ffffff !important;
}
.category-box a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   MODERN UI/UX REDESIGN - TOOLSADDA DESIGN SYSTEM
   Principles: 4pt grid, gray-first, scannable cards, 0 CLS, staff UX
   ========================================================================== */

/* Typography & Global Smoothing */
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Category Sections - Performance with content-visibility (Zero page speed penalty) */
.category-block {
  content-visibility: auto;
  contain-intrinsic-size: 260px;
  margin-bottom: 32px;
}

/* Hero Discovery Card */
.tools-hero-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 40%, #eef2ff 100%);
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.3s ease;
}
.theme-dark .tools-hero-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #111827 100%) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.hero-title {
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  letter-spacing: -0.025em;
  color: #0f172a;
}
.theme-dark .hero-title {
  color: #f8fafc !important;
}

/* Quick Category Filter Pills */
.quick-category-pills-bar {
  background: transparent;
}
.btn-category-pill {
  border-radius: 9999px !important;
  padding: 6px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #475569 !important;
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  transition: all 0.15s ease-in-out !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
  text-decoration: none !important;
}
.btn-category-pill:hover {
  background: #eff6ff !important;
  border-color: #93c5fd !important;
  color: #1d4ed8 !important;
  transform: translateY(-1px);
}
.btn-category-pill.active {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
}
.btn-category-pill .pill-badge {
  background: rgba(0, 0, 0, 0.06);
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 9999px;
}
.btn-category-pill.active .pill-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.theme-dark .btn-category-pill {
  background: #1e293b !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
}
.theme-dark .btn-category-pill:hover {
  background: #334155 !important;
  border-color: #60a5fa !important;
  color: #ffffff !important;
}

/* Category Headers */
.category-header {
  border-bottom: 1px solid #e2e8f0;
}
.theme-dark .category-header {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
.category-icon-squircle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   Google Material 3 (Material You) Design System
   ========================================================================== */

:root {
  --m3-surface: #ffffff;
  --m3-surface-dim: #f8fafd;
  --m3-surface-container: #f0f4f9;
  --m3-surface-container-high: #e9eef6;
  --m3-on-surface: #1f1f1f;
  --m3-on-surface-variant: #5f6368;
  --m3-outline-variant: #e0e2ec;
  --m3-primary: #1a73e8;
  --m3-primary-container: #d3e3fd;
  --m3-on-primary-container: #041e49;
  --m3-elevation-1: 0 1px 3px 0 rgba(60, 64, 67, 0.08), 0 1px 2px 0 rgba(60, 64, 67, 0.04);
  --m3-elevation-2: 0 4px 12px 1px rgba(60, 64, 67, 0.12), 0 1px 3px 0 rgba(60, 64, 67, 0.08);
  --m3-radius-card: 16px;
  --m3-radius-inner: 12px;
}

.theme-dark {
  --m3-surface: #1e1f20;
  --m3-surface-dim: #141517;
  --m3-surface-container: #282a2c;
  --m3-surface-container-high: #333538;
  --m3-on-surface: #e3e3e3;
  --m3-on-surface-variant: #9aa0a6;
  --m3-outline-variant: rgba(255, 255, 255, 0.08);
  --m3-primary: #8ab4f8;
  --m3-primary-container: rgba(138, 180, 248, 0.18);
  --m3-on-primary-container: #d3e3fd;
  --m3-elevation-1: 0 1px 3px 0 rgba(0, 0, 0, 0.35), 0 1px 2px 0 rgba(0, 0, 0, 0.25);
  --m3-elevation-2: 0 4px 14px 2px rgba(0, 0, 0, 0.5), 0 1px 4px 0 rgba(0, 0, 0, 0.3);
}

/* Google Material 3 Tool Card */
.card.m3-tool-card,
.m3-tool-card,
.tool-card {
  background: #ffffff !important;
  background: var(--m3-surface, #ffffff) !important;
  border: 1px solid #e0e2ec !important;
  border: 1px solid var(--m3-outline-variant, #e0e2ec) !important;
  border-radius: 16px !important;
  border-radius: var(--m3-radius-card, 16px) !important;
  padding: 14px 14px 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 126px !important;
  box-shadow: 0 1px 3px 0 rgba(60, 64, 67, 0.08), 0 1px 2px 0 rgba(60, 64, 67, 0.04) !important;
  box-shadow: var(--m3-elevation-1, 0 1px 3px 0 rgba(60, 64, 67, 0.08)) !important;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.2s cubic-bezier(0.2, 0, 0, 1), border-color 0.2s ease !important;
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

.card.m3-tool-card:hover,
.m3-tool-card:hover,
.tool-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px 1px rgba(60, 64, 67, 0.12), 0 1px 3px 0 rgba(60, 64, 67, 0.08) !important;
  box-shadow: var(--m3-elevation-2, 0 4px 12px 1px rgba(60, 64, 67, 0.12)) !important;
  border-color: #1a73e8 !important;
  border-color: var(--m3-primary, #1a73e8) !important;
}

/* Header: Icon Container + Badge */
.m3-card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 10px !important;
}

.m3-icon-box,
.tool-icon-wrapper {
  width: 44px !important;
  height: 44px !important;
  border-radius: var(--m3-radius-inner) !important;
  background: var(--m3-surface-container) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  border: none !important;
  transition: background-color 0.2s ease !important;
}

.m3-tool-card:hover .m3-icon-box,
.tool-card:hover .tool-icon-wrapper {
  background: var(--m3-primary-container) !important;
}

.m3-tool-avatar,
.tool-avatar {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain !important;
}

.m3-icon-fallback {
  font-size: 17px;
  font-weight: 700;
  color: var(--m3-primary);
}

/* M3 Badge: Tonal Pill Badge */
.m3-badge-new {
  background: #0d47a1 !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  padding: 3px 8px !important;
  border-radius: 9999px !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
}
.theme-dark .m3-badge-new {
  border-color: rgba(138, 180, 248, 0.3) !important;
}

/* Title Area: Full Width, 2-line clamp */
.m3-card-content,
.tool-title-wrapper {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.m3-tool-name,
.tool-title {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: var(--m3-on-surface) !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 38px !important;
  letter-spacing: -0.01em !important;
  transition: color 0.15s ease !important;
}

.m3-tool-card:hover .m3-tool-name,
.tool-card:hover .tool-title {
  color: var(--m3-primary) !important;
}

/* Footer: Clean micro-action without heavy horizontal divider line */
.m3-card-footer,
.tool-card-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: auto !important;
  padding-top: 6px !important;
  border: none !important;
}

.m3-action-text,
.tool-cta-text {
  font-size: 11.5px !important;
  font-weight: 500 !important;
  color: var(--m3-on-surface-variant) !important;
  transition: color 0.15s ease !important;
}

.m3-tool-card:hover .m3-action-text,
.tool-card:hover .tool-cta-text {
  color: var(--m3-primary) !important;
  font-weight: 600 !important;
}

.m3-action-chip {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--m3-surface-container);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--m3-on-surface-variant);
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
}

.m3-tool-card:hover .m3-action-chip,
.tool-card:hover .m3-action-chip {
  background: var(--m3-primary) !important;
  color: #ffffff !important;
  transform: translateX(2px);
}

.tool-card:hover .tool-arrow-icon {
  transform: translateX(3px);
  color: var(--m3-primary) !important;
}
.tool-arrow-icon {
  transition: transform 0.15s ease, color 0.15s ease;
}

/* Smart Non-Distracting Ad Container */
.ad-slot-native {
  margin: 16px auto;
  text-align: center;
  position: relative;
  max-width: 100%;
  min-height: 90px;
  overflow: visible;
}
.sidebars {
  position: relative !important;
  align-self: stretch !important;
  overflow: visible !important;
}
.sidebars .sticky-top,
.ad-slot-native.sticky-top,
.sidebar-sticky-ad {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 76px !important;
  z-index: 1010 !important;
  overflow: visible !important;
  contain: none !important;
}
.ad-slot-native iframe {
  max-width: 100% !important;
}
.ad-banner {
  max-width: 100% !important;
  overflow: hidden;
}
.ad-slot-header {
  display: none !important;
}

/* Mobile Navbar Stability (Zero CLS) */
@media (max-width: 991.98px) {
  .navbar {
    min-height: 104px;
    contain: layout;
  }
}

/* Accessible High-Contrast Overrides (Lighthouse 100) */
.text-success {
  color: #137333 !important;
}
.text-danger {
  color: #c5221f !important;
}
.btn-primary {
  background-color: #1a56db !important;
  border-color: #1a56db !important;
  color: #ffffff !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.active,
.btn-primary:active {
  background-color: #1558b0 !important;
  border-color: #1558b0 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}
.btn-outline-success {
  color: #137333 !important;
  border-color: #137333 !important;
}
.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:active {
  background-color: #137333 !important;
  border-color: #137333 !important;
  color: #ffffff !important;
}
.m3-badge-new {
  color: #0d47a1 !important;
}

/* Sidebar Ranking & Polish */
.sidebar-rank-badge {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sidebar-rank-1 {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}
.sidebar-rank-2 {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}
.sidebar-rank-3 {
  background: #ffedd5;
  color: #c2410c;
  border: 1px solid #fed7aa;
}
.sidebar-rank-other {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #f1f5f9;
}
.theme-dark .sidebar-rank-1 { background: #78350f; color: #fde68a; border-color: #92400e; }
.theme-dark .sidebar-rank-2 { background: #334155; color: #cbd5e1; border-color: #475569; }
.theme-dark .sidebar-rank-3 { background: #7c2d12; color: #fed7aa; border-color: #9a3412; }
.theme-dark .sidebar-rank-other { background: #1e293b; color: #94a3b8; border-color: #334155; }

/* Custom Scrollbar for Category Filter Bar */
.custom-scrollbar::-webkit-scrollbar {
  height: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.theme-dark .custom-scrollbar::-webkit-scrollbar-thumb {
  background: #475569;
}

/* Material 3 Breadcrumb */
.tool-breadcrumb {
  background: transparent !important;
  padding: 0 !important;
  margin-bottom: 14px !important;
  font-size: 13px !important;
}
.tool-breadcrumb .breadcrumb-item a {
  color: var(--m3-on-surface-variant) !important;
  text-decoration: none !important;
  transition: color 0.15s ease;
}
.tool-breadcrumb .breadcrumb-item a:hover {
  color: var(--m3-primary) !important;
}
.tool-breadcrumb .breadcrumb-item.active {
  color: var(--m3-on-surface) !important;
  font-weight: 600 !important;
}
.tool-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: var(--m3-on-surface-variant) !important;
  opacity: 0.5 !important;
}

/* Mobile Responsiveness (< 576px) */
@media (max-width: 576px) {
  .tool-cards-grid {
    --bs-gutter-x: 0.5rem !important;
    --bs-gutter-y: 0.5rem !important;
  }
  .m3-tool-card,
  .tool-card {
    padding: 10px 10px 8px 10px !important;
    border-radius: 12px !important;
    min-height: 114px !important;
  }
  .m3-card-header {
    margin-bottom: 6px !important;
  }
  .m3-icon-box,
  .tool-icon-wrapper {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
  }
  .m3-tool-avatar,
  .tool-avatar {
    width: 22px !important;
    height: 22px !important;
  }
  .m3-icon-fallback {
    font-size: 15px !important;
  }
  .m3-badge-new {
    font-size: 8.5px !important;
    padding: 2px 6px !important;
  }
  .m3-tool-name,
  .tool-title {
    font-size: 12.5px !important;
    line-height: 1.3 !important;
    min-height: 33px !important;
  }
  .m3-action-text,
  .tool-cta-text {
    font-size: 10.5px !important;
  }
  .m3-action-chip {
    width: 20px !important;
    height: 20px !important;
  }
  .m3-action-chip svg {
    width: 11px !important;
    height: 11px !important;
  }
}

/* =========================================================
   Universal Dark Mode High Contrast & Visibility Overrides
   ========================================================= */
.theme-dark,
body.theme-dark {
  color: #f1f5f9 !important;
}
.theme-dark .text-dark,
.theme-dark [class*="text-dark"],
.theme-dark h1.text-dark,
.theme-dark h2.text-dark,
.theme-dark h3.text-dark,
.theme-dark h4.text-dark,
.theme-dark h5.text-dark,
.theme-dark h6.text-dark,
.theme-dark p.text-dark,
.theme-dark span.text-dark,
.theme-dark a.text-dark,
.theme-dark label.text-dark,
.theme-dark div.text-dark,
.theme-dark strong.text-dark,
.theme-dark small.text-dark,
.theme-dark td.text-dark {
  color: #f1f5f9 !important;
}
.theme-dark .text-muted {
  color: #94a3b8 !important;
}
.theme-dark .text-body {
  color: #f1f5f9 !important;
}
.theme-dark .card {
  background-color: #1e293b !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #f1f5f9 !important;
}
.theme-dark .card-header,
.theme-dark .card-header.bg-white {
  background-color: #1e293b !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  color: #f1f5f9 !important;
}
.theme-dark .card-footer {
  background-color: #1e293b !important;
  border-top-color: rgba(255, 255, 255, 0.08) !important;
  color: #f1f5f9 !important;
}
.theme-dark .bg-white {
  background-color: #1e293b !important;
  color: #f1f5f9 !important;
}
.theme-dark .bg-light {
  background-color: #0f172a !important;
  color: #f1f5f9 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-dark .list-group-item {
  background-color: #1e293b !important;
  color: #f1f5f9 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-dark .list-group-item-action:hover,
.theme-dark .list-group-item:hover {
  background-color: #273549 !important;
  color: #60a5fa !important;
}
.theme-dark .list-group-item-action:hover .text-muted,
.theme-dark .list-group-item:hover .text-muted {
  color: #93c5fd !important;
}
.theme-dark .form-control,
.theme-dark .form-select,
.theme-dark .input-group-text {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}
.theme-dark .form-control:focus,
.theme-dark .form-select:focus {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  border-color: #60a5fa !important;
  box-shadow: 0 0 0 0.25rem rgba(96, 165, 250, 0.25) !important;
}
.theme-dark .form-select option {
  background-color: #0f172a !important;
  color: #f8fafc !important;
}
.theme-dark .form-label {
  color: #e2e8f0 !important;
}
.theme-dark .form-range::-webkit-slider-runnable-track {
  background-color: #334155 !important;
}
.theme-dark .form-range::-moz-range-track {
  background-color: #334155 !important;
}
.theme-dark .donut-ring {
  stroke: #334155 !important;
}
.theme-dark .table {
  color: #f1f5f9 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-dark .table > :not(caption) > * > * {
  background-color: transparent !important;
  color: #f1f5f9 !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-dark .table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: rgba(255, 255, 255, 0.03) !important;
}
.theme-dark .table-hover > tbody > tr:hover > * {
  background-color: rgba(255, 255, 255, 0.06) !important;
}
.theme-dark .table-light,
.theme-dark thead.table-light,
.theme-dark thead.table-light th {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
.theme-dark .sidebar-rank-other {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.theme-dark .sidebar-rank-1 {
  background: rgba(245, 158, 11, 0.25) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
}
.theme-dark .sidebar-rank-2 {
  background: rgba(148, 163, 184, 0.25) !important;
  color: #e2e8f0 !important;
  border: 1px solid rgba(148, 163, 184, 0.4) !important;
}
.theme-dark .sidebar-rank-3 {
  background: rgba(249, 115, 22, 0.25) !important;
  color: #fdba74 !important;
  border: 1px solid rgba(249, 115, 22, 0.4) !important;
}
.theme-dark .search-suggestions,
.theme-dark #search-results,
.theme-dark .search-results-dropdown {
  background-color: #1e293b !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}
.theme-dark .border,
.theme-dark .border-top,
.theme-dark .border-bottom,
.theme-dark .border-start,
.theme-dark .border-end {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* ==========================================================================
   Material 3 UI System: Forms, Buttons, Chips, and Modern Cards
   ========================================================================== */
.m3-input-group {
  margin-bottom: 1.25rem;
}

.m3-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: #475569;
  margin-bottom: 0.4rem;
}

.m3-input,
.form-control.m3-input {
  border-radius: 12px !important;
  border: 1.5px solid #cbd5e1 !important;
  background-color: #f8fafc !important;
  color: #0f172a !important;
  padding: 0.625rem 0.875rem !important;
  font-size: 0.925rem !important;
  line-height: 1.5 !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: none !important;
}

.m3-input:focus,
.form-control.m3-input:focus {
  border-color: #2563eb !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15) !important;
  outline: none !important;
}

.m3-input::placeholder {
  color: #94a3b8 !important;
  opacity: 1;
}

/* M3 Buttons */
.m3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1.125rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
}

.m3-btn-sm {
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  border-radius: 9999px;
}

.m3-btn-primary {
  background-color: #2563eb;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.m3-btn-primary:hover {
  background-color: #1d4ed8;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.m3-btn-primary:active {
  transform: scale(0.98);
}

.m3-btn-tonal {
  background-color: #eff6ff;
  color: #1d4ed8 !important;
  border: 1px solid #bfdbfe;
}

.m3-btn-tonal:hover {
  background-color: #dbeafe;
  color: #1e40af !important;
  transform: translateY(-1px);
}

.m3-btn-tonal:active {
  transform: scale(0.98);
}

.m3-btn-outline {
  background-color: transparent;
  border: 1.5px solid #cbd5e1 !important;
  color: #334155 !important;
}

.m3-btn-outline:hover {
  background-color: #f1f5f9;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

.m3-btn-danger-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fecaca;
  background-color: #fef2f2;
  color: #dc2626;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.m3-btn-danger-icon:hover {
  background-color: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
  transform: scale(1.06);
}

/* M3 Chips */
.m3-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.8125rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background-color: #f8fafc;
  color: #334155;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.m3-chip:hover {
  background-color: #eff6ff;
  border-color: #93c5fd;
  color: #2563eb;
  transform: translateY(-1px);
}

/* M3 Segmented Control */
.m3-segmented {
  display: inline-flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  gap: 2px;
}

.m3-segmented-btn {
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.m3-segmented-btn.active {
  background: #ffffff;
  color: #2563eb;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* M3 Language Row Card */
.m3-row-card {
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  padding: 1rem;
  transition: all 0.2s ease;
}

.m3-row-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

/* Dark Mode Overrides for M3 */
.theme-dark .m3-label {
  color: #94a3b8;
}

.theme-dark .m3-input,
.theme-dark .form-control.m3-input {
  background-color: #0f172a !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

.theme-dark .m3-input:focus,
.theme-dark .form-control.m3-input:focus {
  border-color: #60a5fa !important;
  background-color: #1e293b !important;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.2) !important;
}

.theme-dark .m3-btn-tonal {
  background-color: rgba(96, 165, 250, 0.15);
  border-color: rgba(96, 165, 250, 0.3);
  color: #93c5fd !important;
}

.theme-dark .m3-btn-tonal:hover {
  background-color: rgba(96, 165, 250, 0.25);
  color: #bfdbfe !important;
}

.theme-dark .m3-btn-outline {
  border-color: #334155 !important;
  color: #cbd5e1 !important;
}

.theme-dark .m3-btn-outline:hover {
  background-color: #1e293b;
  border-color: #475569 !important;
  color: #f8fafc !important;
}

.theme-dark .m3-btn-danger-icon {
  background-color: rgba(220, 38, 38, 0.15);
  border-color: rgba(220, 38, 38, 0.3);
  color: #f87171;
}

.theme-dark .m3-btn-danger-icon:hover {
  background-color: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}

.theme-dark .m3-chip {
  background-color: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}

.theme-dark .m3-chip:hover {
  background-color: #2e3d54;
  border-color: #60a5fa;
  color: #93c5fd;
}

.theme-dark .m3-segmented {
  background: #0f172a;
  border-color: #334155;
}

.theme-dark .m3-segmented-btn {
  color: #94a3b8;
}

.theme-dark .m3-segmented-btn.active {
  background: #1e293b;
  color: #60a5fa;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.theme-dark .m3-row-card {
  background: #1e293b;
  border-color: #334155;
}

.theme-dark .m3-row-card:hover {
  border-color: #475569;
}

/* Premium Blog Article CTA Banner (UI/UX Redesign) */
.alert.alert-primary[style*="linear-gradient"],
.post-content .alert-primary,
.card-body .alert-primary {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 1rem !important;
  padding: 1.75rem 2rem !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #0f2b48 0%, #065f46 100%) !important;
  box-shadow: 0 10px 25px -5px rgba(6, 95, 70, 0.3) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.alert.alert-primary[style*="linear-gradient"] > div,
.post-content .alert-primary > div,
.card-body .alert-primary > div {
  max-width: 100% !important;
  width: 100% !important;
  margin-bottom: 0 !important;
}

.alert.alert-primary[style*="linear-gradient"] h4,
.post-content .alert-primary h4,
.card-body .alert-primary h4 {
  font-size: 1.25rem !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 0.5rem !important;
}

.alert.alert-primary[style*="linear-gradient"] p,
.post-content .alert-primary p,
.card-body .alert-primary p {
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  margin-bottom: 0 !important;
}

.alert.alert-primary[style*="linear-gradient"] .btn,
.post-content .alert-primary .btn,
.card-body .alert-primary .btn {
  white-space: normal !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: flex-start !important;
  padding: 0.65rem 1.75rem !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  border-radius: 9999px !important;
  background-color: #ffffff !important;
  color: #065f46 !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
}

.alert.alert-primary[style*="linear-gradient"] .btn:hover,
.post-content .alert-primary .btn:hover,
.card-body .alert-primary .btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25) !important;
  background-color: #f8fafc !important;
  color: #047857 !important;
}

/* Universal Media & Embed Responsiveness */
img, svg, video, canvas, iframe {
  max-width: 100% !important;
  height: auto;
}

/* Responsive Advertisements & Adsux Containment */
.ad-slot-native,
.ad-banner,
.sidebar-sticky-ad,
[data-axid],
div[data-axaid] {
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

[data-axid] iframe,
[data-axid] img,
div[data-axaid] img,
div[data-axaid] a,
div[data-axaid] iframe {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

/* Tables and Preformatted Code Safety */
#content-box table,
.page-content table,
.post-content table,
.card-body table,
.table {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

pre, code, kbd, samp {
  max-width: 100% !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}

pre {
  white-space: pre-wrap !important;
  overflow-x: auto !important;
}

/* Responsive Overrides for Mobile Breakpoints */
@media (max-width: 991.98px) {
  .sidebars {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    margin-top: 1.5rem !important;
  }
  .sidebars .sidebar-sticky-ad,
  .sidebars .sticky-top {
    position: static !important;
    top: auto !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
}

@media (max-width: 767.98px) {
  .container,
  .container-fluid,
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm {
    padding-left: 12px !important;
    padding-right: 12px !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .card-body.p-4,
  .p-4 {
    padding: 1rem 0.75rem !important;
  }
  .alert.alert-primary[style*="linear-gradient"],
  .post-content .alert-primary,
  .card-body .alert-primary {
    padding: 1.25rem 1rem !important;
    gap: 0.75rem !important;
  }
  .alert.alert-primary[style*="linear-gradient"] .btn,
  .post-content .alert-primary .btn,
  .card-body .alert-primary .btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
  }
}

@media (max-width: 575.98px) {
  header.navbar .navbar-nav.order-lg-last {
    gap: 0.35rem !important;
    max-width: calc(100% - 90px) !important;
    overflow: visible !important;
  }
}

/* High-end Unified Navbar Action Buttons */
.navbar-icon-btn {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.03) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: var(--tblr-body-color, #334155) !important;
  box-shadow: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  vertical-align: middle !important;
}

.navbar-icon-btn:hover {
  background: rgba(0, 0, 0, 0.07) !important;
  border-color: rgba(0, 0, 0, 0.16) !important;
  color: var(--tblr-primary, #206bc4) !important;
}

.theme-dark .navbar-icon-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #cbd5e1 !important;
}

.theme-dark .navbar-icon-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #60a5fa !important;
}

.navbar-icon-btn .icon,
.navbar-icon-btn svg {
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
}

header.navbar .navbar-toggler-btn {
  border-radius: 10px !important;
}

.navbar-avatar-img {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(32, 107, 196, 0.25) !important;
  object-fit: cover !important;
  display: block !important;
}

@media (max-width: 767.98px) {
  .navbar-icon-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
  }
  .navbar-icon-btn .icon,
  .navbar-icon-btn svg {
    width: 18px !important;
    height: 18px !important;
  }
  .navbar-avatar-img {
    width: 34px !important;
    height: 34px !important;
  }
}

/* CTA Banner & Alert Card Overflow Fix */
.alert.alert-primary,
.alert-primary,
.alert.d-flex,
.cta-banner-box {
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  border-radius: 14px !important;
}

.alert.alert-primary a.btn,
.alert a.btn,
.cta-banner-box a.btn {
  max-width: 100% !important;
  white-space: normal !important;
  word-break: break-word !important;
  text-align: center !important;
  line-height: 1.4 !important;
  flex-shrink: 1 !important;
}

@media (max-width: 767.98px) {
  .alert.alert-primary.d-flex,
  .alert-primary.d-flex {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
    gap: 1rem !important;
  }
  .alert.alert-primary a.btn,
  .alert a.btn,
  .cta-banner-box a.btn {
    width: 100% !important;
    display: block !important;
    padding: 0.65rem 1rem !important;
    margin: 0.5rem auto 0 auto !important;
  }
}

/* Quick Category Filter Bar (Hide scrollbar track) */
.quick-category-pills-bar .overflow-x-auto,
.custom-scrollbar {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  -webkit-overflow-scrolling: touch !important;
}

.quick-category-pills-bar .overflow-x-auto::-webkit-scrollbar,
.custom-scrollbar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Sticky Top Navigation Bar on Mobile & Desktop */
header.navbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 1030 !important;
  background-color: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

.theme-dark header.navbar {
  background-color: rgba(30, 41, 59, 0.96) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

/* Profile Dropdown Visibility & Layering */
header.navbar,
header.navbar > .container-xl,
header.navbar .navbar-nav,
header.navbar .navbar-nav.order-lg-last,
header.navbar .nav-item.dropdown {
  overflow: visible !important;
  overflow-x: visible !important;
}

header.navbar .dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  z-index: 1065 !important;
  margin-top: 8px !important;
  min-width: 190px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25), 0 8px 10px -6px rgba(0, 0, 0, 0.15) !important;
  background-color: var(--tblr-body-bg, #ffffff) !important;
}

.theme-dark header.navbar .dropdown-menu {
  background-color: #1e293b !important;
  border-color: #334155 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important;
}

/* Mobile Left Slide-In Drawer (Offcanvas) */
.offcanvas-start {
  border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.25) !important;
  background-color: var(--tblr-body-bg, #ffffff) !important;
}

.theme-dark .offcanvas-start {
  background-color: #1e293b !important;
  border-color: #334155 !important;
}

.mobile-nav-link {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 0.65rem 0.85rem !important;
  border-radius: 10px !important;
  color: var(--tblr-body-color, #1d273b) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 0.9125rem !important;
  transition: all 0.15s ease !important;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: rgba(32, 107, 196, 0.08) !important;
  color: var(--tblr-primary, #206bc4) !important;
}

.theme-dark .mobile-nav-link:hover,
.theme-dark .mobile-nav-link.active {
  background-color: rgba(96, 165, 250, 0.12) !important;
  color: #60a5fa !important;
}

.mobile-category-pill {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.5rem 0.75rem !important;
  border-radius: 8px !important;
  color: var(--tblr-body-color, #334155) !important;
  text-decoration: none !important;
  font-size: 0.84rem !important;
  transition: all 0.15s ease !important;
}

.mobile-category-pill:hover {
  background-color: rgba(0, 0, 0, 0.04) !important;
  color: var(--tblr-primary, #206bc4) !important;
  padding-left: 0.95rem !important;
}

.theme-dark .mobile-category-pill:hover {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: #60a5fa !important;
}






/* ======================= Desktop Left Categories Sidebar ======================= */
header.navbar .ta-nav-toggle,
header.navbar .ta-nav-toggle-mobile,
header.navbar .ta-nav-toggle-desktop {
  display: none !important;
}

/* Hidden below the desktop breakpoint (mobile uses the offcanvas drawer instead) */
.ta-sidebar {
  display: none !important;
}

@media (max-width: 991.98px) {
  header.navbar .ta-nav-toggle-mobile {
    display: inline-flex !important;
  }
}

@media (min-width: 992px) {
  header.navbar .ta-nav-toggle-desktop {
    display: inline-flex !important;
  }

  .ta-sidebar {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    inset-block-start: var(--ta-navbar-h, 56px);
    inset-block-end: 0;
    inset-inline-start: 0;
    width: 264px;
    padding: 0.85rem 0.6rem 1rem;
    background-color: var(--tblr-body-bg, #ffffff);
    border-inline-end: 1px solid rgba(15, 23, 42, 0.08);
    overflow: hidden auto;
    overscroll-behavior: contain;
    z-index: 1020;
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.22s ease, visibility 0s linear 0s;
  }

  .theme-dark .ta-sidebar {
    background-color: #1e293b;
    border-inline-end-color: #334155;
  }

  html.ta-sidebar-collapsed .ta-sidebar {
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.22s ease, visibility 0s linear 0.22s;
  }

  /* Shift page content so it never sits underneath the sidebar */
  .page-content,
  footer.footer {
    transition: padding-inline-start 0.22s ease;
  }

  html:not(.ta-sidebar-collapsed) .page-content,
  html:not(.ta-sidebar-collapsed) footer.footer {
    padding-inline-start: 264px;
  }
}

.ta-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.5rem 0.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.theme-dark .ta-sidebar-head {
  border-bottom-color: #334155;
}

.ta-sidebar-heading {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.theme-dark .ta-sidebar-heading {
  color: #94a3b8;
}

.ta-sidebar-count {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #64748b;
  background-color: rgba(15, 23, 42, 0.05);
  border-radius: 999px;
  padding: 1px 8px;
}

.theme-dark .ta-sidebar-count {
  background-color: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.ta-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 0.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.ta-sidebar-link {
  display: flex !important;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.625rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--tblr-body-color, #334155);
  text-decoration: none !important;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.ta-sidebar-link:hover {
  background-color: rgba(32, 107, 196, 0.08);
  color: var(--tblr-primary, #206bc4);
}

.ta-sidebar-link.active {
  background-color: rgba(32, 107, 196, 0.12);
  color: var(--tblr-primary, #206bc4);
  font-weight: 700;
}

.ta-sidebar-link .text-truncate {
  min-width: 0;
}

.theme-dark .ta-sidebar-link {
  color: #cbd5e1;
}

.theme-dark .ta-sidebar-link:hover,
.theme-dark .ta-sidebar-link.active {
  background-color: rgba(96, 165, 250, 0.14);
  color: #60a5fa;
}

/* ===================== Category Page: Hero, Chips & Sticky Fixes ===================== */

/* Anchor targets should not hide underneath the sticky navbar */
[id] {
  scroll-margin-top: calc(var(--ta-navbar-h, 64px) + 16px);
}

/* Sticky right rail aligned to the real navbar height */
.sidebars .sticky-top,
.ad-slot-native.sticky-top,
.sidebar-sticky-ad {
  top: calc(var(--ta-navbar-h, 64px) + 12px) !important;
}

/* Hero category tile (replaces the duplicated OG banner in the hero) */
.category-hero-tile {
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 1.25rem 1rem 1.1rem;
  box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.45);
}

.category-hero-tile-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(32, 107, 196, 0.12), rgba(32, 107, 196, 0.04));
  border: 1px solid rgba(32, 107, 196, 0.16);
}

.category-hero-tile-svg {
  width: 30px !important;
  height: 30px !important;
}

.category-hero-tile-count {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.category-hero-tile-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-top: 0.15rem;
}

.theme-dark .category-hero-tile {
  background-color: #1e293b;
  border-color: #334155;
}

.theme-dark .category-hero-tile-count {
  color: #e2e8f0;
}

.theme-dark .category-hero-tile-label {
  color: #94a3b8;
}

.category-hero-card .badge {
  line-height: 1.35;
}

/* "Explore other categories" pill row — keep pills intact and scrollable */
.other-categories-scroller {
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.other-categories-scroller::-webkit-scrollbar {
  height: 6px;
}

.other-categories-scroller::-webkit-scrollbar-thumb {
  background-color: rgba(100, 116, 139, 0.35);
  border-radius: 999px;
}

.other-categories-scroller::-webkit-scrollbar-track {
  background-color: transparent;
}

.other-category-chip {
  flex: 0 0 auto !important;
  scroll-snap-align: start;
  font-size: 0.8125rem;
  font-weight: 500;
  gap: 0.5rem !important;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.other-category-chip:hover {
  background-color: rgba(32, 107, 196, 0.08);
  border-color: rgba(32, 107, 196, 0.35);
  color: var(--tblr-primary, #206bc4);
  transform: translateY(-1px);
}

.other-category-chip .badge {
  font-size: 0.6875rem;
}

.theme-dark .other-category-chip {
  border-color: #334155;
  color: #cbd5e1;
}

.theme-dark .other-category-chip:hover {
  background-color: rgba(96, 165, 250, 0.14);
  border-color: rgba(96, 165, 250, 0.4);
  color: #60a5fa;
}

/* Tool cards inside a category: even heights + clear affordance */
.tool-cards-grid .m3-tool-card {
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.tool-cards-grid .m3-tool-card:hover {
  transform: translateY(-2px);
  border-color: rgba(32, 107, 196, 0.35) !important;
  box-shadow: 0 10px 22px -12px rgba(15, 23, 42, 0.35) !important;
}

.theme-dark .tool-cards-grid .m3-tool-card {
  border-color: #334155 !important;
}

/* Tool card titles: two lines instead of hard single-line truncation */
.m3-tool-name-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
  line-height: 1.3;
  min-height: 2.6em;
}

/* Category chips: wrap on desktop (nothing hidden), scroll with a fade on smaller screens */
@media (min-width: 992px) {
  .other-categories-scroller {
    flex-wrap: wrap !important;
    white-space: normal !important;
    overflow-x: visible !important;
  }
}

@media (max-width: 991.98px) {
  .other-categories-scroller {
    -webkit-mask-image: linear-gradient(to right, #000 88%, transparent 100%);
    mask-image: linear-gradient(to right, #000 88%, transparent 100%);
  }
}

/* Home category pills: subtle edge fade signals horizontal scrollability */
@media (max-width: 991.98px) {
  .quick-category-pills-bar .overflow-x-auto {
    -webkit-mask-image: linear-gradient(to right, #000 90%, transparent 100%);
    mask-image: linear-gradient(to right, #000 90%, transparent 100%);
  }
}

/* ============================ Tool Rating Widget ============================ */
.tool-rating-card {
  background-color: #ffffff;
  border-color: rgba(15, 23, 42, 0.08) !important;
}

.tool-rating-score {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  line-height: 1;
}

.tool-rating-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.tool-rating-max {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #94a3b8;
}

.tool-rating-stars {
  display: flex;
  gap: 2px;
  color: #e2e8f0;
}

.tool-rating-star-static.is-filled {
  color: #f59e0b;
}

.tool-rating-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  font-size: 0.75rem;
  margin-top: 0.15rem;
}

.tool-rating-vote-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 0.2rem;
}

.tool-rating-buttons {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.tool-rating-btn {
  background: none;
  border: 0;
  padding: 2px;
  line-height: 0;
  color: #cbd5e1;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.12s ease, transform 0.12s ease;
}

.tool-rating-btn:hover,
.tool-rating-btn:focus-visible {
  color: #fbbf24;
  transform: translateY(-1px);
}

.tool-rating-btn.is-active {
  color: #f59e0b;
}

.tool-rating-btn:focus-visible {
  outline: 2px solid #206bc4;
  outline-offset: 2px;
}

.tool-rating-btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.tool-rating-hint {
  max-width: 270px;
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  line-height: 1.35;
  color: #94a3b8;
}

.tool-rating-messages:not(:empty) {
  margin-top: 0.75rem;
}

.tool-rating-flash,
.tool-rating-error {
  display: inline-block;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
}

.tool-rating-flash {
  color: #0f766e;
  background-color: #ccfbf1;
  border: 1px solid #99f6e4;
}

.tool-rating-error {
  color: #b91c1c;
  background-color: #fee2e2;
  border: 1px solid #fecaca;
}

.tool-rating-spinner {
  display: none;
  width: 14px;
  height: 14px;
  margin-inline-start: 4px;
  border: 2px solid #cbd5e1;
  border-top-color: #206bc4;
  border-radius: 50%;
  animation: ta-rating-spin 0.7s linear infinite;
}

.tool-rating-spinner.is-loading {
  display: inline-block;
}

@keyframes ta-rating-spin {
  to { transform: rotate(360deg); }
}

.theme-dark .tool-rating-card {
  background-color: #1e293b;
  border-color: #334155 !important;
}

.theme-dark .tool-rating-value {
  color: #e2e8f0;
}

.theme-dark .tool-rating-stars {
  color: #334155;
}

.theme-dark .tool-rating-btn {
  color: #475569;
}

.theme-dark .tool-rating-btn.is-active,
.theme-dark .tool-rating-star-static.is-filled {
  color: #fbbf24;
}

.theme-dark .tool-rating-flash {
  color: #5eead4;
  background-color: rgba(13, 148, 136, 0.15);
  border-color: rgba(13, 148, 136, 0.35);
}

.theme-dark .tool-rating-error {
  color: #fca5a5;
  background-color: rgba(185, 28, 28, 0.15);
  border-color: rgba(185, 28, 28, 0.35);
}

/* Voting panel: subtle surface so the interaction target reads as interactive */
.tool-rating-vote {
  background-color: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 12px;
  padding: 0.6rem 0.75rem 0.55rem;
}

.theme-dark .tool-rating-vote {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: #334155;
}

.tool-rating-hint {
  max-width: 240px !important;
}

/* Bigger touch targets for rating stars on small screens */
@media (max-width: 767.98px) {
  .tool-rating-btn {
    padding: 7px;
  }
  .tool-rating-btn svg {
    width: 26px;
    height: 26px;
  }
  .tool-rating-vote {
    width: 100%;
  }
}

/* ========================= Categories Index Page ========================= */
.ta-sidebar-all {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--tblr-primary, #206bc4);
  text-decoration: none;
  white-space: nowrap;
}

.ta-sidebar-all:hover {
  text-decoration: underline;
}

.categories-index-hero {
  padding: 0.25rem 0 0.5rem;
}

.cat-index-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  height: 100%;
  padding: 0.9rem 1rem;
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.cat-index-card:hover,
.cat-index-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(32, 107, 196, 0.35);
  box-shadow: 0 12px 24px -18px rgba(15, 23, 42, 0.5);
}

.cat-index-card:focus-visible {
  outline: 2px solid #206bc4;
  outline-offset: 2px;
}

.cat-index-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(32, 107, 196, 0.12), rgba(32, 107, 196, 0.04));
  border: 1px solid rgba(32, 107, 196, 0.16);
}

.cat-index-icon svg {
  width: 20px !important;
  height: 20px !important;
}

.cat-index-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}

.cat-index-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-width: 0;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.cat-index-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.55rem;
}

.cat-index-count {
  flex: 0 0 auto;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #475569;
  background-color: rgba(15, 23, 42, 0.05);
  border-radius: 999px;
  padding: 1px 8px;
}

.cat-index-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #64748b;
}

.cat-index-arrow {
  flex: 0 0 auto;
  color: #94a3b8;
  transition: color 0.16s ease, transform 0.16s ease;
}

.cat-index-card:hover .cat-index-arrow {
  color: var(--tblr-primary, #206bc4);
  transform: translateX(2px);
}

.theme-dark .cat-index-card {
  background-color: #1e293b;
  border-color: #334155;
}

.theme-dark .cat-index-title {
  color: #e2e8f0;
}

.theme-dark .cat-index-count {
  background-color: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.theme-dark .cat-index-desc {
  color: #94a3b8;
}

/* ===================== Tool card head: icon + name + rating ===================== */
.m3-card-head {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin-bottom: 8px !important;
}

.m3-card-head .m3-icon-box {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  flex: 0 0 44px !important;
}

.m3-card-headtext {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.m3-card-head .m3-tool-name {
  min-height: 0 !important;
  margin: 0 !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: #1f2937 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.m3-card-head {
  position: relative !important;
}

/* NEW badge sits in the card corner so the tool name keeps its full width */
/* NEW badge lives in the card footer so it never crowds the tool name */
.m3-badge-foot {
  margin-inline-start: auto !important;
  margin-inline-end: 6px !important;
  align-self: center !important;
  background: #0d47a1 !important;
  color: #ffffff !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px !important;
  padding: 2px 6px !important;
  border-radius: 9999px !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

/* Rating line under the tool name: "4.4 ★" */
.m3-tool-rating {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 3px !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: #5f6368 !important;
  white-space: nowrap !important;
}

.m3-tool-rating-value {
  letter-spacing: -0.01em;
}

.m3-tool-rating-star {
  font-size: 0.75rem !important;
  line-height: 1 !important;
  color: #7d8288 !important;
  transform: translateY(-0.5px);
}

.theme-dark .m3-card-head .m3-tool-name {
  color: #e2e8f0 !important;
}

.theme-dark .m3-tool-rating {
  color: #cbd5e1 !important;
}

.theme-dark .m3-tool-rating-star {
  color: #94a3b8 !important;
}

/* Category / related tool cards keep their description below the head */
.m3-tool-card .m3-tool-desc {
  margin-top: 0.15rem !important;
}

@media (max-width: 767.98px) {
  .m3-card-head {
    gap: 8px !important;
    margin-bottom: 6px !important;
  }
  .m3-card-head .m3-icon-box {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    flex: 0 0 36px !important;
  }
  .m3-card-head .m3-tool-name {
    font-size: 0.75rem !important;
    line-height: 1.25 !important;
  }
  .m3-tool-rating,
  .m3-tool-rating-star {
    font-size: 0.6875rem !important;
  }
}

/* ===================== Popular tools in the top navigation ===================== */
.nav-popular-link {
  display: block !important;
  text-align: start !important;
  max-width: 122px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 1200px) {
  .nav-popular-link {
    max-width: 146px;
  }
}

@media (min-width: 1440px) {
  .nav-popular-link {
    max-width: 172px;
  }
}

/* Extra popular links only appear when the bar has room for them */
.nav-extra {
  display: none !important;
}

@media (min-width: 1500px) {
  .nav-extra {
    display: block !important;
  }
}

.nav-popular-menu {
  min-width: 340px !important;
  max-height: 70vh;
  overflow-y: auto;
}

.nav-popular-menu .dropdown-item {
  border-radius: 8px;
}

.nav-popular-menu .dropdown-item:hover,
.nav-popular-menu .dropdown-item:focus {
  background-color: rgba(32, 107, 196, 0.08);
}

.nav-popular-menu .badge {
  font-size: 0.6875rem;
}

/* Keep the brand's footprint equal to the logo so nav items never slide under it */
header.navbar .navbar-brand {
  flex: 0 0 auto !important;
  min-width: max-content !important;
  margin-inline-end: 10px !important;
}

header.navbar .navbar-nav > .nav-item {
  flex: 0 0 auto !important;
}

/* ============================ PDF conversion tools ============================ */
.pdf-tool {
  --pdf-border: rgba(15, 23, 42, 0.1);
  --pdf-surface: #ffffff;
  --pdf-muted: #64748b;
}

.pdf-tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

@media (min-width: 992px) {
  .pdf-tool-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
}

.pdf-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem;
  border: 2px dashed rgba(32, 107, 196, 0.35);
  border-radius: 16px;
  background: rgba(32, 107, 196, 0.03);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.pdf-drop:hover,
.pdf-drop:focus-visible,
.pdf-drop.is-over {
  border-color: var(--tblr-primary, #206bc4);
  background: rgba(32, 107, 196, 0.07);
  outline: none;
}

.pdf-drop-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(32, 107, 196, 0.1);
  color: var(--tblr-primary, #206bc4);
  margin-bottom: 0.65rem;
}

.pdf-drop-title {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
}

.pdf-drop-sub {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  color: var(--pdf-muted);
}

.pdf-drop-browse {
  color: var(--tblr-primary, #206bc4);
  font-weight: 600;
  text-decoration: underline;
}

.pdf-drop-note {
  margin: 0.55rem 0 0;
  font-size: 0.6875rem;
  color: #94a3b8;
}

.pdf-filelist {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
}

.pdf-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--pdf-border);
  border-radius: 10px;
  font-size: 0.8125rem;
  margin-bottom: 0.4rem;
  background: #f8fafc;
}

.pdf-file-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.pdf-file-size {
  color: var(--pdf-muted);
  flex: 0 0 auto;
}

.pdf-textarea-wrap {
  margin-top: 0.25rem;
}

.pdf-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.35rem;
}

.pdf-textarea {
  width: 100%;
  min-height: 190px;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--pdf-border);
  border-radius: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #0f172a;
  background: #ffffff;
  resize: vertical;
}

.pdf-textarea:focus {
  outline: none;
  border-color: var(--tblr-primary, #206bc4);
  box-shadow: 0 0 0 3px rgba(32, 107, 196, 0.12);
}

.pdf-mini-btn {
  margin-top: 0.4rem;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tblr-primary, #206bc4);
  text-decoration: underline;
  cursor: pointer;
}

.pdf-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.pdf-option {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pdf-option label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pdf-muted);
}

.pdf-option select {
  min-width: 110px;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--pdf-border);
  border-radius: 8px;
  font-size: 0.8125rem;
  background: #ffffff;
  color: #0f172a;
}

.pdf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.pdf-spinner {
  display: none;
  width: 14px;
  height: 14px;
  margin-inline-start: 0.4rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: ta-pdf-spin 0.7s linear infinite;
  vertical-align: -2px;
}

.pdf-actions .btn.is-busy .pdf-spinner {
  display: inline-block;
}

.pdf-actions .btn.is-busy {
  opacity: 0.85;
  cursor: progress;
}

@keyframes ta-pdf-spin {
  to { transform: rotate(360deg); }
}

.pdf-status {
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--pdf-muted);
}

.pdf-status[hidden] {
  display: none !important;
}

.pdf-status.is-ok {
  color: #0f766e;
}

.pdf-status.is-error {
  color: #b91c1c;
}

.pdf-tool-side {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pdf-side-card {
  border: 1px solid var(--pdf-border);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  background: #f8fafc;
}

.pdf-side-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pdf-muted);
  margin-bottom: 0.5rem;
}

.pdf-side-list {
  margin: 0;
  padding-inline-start: 1rem;
  font-size: 0.8125rem;
  color: #334155;
  line-height: 1.6;
}

.pdf-side-note p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #334155;
}

.pdf-html-output {
  margin-top: 1rem;
}

.pdf-html-preview {
  border: 1px solid var(--pdf-border);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  background: #ffffff;
  max-height: 320px;
  overflow: auto;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.pdf-code-meta {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pdf-muted);
  margin: 0.9rem 0 0.35rem;
}

.pdf-code {
  margin: 0;
  max-height: 260px;
  overflow: auto;
  padding: 0.85rem;
  border-radius: 12px;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.75rem;
  line-height: 1.55;
}

.theme-dark .pdf-drop {
  border-color: rgba(96, 165, 250, 0.4);
  background: rgba(96, 165, 250, 0.06);
}

.theme-dark .pdf-drop-title,
.theme-dark .pdf-label,
.theme-dark .pdf-textarea,
.theme-dark .pdf-option select,
.theme-dark .pdf-side-list,
.theme-dark .pdf-side-note p {
  color: #e2e8f0;
}

.theme-dark .pdf-textarea,
.theme-dark .pdf-option select {
  background: #0f172a;
  border-color: #334155;
}

.theme-dark .pdf-file,
.theme-dark .pdf-side-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: #334155;
}

.theme-dark .pdf-html-preview {
  background: #ffffff;
  color: #111827;
}

/* ===================== Server-side PDF utilities (Gotenberg) ===================== */
.pdf-input-invisible {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.pdf-drop-input {
  position: relative;
  padding: 1.6rem 1.25rem;
}

.pdf-text-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--pdf-border, rgba(15, 23, 42, 0.1));
  border-radius: 10px;
  font-size: 0.875rem;
  color: #0f172a;
  background: #ffffff;
}

.pdf-text-input:focus {
  outline: none;
  border-color: var(--tblr-primary, #206bc4);
  box-shadow: 0 0 0 3px rgba(32, 107, 196, 0.12);
}

.pdf-option input[type="text"],
.pdf-option input[type="password"],
.pdf-option input[type="number"],
.pdf-option input[type="url"],
.pdf-option input[type="file"] {
  min-width: 130px;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--pdf-border, rgba(15, 23, 42, 0.1));
  border-radius: 8px;
  font-size: 0.8125rem;
  background: #ffffff;
  color: #0f172a;
}

.pdf-option-wide {
  flex: 1 1 100%;
}

.pdf-textarea-sm {
  min-height: 110px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.pdf-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #334155;
  margin-top: 1.25rem;
  cursor: pointer;
}

.pdf-check input {
  width: 16px;
  height: 16px;
  accent-color: #206bc4;
}

.pdf-result {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(13, 148, 136, 0.3);
  background: rgba(13, 148, 136, 0.07);
  border-radius: 12px;
}

.pdf-result-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0f766e;
  color: #ffffff;
}

.pdf-result-body {
  min-width: 0;
  flex: 1 1 auto;
}

.pdf-result-title {
  font-weight: 700;
  font-size: 0.875rem;
  color: #0f172a;
}

.pdf-result-meta {
  font-size: 0.75rem;
  color: #475569;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdf-server-tool .pdf-code {
  margin-top: 1rem;
}

.theme-dark .pdf-text-input,
.theme-dark .pdf-option input {
  background: #0f172a;
  border-color: #334155;
  color: #e2e8f0;
}

.theme-dark .pdf-check {
  color: #cbd5e1;
}

.theme-dark .pdf-result {
  background: rgba(13, 148, 136, 0.12);
  border-color: rgba(94, 234, 212, 0.3);
}

.theme-dark .pdf-result-title {
  color: #e2e8f0;
}

.theme-dark .pdf-result-meta {
  color: #94a3b8;
}
