:root {
    --glass-shadow: rgba(0, 0, 0, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.5);
    --glass-border: rgba(255, 255, 255, 0.3);
    --light-blue: #1670a7;
    --dark-blue: #094365;
    --light-green: #119154;
    --white: #fff;
    --black: #000;
    --text-color: #444;
    --text-light-blue: #444;
    --text-green: #0ca352;
    --bs-gradient: linear-gradient(90deg, #1670a7, #094365);
    --bg-gray: #f5f5f5;
    --btn-bg-blue: #0072b7;
    --bg-yellow: rgb(255, 159, 0);
    --bg-light-blue: rgb(0, 194, 219);
    --bg-blue: #20bec8;
    --bg-green: #10951d;
    --bg-turmeric: #cabe52;
    --bg-red: #ff0000;
    --bg-sky: #f6fafc;
    --th-gradient: linear-gradient(45deg, #156ca1, #79cdff);
    --table-border: #62b4e7;
    --bg-tabs: #eef5f9;
    --bg-dark-gray: #a1a1a1;
}
@font-face {
    font-family: "Lato";
    font-display: swap;
    src: url(../font/lato-regular.woff2) format("woff2");
}
* {
    padding: 0;
    margin: 0;
    font-family: "Lato", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}
p,
h1,
h2,
h3,
h4,
div,
span {
    font-weight: 400;
}
p {
    line-height: 1.5;
    color: var(--text-color);
}
a {
    color: var(--text-color);
}
.bg-gradient {
    background-image: var(--bs-gradient);
}
.bg-light-blue {
    background: #1670a712;
}
.nav-link.active::before {
    content: " ";
    border: 2px solid #fff;
    position: absolute;
    top: 0;
    width: 100%;
    left: -2px;
    border-radius: 0 0 5px 5px;
}
.nav-link.active::after {
    content: " ";
    border: 2px solid #fff;
    position: absolute;
    bottom: 0;
    width: 100%;
    left: -2px;
    border-radius: 5px 5px 0 0;
}
.nav-divider {
    width: 1px;
    background: var(--light-blue);
}
.mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    background: #fff;
    width: 280px;
    height: 100vh;
    z-index: 999;
    transition: left 0.3s ease;
}
.language,
.category_down {
    position: absolute;
    right: 0;
    top: 50px;
    background: var(--white);
    border-collapse: collapse;
    z-index: 2;
}
.language1 {
    background: var(--white);
    border-collapse: collapse;
}
.category_down {
    width: 220px;
    right: auto;
    left: -45px;
}
.language tr td {
    border-bottom: 1px solid #ddd;
}
.shadow {
    box-shadow: 0 3px 6px #00000029;
}
.upgrade {
    color: var(--white);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1));
    border-radius: 15px;
    padding: 3px 15px;
    font-size: 16px;
    border: 1px solid var(--glass-border);
    outline: 0;
    box-shadow: 0 8px 15px var(--glass-shadow), inset 0 -2px 3px var(--glass-shadow);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
}
.upgrade::after {
    content: "";
    position: absolute;
    top: -25%;
    left: -50%;
    width: 150%;
    height: 50%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: rotate(45deg);
    opacity: 0.6;
    animation: 1.5s linear infinite shine;
}
@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}
.user_profile_dropdown {
    position: absolute;
    background: var(--white);
    border-collapse: collapse;
    z-index: 2;
    width: 110px;
    right: 0;
    top: 50px;
}
.user_profile_dropdown_mbl {
    position: absolute;
    background: var(--white);
    border-collapse: collapse;
    z-index: 2;
    width: 110px;
    right: 10px;
    top: 65px;
}
.ai_tools {
    position: absolute;
    top: 70px;
    background: var(--white);
    border-collapse: collapse;
    z-index: 9999999;
}
.ai_tools p {
    border: none !important;
}
.truncate-text {
    display: inline-block;
    max-width: 20ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.scroll-btn {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    cursor: pointer;
    padding: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}
.scroll-btn:hover {
    background-color: #1670a712;
}
.scroll-left {
    left: 10px;
}
.scroll-right {
    right: 10px;
}
.allCalculators {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
/* .allCalculators::-webkit-scrollbar {
    display: none;
}
.allCalculators .calcs a {
    position: relative;
    padding-left: 10px;
}
.allCalculators .calcs a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #636262;
}
.allCalculators .calcs a:hover::before {
    background-color: #1670a7;
} */
.subCalculators::before {
    content: "";
    position: absolute;
    left: 0;
    top: 40%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #636262;
    transition: all 0.3s;
}
.subCalculators:hover::before {
    background-color: #1670a7;
}
.mobile-menu-items p:not(:last-child) a {
    border-bottom: 1px solid #ddd;
}
.mobile-menu-items p:hover {
    background: #eef5f9;
    font-weight: 600;
    border-right: 5px solid #1670a7;
}
.mobile-menu-items p:hover a {
    color: var(--light-blue);
}
.left-0 {
    left: 0;
}
.sidenav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    height: 120vh;
    background-color: rgb(0 0 0 / 0.5);
    z-index: 997;
    display: none;
}
.show-overlay {
    display: block;
    opacity: 1;
}
#snackbar {
    visibility: hidden;
    min-width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    top: 30px;
    right: 30px;
}
#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
@-webkit-keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }
    to {
        top: 30px;
        opacity: 1;
    }
}
@keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }
    to {
        top: 30px;
        opacity: 1;
    }
}
@-webkit-keyframes fadeout {
    from {
        top: 30px;
        opacity: 1;
    }
    to {
        top: 0;
        opacity: 0;
    }
}
@keyframes fadeout {
    from {
        top: 30px;
        opacity: 1;
    }
    to {
        top: 0;
        opacity: 0;
    }
}
#search_cal, #search_ca {
    box-sizing: border-box;
    width: calc(100% - 2px);
    height: 60px;
    background-color: #ecebeb;
    border: 0;
    border-radius: 10px;
    margin-bottom: 5px;
    padding-left: 10px;
    font-size: 20px;
    outline: none;
}
.autocomplete-items {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    position: absolute;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 220px;
    overflow-y: auto;
    background: var(--white);
}
.autocomplete-items div {
    padding: 10px;
}
.autocomplete-items div:hover,
.autocomplete-active {
    background: #1670a712;
    border-radius: 5px;
}
.modal {
    display: none;
    position: fixed;
    z-index: 9999999999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0 0 0 / 0.4);
}
.modal-content {
    margin: auto;
    padding: 10px;
    width: 1000px;
    max-width: 100%;
}
.close {
    color: var(--white);
    float: right;
    font-size: 28px;
    font-weight: 700;
}
.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
button.calculate,
.reset {
    background: var(--light-blue);
    color: var(--white);
    border-radius: 7px;
    padding: 9px 35px;
    font-size: 18px;
    text-transform: uppercase;
    border: none;
    outline: 0;
}
button.calculate:hover {
    background: #1670a7c4;
    cursor: pointer;
}

