/* For Webkit browsers (Chrome, Safari) */
::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--dark4);
    border-radius: 5px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 5px;
}

:root {
    --cool-gray: #6B7280;
    --silver-gray: #8C8C8C;
    --light-silver: #C0C0C0;
    --light-gray: #F0F0F0;
    --royal-blue: #4169E1;
    --turquoise: #1ABC9C;
    --dark-blue-grey: #34495E;
}

a:hover {
    text-decoration: none !important;
}

body,
html {
    color: var(--font-color);
    font-weight: 300;
    height: 100svh;
    overflow-y: hidden;
}

body {
    color: var(--font-color);
    margin: 0;
}

body.no-scroll {
    overflow-y: hidden;
}

input {
    background-color: var(--background-color);
    color: var(--font-color);
    border: 1px solid var(--border-color);
}

select, .form-select {
    background-color: var(--background-color);
    color: var(--font-color);
    border: 1px solid var(--border-color);
}

select:focus, .form-select:focus, select.focused, .form-select.focused {
    border-color: var(--primary-color, #0d6efd);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    outline: none;
}

textarea {
    background-color: var(--background-color);
    color: var(--font-color);
    border: 1px solid var(--border-color);
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
}

.container {
    z-index: 1;
    width: 100%;
    max-width: 2000px;
}

@media (max-width:768px) {
    .container-fluid {
        padding: 0 0 5px 5px!important; 
    }
}


.title-big {
    font-size: 36px;
    line-height: 44px;
    font-weight: 600;
}

.title-big-2 {
    /*newly added*/
    font-size: 32px;
    line-height: 44px;
    font-weight: 600;
}

.title-big-3 {
    /*newly added*/
    font-size: 28px;
    line-height: 40px;
    font-weight: 600;
}

.title-big-4 {
    /*newly added*/
    font-size: 26px;
    line-height: 40px;
    font-weight: 600;
}

.title-medium {
    /*newly added*/
    font-size: 22px;
    line-height: 36px;
    font-weight: 600;
}

.title-medium-2 {
    /*newly added*/
    font-size: 18px;
    line-height: 34px;
    font-weight: 600;
}

.title-medium-3 {
    /*newly added*/
    font-size: 16px;
    line-height: 30px;
    font-weight: 600;
}

.text-description {
    /*newly added*/
    font-size: 16px;
    line-height: 28px;
    font-weight: 500;
}

.title-small {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 30px;
    letter-spacing: 1px;
    color: #7e7d7d;
    display: block;
}

.title-very-small {
    /*newly added*/
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 10px;
    letter-spacing: 1px;
    color: #7e7d7d;
    display: block;
}

.text-small {
    /*newly added*/
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    text-align: center;
    font-weight: 510;
    color: #7e7d7d;
    display: block;
}

.text-small-1 {
    /*newly added*/
    font-weight: 500;
    line-height: 20px;
    font-size: 15px;
    color: #838282;
}

.icon-md {
    height: 80px;
    width: 80px;
}

.icon-sm {
    height: auto;
    width: 50px;
}

@media (max-width: 1080px) {
    .title-big {
        font-size: 32px !important;
        line-height: 40px;
    }

    .title-big-2 {
        /*newly added*/
        font-size: 29px;
        line-height: 38px;
    }

    .title-big-3 {
        /*newly added*/
        font-size: 26px;
        line-height: 36px;
    }

    .title-medium {
        /*newly added*/
        font-size: 21px;
        line-height: 34px;
    }

    .title-medium-2 {
        /*newly added*/
        font-size: 17px;
        line-height: 32px;
    }

    .title-medium-3 {
        /*newly added*/
        font-size: 15px;
        line-height: 30px;
    }

    .text-description {
        /*newly added*/
        font-size: 16px;
        line-height: 28px;
        font-weight: 500;
    }
}

@media (max-width: 568px) {
    .title-big {
        font-size: 30px !important;
        line-height: 38px;
    }

    .title-big-2 {
        /*newly added*/
        font-size: 27px;
        line-height: 36px;
    }

    .title-big-3 {
        /*newly added*/
        font-size: 24px;
        line-height: 34px;
    }

    .title-medium {
        /*newly added*/
        font-size: 20px;
        line-height: 32px;
    }

    .title-medium-2 {
        /*newly added*/
        font-size: 16px;
        line-height: 29px;
    }

    .title-medium-3 {
        /*newly added*/
        font-size: 14px;
        line-height: 28px;
    }

    .text-description {
        /*newly added*/
        font-size: 15px;
        line-height: 25px;
        font-weight: 500;
    }
}

@media (max-width: 415px) {
    .title-big {
        font-size: 28px !important;
        line-height: 34px;
    }

    p {
        font-size: 17px;
        letter-spacing: 0;
    }

    .btn-white,
    .btn-style {
        padding: 5px 15px;
    }

    a.more {
        font-size: 16px;
    }
}

@media (max-width: 375px) {

    .btn-white,
    .btn-style {
        font-size: 14px;
    }

    .title-big {
        font-size: 24px !important;
        line-height: 32px;
    }

    .title-small {
        font-size: 16px !important;
        letter-spacing: .5px;
    }

    .title-very-small {
        font-size: 13px !important;
        letter-spacing: .4px;
    }
}


.fw-300 {
    font-weight: 300;
}

.fw-400 {
    font-weight: 400;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}



.title-big {
    font-size: 36px;
    line-height: 44px;
    font-weight: 600;
}

.title-big-2 {
    /*newly added*/
    font-size: 32px;
    line-height: 44px;
    font-weight: 600;
}

.title-big-3 {
    /*newly added*/
    font-size: 28px;
    line-height: 40px;
    font-weight: 600;
}

.title-big-4 {
    /*newly added*/
    font-size: 26px;
    line-height: 40px;
    font-weight: 600;
}

.title-medium {
    /*newly added*/
    font-size: 22px;
    line-height: 36px;
    font-weight: 600;
}

.title-medium-2 {
    /*newly added*/
    font-size: 18px;
    line-height: 34px;
    font-weight: 600;
}

.title-medium-3 {
    /*newly added*/
    font-size: 16px;
    line-height: 30px;
    font-weight: 600;
}

.text-description {
    /*newly added*/
    font-size: 16px;
    line-height: 28px;
    font-weight: 500;
}

.title-small {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 30px;
    letter-spacing: 1px;
    color: #7e7d7d;
    display: block;
}

.title-very-small {
    /*newly added*/
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 10px;
    letter-spacing: 1px;
    color: #7e7d7d;
    display: block;
}

.text-small {
    /*newly added*/
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    text-align: center;
    font-weight: 510;
    color: #7e7d7d;
    display: block;
}

.text-small-1 {
    /*newly added*/
    font-weight: 500;
    line-height: 20px;
    font-size: 15px;
    color: #838282;
}

.icon-md {
    height: 80px;
    width: 80px;
}

.icon-sm {
    height: auto;
    width: 50px;
}

@media (max-width: 1080px) {
    .title-big {
        font-size: 32px !important;
        line-height: 40px;
    }

    .title-big-2 {
        /*newly added*/
        font-size: 29px;
        line-height: 38px;
    }

    .title-big-3 {
        /*newly added*/
        font-size: 26px;
        line-height: 36px;
    }

    .title-medium {
        /*newly added*/
        font-size: 21px;
        line-height: 34px;
    }

    .title-medium-2 {
        /*newly added*/
        font-size: 17px;
        line-height: 32px;
    }

    .title-medium-3 {
        /*newly added*/
        font-size: 15px;
        line-height: 30px;
    }

    .text-description {
        /*newly added*/
        font-size: 16px;
        line-height: 28px;
        font-weight: 500;
    }
}

@media (max-width: 568px) {
    .title-big {
        font-size: 30px !important;
        line-height: 38px;
    }

    .title-big-2 {
        /*newly added*/
        font-size: 27px;
        line-height: 36px;
    }

    .title-big-3 {
        /*newly added*/
        font-size: 24px;
        line-height: 34px;
    }

    .title-medium {
        /*newly added*/
        font-size: 20px;
        line-height: 32px;
    }

    .title-medium-2 {
        /*newly added*/
        font-size: 16px;
        line-height: 29px;
    }

    .title-medium-3 {
        /*newly added*/
        font-size: 14px;
        line-height: 28px;
    }

    .text-description {
        /*newly added*/
        font-size: 15px;
        line-height: 25px;
        font-weight: 500;
    }
}

@media (max-width: 415px) {
    .title-big {
        font-size: 28px !important;
        line-height: 34px;
    }

    p {
        font-size: 17px;
        letter-spacing: 0;
    }

    .btn-white,
    .btn-style {
        padding: 5px 15px;
    }

    a.more {
        font-size: 16px;
    }
}

@media (max-width: 375px) {

    .btn-white,
    .btn-style {
        font-size: 14px;
    }

    .title-big {
        font-size: 24px !important;
        line-height: 32px;
    }

    .title-small {
        font-size: 16px !important;
        letter-spacing: .5px;
    }

    .title-very-small {
        font-size: 13px !important;
        letter-spacing: .4px;
    }
}

.fs-10 {
    font-size: 10px;
}

.fs-11 {
    font-size: 11px;
}

.fs-12 {
    font-size: 12px;
}

.fs-13 {
    font-size: 13px;
}

.fs-14 {
    font-size: 14px;
}

.fs-15 {
    font-size: 15px;
}

.fs-16 {
    font-size: 16px;
}

.fs-17 {
    font-size: 17px;
}

.fs-18 {
    font-size: 18px;
}

.fs-19 {
    font-size: 19px;
}

.fs-20 {
    font-size: 20px;
}

.fs-21 {
    font-size: 21px;
}

.fs-22 {
    font-size: 22px;
}

.fs-23 {
    font-size: 23px;
}

.fs-24 {
    font-size: 24px;
}

.fs-25 {
    font-size: 25px;
}

.fs-26 {
    font-size: 26px;
}

.fs-27 {
    font-size: 27px;
}

.fs-28 {
    font-size: 28px;
}

.fs-29 {
    font-size: 29px;
}

.fs-30 {
    font-size: 30px;
}

.fs-31 {
    font-size: 31px;
}

.fs-32 {
    font-size: 32px;
}

.fs-33 {
    font-size: 33px;
}

.fs-34 {
    font-size: 34px;
}

.fs-35 {
    font-size: 35px;
}

.fs-36 {
    font-size: 36px;
}

.fs-37 {
    font-size: 37px;
}

.fs-38 {
    font-size: 38px;
}

.fs-39 {
    font-size: 39px;
}

.fs-40 {
    font-size: 40px;
}


.fw-300 {
    font-weight: 300;
}

.fw-400 {
    font-weight: 400;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.bg-dark-gray {
    background-color: #3f3f3f;
}

.bg-light-gray {
    background-color: #f3f3f3;
}

.profile-container {
    position: relative;
}

.logout-dropdown {
    width: max-content;
    display: none;
    position: absolute;
    top: 38px;
    right: 0px;
    background-color: #eaeaea;
    box-shadow: 0 3 4px rgba(0, 0, 0, 0.25);
    padding: 10px;
    padding-bottom: 0;
    border-radius: 4px;
    animation: fadeIn 0.3s ease-in-out;
    text-align: right;
    z-index: 3;
}

.profile-icon {
    position: relative;
    width: 37px;
    /* Adjust size as needed */
    height: 37px;
    /* Adjust size as needed */
    border-radius: 50%;
    background-color: #3f3f3f;
    /* Adjust background color as needed */
    color: #fff;
    /* Adjust text color as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    /* Adjust font size as needed */
    font-weight: 400;
    /* Adjust font weight as needed */
    cursor: pointer;
}

.login-with-google-btn {
    transition: background-color .3s, box-shadow .3s;

    padding: 8px 15px 8px 36px;
    border: 1px solid #78787847;
    border-radius: 10px;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 1px 1px rgba(0, 0, 0, .25);

    color: var(--font-color);
    font-size: 14px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;

    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTcuNiA5LjJsLS4xLTEuOEg5djMuNGg0LjhDMTMuNiAxMiAxMyAxMyAxMiAxMy42djIuMmgzYTguOCA4LjggMCAwIDAgMi42LTYuNnoiIGZpbGw9IiM0Mjg1RjQiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxwYXRoIGQ9Ik05IDE4YzIuNCAwIDQuNS0uOCA2LTIuMmwtMy0yLjJhNS40IDUuNCAwIDAgMS04LTIuOUgxVjEzYTkgOSAwIDAgMCA4IDV6IiBmaWxsPSIjMzRBODUzIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNNCAxMC43YTUuNCA1LjQgMCAwIDEgMC0zLjRWNUgxYTkgOSAwIDAgMCAwIDhsMy0yLjN6IiBmaWxsPSIjRkJCQzA1IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNOSAzLjZjMS4zIDAgMi41LjQgMy40IDEuM0wxNSAyLjNBOSA5IDAgMCAwIDEgNWwzIDIuNGE1LjQgNS40IDAgMCAxIDUtMy43eiIgZmlsbD0iI0VBNDMzNSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PHBhdGggZD0iTTAgMGgxOHYxOEgweiIvPjwvZz48L3N2Zz4=);
    background-color: var(--background-color);
    background-repeat: no-repeat;
    background-position: 13px 7px;

    &:hover {
        box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 2px 4px rgba(0, 0, 0, .25);
        background-color: var(--bg-shade-1);
    }

}

.login-with-google-btn.home {
    font-size: 17px;
    font-weight: 400;
    background-position: 18px 11px;
    padding: 7px 20px 7px 45px;

    &:hover {
        color: var(--font-color);
    }
}

.google-sign-in {
    padding-top: 5px !important;
}


/*FOOTER*/
footer {
    color: #7b7b7b;
    padding: 20px 0;
    text-align: center;
    position: relative;
    width: 100%;
    bottom: 0;
    margin-top: 60px;
}

footer p {
    font-size: 17px;
    margin-bottom: 0;
}

.radius-main {
    border-radius: 10px;
}

.radius5 {
    border-radius: 5px !important;
}
.radius-0 {
    border-radius: 0 !important;
}


.profile-card {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 6px;
}

.profile-icon {
    margin-right: 10px;
}

.profile-icon img {
    border-radius: 50%;
}

.username {
    font-weight: 600;
    font-size: 15px;
    color: #333;
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 22px 10px 24px;
    z-index: 3;
    border-bottom: 1px solid color-mix(in srgb, var(--border-color) 82%, transparent);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: background-color 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.top-nav-brand {
    flex: 0 0 auto;
    min-width: 0;
    padding-left: 42px;
    padding-right: 4px;
}

.top-nav-brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    min-width: 0;
    padding: 4px 8px 4px 4px;
    border-radius: 8px;
    color: var(--font-color);
}

.top-nav-brand-link:hover,
.top-nav-brand-link:focus-visible {
    background-color: var(--bg-shade-1);
    color: var(--font-color);
    outline: none;
}

.top-nav-logo-mark {
    width: 36px;
    height: 36px;
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--background-color);
    color: var(--font-color);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.top-nav-brand-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
}