.nav-link span{
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
}
.nav-link span:hover {
    background-color: #0000001f;
}

#searchModal{
    position: fixed;
    z-index: 2147483647;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.discord-link{display:inline-flex;align-items:center;justify-content:center;padding:.5rem;border-radius:.5rem;transition:all 0.3s cubic-bezier(.4,0,.2,1);position:relative}.discord-link:hover{transform:translateY(-2px)}.discord-icon{width:26px;height:26px;color:#fff;fill:currentColor;filter:drop-shadow(0 4px 6px rgb(0 0 0 / .1));animation:discordPulse 2s cubic-bezier(.4,0,.6,1) infinite;transition:all 0.3s cubic-bezier(.4,0,.2,1)}.discord-link:hover .discord-icon{animation:none;color:#5865f2;transform:scale(1.1)}.discord-link::before{content:'';position:absolute;inset:-4px;opacity:0;transition:opacity 0.3s cubic-bezier(.4,0,.2,1);pointer-events:none;z-index:-1}.discord-link:hover::before{opacity:1}@keyframes discordPulse{0%,100%{opacity:1}50%{opacity:.5}}

.new-badge-shimmer{position:absolute;top:3px;right:-15px;background:linear-gradient(90deg,#ff6b6b 0%,#ffd93d 50%,#ff6b6b 100%);background-size:200% 100%;color:#fff;font-size:7px;font-weight:700;padding:2px 5px;border-radius:10px;letter-spacing:.5px;box-shadow:0 2px 10px rgb(255 107 107 / .5);animation:shimmer 3s linear infinite,float-badge 3s ease-in-out infinite}@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}@keyframes float-badge{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}