.top-nav-brand-kicker {
    color: var(--cool-gray);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.top-nav-brand .station-title {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--font-color);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

@media (max-width: 768px) {
    .top-nav {
        min-height: 96px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 10px 12px 12px;
    }

    .top-nav-brand {
        padding-left: 44px;
        padding-right: 0;
    }

    .top-nav-brand .station-title {
        max-width: calc(100vw - 92px);
    }

    .top-nav-brand-link {
        min-height: 40px;
        padding: 2px 6px 2px 2px;
    }

    .top-nav-logo-mark {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }
}

.nav-gen {
    background-color: var(--bg-shade-1);
    border: 1px solid var(--border-color) !important;
    margin-top: 2px;

    &:hover {
        color: var(--font-color);
        background-color: var(--bg-shade-1);
    }
}

.profile.btn {
    margin-right: 5px;
    padding: 0 5px 0 5px;
    &:hover {
        color: var(--font-color);
        background-color: var(--bg-shade-1);
    }
}

.nav-search {
    border: 1px solid var(--border-color);
    background-color: var(--bg-shade-1);
    color: var(--font-color);
}

.nav-search .input-group input {
    background-color: var(--bg-shade-1);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3px;
}

.nav-search .input-group input:focus {
    background-color: var(--bg-shade-1);
    color: var(--font-color);
    box-shadow: none;
}

@media (max-width:992px) {
    .nav-search {
        display: none;
    }
}
@media (max-width:768px) {
    .top-nav {
        padding-right: 5px;
    }
}
@media (max-width:480px) {
    .nav-gen {
        display: none;
    }
}


.bg-color {
    background-color: var(--background-color) !important;
}

.bg-shade-1 {
    background-color: var(--bg-shade-1) !important;
}

.bg-shade-2 {
    background-color: var(--bg-shade-2) !important;
}

.font-color-theme {
    color: var(--theme-v) !important;
}

.font-color {
    color: var(--font-color) !important;
}

.font-color-opp {
    color: var(--font-color-opp) !important;
}

.border-color {
    border-color: var(--border-color) !important;
}

.border-color-hover {
    border-color: var(--border-color-hover);
}

.dropdown-menu {
    background-color: var(--bg-shade-1);
    color: var(--font-color);
}

.dropdown-menu .dropdown-item {
    color: var(--font-color);
    padding: 8px 8px 8px 15px;
    margin-right: 10px;
}

.dropdown-menu .dropdown-item i {
    padding-right: 10px;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:active {
    background-color: transparent;
}

.notification.btn {
    position: relative;

    &:hover {
        background-color: var(--bg-shade-1);
        color: var(--font-color);
    }
}

.top-nav .generate.btn {
    margin-top: 3px;
}

@media (max-width:600px) {
    .top-nav .generate.btn {
        display: none;
    }
}


button,
.btn {
    border-radius: 10px;
    border: 0px;
}

.btn.btn-sm {
    border-radius: 5px;
}

.btn.btn-outline-primary {
    border: 1px solid var(--primary);
    color: var(--primary) !important;
    &:hover {
        background-color: var(--primary) !important;
        color: var(--font-light) !important;
    }
}
.btn.btn-outline-secondary {
    border: 1px solid var(--secondary);
    color: var(--secondary) !important;
    &:hover {
        background-color: var(--secondary) !important;
        color: var(--font-light) !important;
    }
}
.btn.btn-outline-danger {
    border: 1px solid var(--danger);
    color: var(--danger) !important;
    &:hover {
        background-color: var(--danger) !important;
        color: var(--font-light) !important;
    }
}
.btn.btn-outline-success {
    border: 1px solid var(--success);
    color: var(--success) !important;
    &:hover {
        background-color: var(--success) !important;
        color: var(--font-light) !important;
    }
}
.btn.btn-outline-warning {
    border: 1px solid var(--warning);
    color: var(--warning) !important;
    &:hover {
        background-color: var(--warning) !important;
        color: var(--font-dark) !important;
    }
}
.btn.btn-outline-info {
    border: 1px solid var(--info);
    color: var(--info) !important;
    &:hover {
        background-color: var(--info) !important;
        color: var(--font-dark) !important;
    }
}

.btn-theme-primary {
    color: var(--font-light) !important;
    background-color: var(--theme-v) !important;

    &:hover {
        background-color: var(--theme-v-shade-1) !important;
        color: var(--font-light) !important;
    }

    ;

    &:active {
        color: var(--font-light) !important;
        background-color: var(--theme-v-shade-2) !important;
    }

    &:focus {
        box-shadow: none !important;
    }
}

.btn-theme-outline-primary {
    color: var(--font-color);
    background-color: transparent !important;
    border: 1px solid var(--theme-v) !important;

    &:hover {
        background-color: var(--theme-v) !important;
        color: var(--font-white) !important;
    }

    &:focus {
        box-shadow: none !important;
    }
}

a {
    color: var(--font-color) !important;
    cursor: pointer;
}

p {
    margin-bottom: 0 !important;
}

.badge-primary {
    background-color: var(--theme-v);
}

.border {
    border: 1px solid var(--border-color) !important;
}

input[type="radio"].form-check-input:checked {
    background-color: var(--theme-v) !important;
    accent-color: var(--theme-v) !important;
}

input[type="checkbox"].form-check-input {
    transform: scale(1.4);
}

input[type="checkbox"].form-check-input:checked {
    background-color: var(--theme-v) !important;
}

input,
select {
    background-color: var(--background-color) !important;
    accent-color: var(--theme-v) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--font-color) !important;

    &:focus {
        box-shadow: none !important;
    }
}

.settings .card {
    background-color: var(--background-color) !important;
    color: var(--font-color) !important;
    border: 1px solid var(--border-color);
    border-radius: 10px !important;
    margin: 10px !important;
}
.settings .card .list-group-item {
    background-color: var(--background-color) !important;
    color: var(--font-color) !important;
    border: 1px solid var(--border-color) !important;
}
.settings .card .card-header {
    border-radius: 10px 10px 0 0;
    font-weight: 600;
}


.unselectable {
    user-select: none;
    /* For modern browsers */
    -moz-user-select: none;
    /* For older versions of Firefox */
    -webkit-user-select: none;
    /* For older versions of Chrome, Safari, and newer browsers */
    -ms-user-select: none;
    /* For Internet Explorer and Edge */
}

.notification-dropdown.dropdown-menu {
    left: -70px !important;
    width: 300px;
    height: 450px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-shade-1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
@media (max-width:768px) {
    .notification-dropdown.dropdown-menu {
        left: 0px !important;
    }
}

.notification-dropdown .notification-list .notification-item {
    &:hover {
        color: var(--font-color) !important;
    }
}

.notification.dropdown-toggle::after {
    display: none !important;
}

.notification-item,
.notification-item.unread {
    position: relative;
    background-color: var(--background-color);

    &:hover {
        border: 1px solid var(--theme-v) !important;
    }
}

.notification-item.unread {
    background-color: var(--theme-v-faded);
}

.notification-item .fa-bell {
    font-size: 18px;
    position: absolute;
    top: 0;
    left: 0px;
    color: var(--font-color);
}

.notification-item.unread .fa-bell {
    color: var(--theme-v);
}

.no-select {
    user-select: none;
}




/*Theme Switch*/
.dropdown .dropdown-menu .switch {
    background: var(--light2);
    position: relative;
    border-radius: 50px;
    border: 3px solid var(--border-color);
    width: 120px;
    height: 35px;
    transition: all 1.2s;
    -webkit-transition: all 1.2s;
}

.dropdown .dropdown-menu .switch.checked {
    background: #676767;
}

.dropdown .dropdown-menu .switch::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: #fff;
    border-radius: 50px;
    border: 1px solid #0000001f;
    z-index: 1;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    transition: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -webkit-transition: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.dropdown .dropdown-menu .switch.checked::before {
    background: #414141;
}

.dropdown .dropdown-menu .switch input[type="checkbox"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.dropdown .dropdown-menu .switch span {
    color: var(--black-color);
    display: block;
    width: 50%;
    text-align: center;
    padding: 2px;
    z-index: 2;
    text-transform: capitalize;
}

.dropdown .dropdown-menu .switch.checked::before {
    left: 50%;
    color: #000;
}

.dropdown .dropdown-menu .switch .dark-txt {
    color: var(--dark5);
}
.dropdown .dropdown-menu .switch.checked .dark-txt {
    color: var(--font-light);
}
.dropdown .dropdown-menu .switch .light-txt {
    color: var(--font-dark);
}
.dropdown .dropdown-menu .switch.checked .light-txt {
    color: var(--light2);
}


.custom-alert, .confirmation-window {
    /* background-color: var(--background-color); */
    display: none;
    opacity: 1;
    transition: opacity 0.3s ease-in;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    min-width: 400px;
    max-width: 500px;
    z-index: 99999;
    padding: 20px 20px 15px 20px;
    border-radius: 5px;

    &.top {
        top: 10%
    }
    &.center {
        top: 50%;
        transform: translateY(-50%) translateX(-50%);
    }
}

.btn.confirm {
    color: var(--font-light);
    background-color: var(--primary);
}


.nav-search-result {
    display: flex;
    justify-content: center;
    align-items: start;
    min-height: 90svh;
    padding: 15px;
}
.nav-search-result img {
    width: 50%;
    object-fit: contain;
}
@media (max-width:1350px) {
    .nav-search-result img {
        width: 100%;
    }
}

.nav-search-result .btn.btn-sm {
    position: absolute;
    top: 25px;
    right: 45px;
    background-color: var(--dark4);
}
.top-right-download-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--dark4);
    color: var(--font-light);
    border-radius: 5px;

    &:hover {
        color: var(--font-light) !important;
    }
}


@media (max-width:768px) {
    .block-content-area::-webkit-scrollbar {
        width: 3px;
    }
    .block-content-area::-webkit-scrollbar-track {
        background-color: var(--background-color);
    }
    .block-content-area::-webkit-scrollbar-thumb {
        background-color: var(--dark4);
        height: 50px;
    }
    .block-content-area::-webkit-scrollbar-thumb:hover {
        background-color: var(--cool-gray);
    }
}

.table-row-clickable {
    cursor: pointer;
}

.table-bordered th, 
.table-bordered td {
    border: 1px solid var(--border-color) !important; /* Use consistent color */
}

.table {
    border-color: var(--border-color) !important;
    color: var(--font-color) !important;
}

.table-bordered thead th {
    color: var(--font-color);
    text-align: center;
    vertical-align: middle;
}
.table tr th {
    color: var(--font-color) !important;
    vertical-align: middle;
    border: 1px solid var(--border-color) !important; /* Use consistent color */
}

.card {
    background-color: var(--bg-shade-1) ;
    color: var(--font-color) !important;
    border-color: var(--border-color) !important;
}

label {
    color: var(--font-color);
}

input::placeholder {
    color: gray !important; 
}
input:focus::placeholder {
    color: lightgray !important;
}

.input-sm {
    height:25px !important; 
    padding: 2px; 
    font-size: 13px !important;
}

textarea {
    border-color: var(--border-color) !important;
}

/* For Webkit-based browsers like Chrome and Safari */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* For Firefox */
input[type="number"] {
    -moz-appearance: textfield;
    text-align: right;
}

input[type="number"]:focus {
    text-align: right;
}

.modal-content {
    background-color: var(--background-color) !important;
}
.modal-header, .modal-footer {
    border-color: var(--border-color) !important;
}


/* When the sidebar is visible, move pill-nav to the right */
.pill-nav {
    transition: margin-left 0.3s ease;
}

@media (max-width: 576px) {
    .pill-nav {
        margin-left: 0 !important;
    }
}

/* Global Cash Calc */
.denomination-row {
    align-items: center;
    margin-bottom: 10px;
    text-align: center !important;
}
.total-section {
    background-color: var(--bg-shade-1);
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
}

/* Styles for the popup message */

/* Styles for the popup message */
.popup-message {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10000000;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.popup-message.show {
    opacity: 1;
}
.popup-message.success {
    background-color: #4caf50 !important;
    color: white;
}
.popup-message.warning {
    background-color: #f4c136 !important;
    color: white;
}
.popup-message.error {
    background-color: #f44336 !important;
    color: white;
}
.popup-message.info {
    background-color: #2196f3 !important;
    color: white;
}
.popup-message .close-btn {
    margin-left: 20px;
    background: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.station-title {
    max-width: 140px;
    font-size: clamp(0.8rem, 2.5vw, 1.1rem); /* responsive font */
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: normal;           /* prevents breaking inside words */
    overflow-wrap: break-word;    /* allows long words to wrap at whole word level */
}
@media (max-width: 576px) {
    .station-title {
        max-width: 220px;
        font-size: 1.2rem;
        margin: 0 auto;
    }
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--font-color);
}


/* For table column widths */
td.col-checkbox {
    width: 25px;
}

td.col-slip-no {
    width: 90px;
}

td.col-company {
    min-width: 180px;
}

td.col-product {
    min-width: 180px;
}

td.col-rate {
    width: 110px;
}

td.col-qty {
    max-width: 110px;
    min-width: 70px;
}

td.col-amount {
    min-width: 95px; 
    max-width: 130px;
}

td.col-attendant {
    max-width: 85px;
}

td.col-comment {
    min-width: 190px;
}

td.col-delete {
    width: 30px;
}

td.col-delete .remove-row {
    padding: 2px;
    font-size: 13px;
}

td.col-closing {
    max-width: 80px;
}

/* Input alignments */
input.input-right {
    text-align: right;
}


/* Pagination */
.custom-pagination {
    padding: 0;
}

.custom-page-item {
    display: inline-block;
}

.custom-page-link {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    background-color: var(--bg-shade-1);
    color: var(--font-color);
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    border: 1px solid var(--border-color);
}

.custom-page-link:hover {
    background-color: var(--bg-shade-2);
    color: var(--font-color);
}

.custom-page-item.active .custom-page-link {
    background-color: var(--theme-v);
    color: #fff;
    font-weight: 600;
    pointer-events: none;
    border-color: var(--theme-v);
}

.custom-page-item.disabled .custom-page-link {
    background-color: var(--cool-gray);
    color: var(--font-color);
    pointer-events: none;
}


.avatar-initial {
    width: 50px;            /* fixed width */
    height: 50px;           /* fixed height */
    border-radius: 50%;     /* make it a circle */
    display: flex;          /* center content */
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.btn-close {
    color: #666 !important;
    opacity: 1 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23666'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") !important;
}

::placeholder {
    color: var(--font-color) !important;  /* Or any visible light color */
    opacity: 1 !important;   /* Ensure full visibility */
}

/* To fix autofill white background color issue */
input:-webkit-autofill {
    box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-text-fill-color: inherit !important;
    background-color: transparent !important;
    transition: background-color 0s 600000s, color 0s 600000s !important;
}

/* Breadcrumb */
.breadcrumb-nav {
    display: flex;
    gap: 0.75rem;
    font-size: 14px !important;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.breadcrumb-nav .breadcrumb {
    min-width: 0;
    margin-bottom: 0;
}

.breadcrumb {
    background-color: var(--bg-shade-1) !important;
}
.breadcrumb a {
    color: var(--font-muted) !important;
}

.breadcrumb-item {
    font-weight: 400;
}

.breadcrumb-item.active {
    font-weight: 300 !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--border-color) !important;
    font-weight: 500;
}

@media (max-width: 768px) {
    .breadcrumb-nav {
        align-items: stretch !important;
        flex-direction: column !important;
        gap: 0.5rem;
        margin-bottom: 1rem;
        width: 100%;
    }

    .breadcrumb-nav .breadcrumb {
        align-items: center;
        display: flex;
        flex-wrap: nowrap;
        max-width: 100%;
        overflow-x: auto;
        padding: 0.5rem 0.75rem !important;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .breadcrumb-nav .breadcrumb::-webkit-scrollbar {
        display: none;
    }

    .breadcrumb-nav .related-links,
    .breadcrumb-nav > div:not(.breadcrumb) {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: flex-start;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
    }
    
    .breadcrumb-nav .related-links a,
    .breadcrumb-nav > div:not(.breadcrumb) a {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.related-links {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
}

.related-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-decoration: none;
    color: var(--font-muted);
    font-size: 13px;
    font-weight: 400;
    transition: all 0.15s ease;
    border: 1px solid transparent;
    background-color: rgba(13, 110, 253, 0.05);
}

.related-links a:hover {
    color: var(--primary-color, #0d6efd);
    background-color: rgba(13, 109, 253, 0.128);
    text-decoration: none;
}

.related-links a:focus {
    outline: 1px solid var(--primary-color, #0d6efd);
    outline-offset: 1px;
}

.related-links a i {
    font-size: 11px;
    opacity: 0.6;
}

.related-links a:hover i {
    opacity: 1;
}

@media (max-width: 576px) {
    .related-links {
        width: 100%;
        padding: 0.25rem 0;
    }
    
    .related-links a {
        flex: 0 1 auto;
        font-size: 12px;
        padding: 0.2rem 0.4rem;
    }
}

@media (max-width: 375px) {
    .related-links {
        gap: 0.25rem;
    }
    
    .related-links a {
        padding: 0.15rem 0.3rem;
        font-size: 11px;
    }
}


/* Overwriting bootstrap Default pagination items */
.pagination .page-link {
    background-color: var(--bg-shade-1) !important;
    color: var(--font-color) !important;
    border: 1px solid var(--border-color) !important;
}

.pagination .page-link:hover {
    background-color: var(--bg-shade-2) !important;
    color: var(--font-color) !important;
    opacity: 0.85 !important; /* subtle hover feedback */
}

/* Keep active item with Bootstrap primary */
.pagination .page-item.active .page-link {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: #fff !important;
}

.list-unstyled {
    font-size: 14px;
}
