.tcorange {
    color: #FF5733
}

textarea {
    font-size: 100%;
    border: 1px solid #ddd
}

table tr:nth-child(even) td {
    background-color: #f6f6f6
}

.linktable {
    width: 100%;
    border-collapse: collapse;
}

.linktable td:nth-child(4) {
    border-right: none
}

.linktable td {
    width: 70%;
    background: #fff;
    padding: 9px 5px;
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd
}

.linktable td:nth-child(1) {
    width: 15%;
    border-left: 1px solid #ddd;
    text-wrap: nowrap
}

.linktable td:nth-child(3) {
    width: 15%;
    border-left: 1px solid #ddd;
    text-wrap: nowrap
}

.linktable td .error,
.linktable td .success {
    padding: 7px 7px 5px
}

.linktable td img {
    width: auto;
    height: 50px
}

.linktable td:nth-child(2) a {
    color: #7f7f7f
}

.linktable td:nth-child(2) a:hover {
    color: #23aebc
}

.linktable td .catbtn,
.linktable td .catbtn2 {
    padding: 4px
}

.linktable tr {
    border-bottom: 1px solid #ddd;
}

.tealbr {
    padding: 0 0 2px 0;
    border-bottom: 1px solid #23aebc;
}

.pad25 {
    padding: 20px 20px 27px 20px
}

.tcont {
    width: 100%;
    overflow: hidden;
}

.htable {
    margin-top: 13px;
    width: 100%;
    font-size: 100%;
    border-collapse: collapse;
    overflow: hidden;
}

.htable thead td {
    background: #f6f6f6;
}

.htable td {
    background: #fff;
    padding: 9px 5px;
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd
}

.htable td:nth-child(1) {
    width: 12%;
    border-left: 1px solid #ddd;
}

.htable td:nth-child(2) {
    width: 33%;
}

.htable td:nth-child(3) {
    width: 6%;
}

.htable td:nth-child(4) {
    width: 15%;
}

.htable td:nth-child(5) {
    width: 25%;
}

.htable td:nth-child(6) {
    width: 9%;
    border-left: 1px solid #ddd;
}

.htable td .catbtn {
    margin: 0 4px;
    padding: 4px 6px
}

.htable tr:last-child {
    border-bottom: 1px solid #ddd;
}

.phtable {
    margin-top: 13px;
    width: 100%;
    font-size: 100%;
    border-collapse: collapse;
    overflow: hidden;
}

.phtable thead td {
    background: #f6f6f6;
}

.phtable td {
    background: #fff;
    padding: 9px 5px;
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd
}

.phtable td:nth-child(1) {
    width: 12%;
    border-left: 1px solid #ddd;
}

.phtable td:nth-child(2) {
    width: 30%;
}

.phtable td:nth-child(3) {
    width: 10%;
}

.phtable td:nth-child(4) {
    width: 30%;
}

.phtable td:nth-child(5) {
    width: 9%;
}

.phtable td:nth-child(6) {
    width: 9%;
    border-left: 1px solid #ddd;
}

.phtable tr:last-child {
    border-bottom: 1px solid #ddd;
}

.phtable a {
    color: #7f7f7f
}

.phtable a:hover {
    color: #23aebc
}

.prtable {
    margin-top: 13px;
    width: 100%;
    font-size: 100%;
    border-collapse: collapse;
    overflow: hidden;
}

.prtable thead td {
    color: #5a5a5a;
    background: #EBEDEF
}

.prtable td {
    background: #fff;
    padding: 9px 5px;
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd
}

.prtable td:nth-child(1) {
    width: 7%;
    border-left: 1px solid #ddd;
}

.prtable td:nth-child(2) {
    width: 30%;
}

.prtable td:nth-child(3) {
    width: 30%;
}

.prtable td:nth-child(4) {
    width: 11%;
}

.prtable td:nth-child(5) {
    width: 9%;
}

.prtable td:nth-child(6) {
    width: 8%;
    border-left: 1px solid #ddd;
}

.prtable tr:last-child {
    border-bottom: 1px solid #ddd;
}

.prtable a {
    color: #7f7f7f
}

.prtable a:hover {
    color: #23aebc
}

/* Announcement Section  CSS */

.announcements-container {
    width: 100%;
}

.news-announcement {
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 7px;
    /*box-shadow: 0 2.5px 10px rgba(0, 0, 0, 0.1);*/
    overflow: hidden;
}

.news-header {
    background-color: #31a2f5;
    /* Normal background color */
    color: white;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-radius: 7px 7px 0 0;
}

.news-header h2 {
    margin: 0;
    font-size: 1.2em;
}

.news-content {
    padding: 20px 20px 0 20px;
    display: none;
    /* Hidden by default */
    text-align: left;
}

.announcement {
    margin-bottom: 20px;
    padding: 12px 15px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    background-color: #f7f9fb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.announcement:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.announcement h3 {
    margin: 0 0 10px 0;
    font-size: 1em;
    color: #31a2f5;
}

.announcement a {
    font-weight: bold;
    color: #31a2f5;
    border-bottom: 1px solid #31a2f5;
    ;
}

.news-content p {
    font-size: 1em;
    margin: 10px 0;
    line-height: 1.5;
    color: #333333;
}

.collapse-btn {
    background-color: white;
    color: #31a2f5;
    padding: 6px 12px 3px 12px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.3s, color 0.3s;
}

.collapse-btn:hover {
    background-color: #217bbf;
    color: white;
}

.collapse-btn i {
    transition: transform 0.3s ease;
}

.collapse-btn.active i {
    transform: rotate(180deg);
}

/* Announcement Section  CSS */

.sitesflex {
    list-style-type: none;
    display: flex;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0 10px 0 10px;
}

.sitesflex li {
    width: calc(25% - 14px);
    background-color: #fff;
    margin: 7px;
    font-size: 0.95em;
    font-weight: bold;
    color: #5a5a5a;
    padding: 8px 15px 13px 15px;
    border-radius: 7px;
    cursor: pointer
}

.sitesflex .drop-icon {
    float: right;
    color: #31a2f5;
    padding: 10px 0px 5px 0px;
}

.sitesflex li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sitesflex img {
    height: 22px;
    margin-top: 7px;
    margin-bottom: -5px;
}

.site-content {
    margin: 20px 0 10px 0;
    padding: 5px 15px 13px 15px;
    font-weight: 600;
    line-height: 1.5;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    background-color: #f7f9fb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.site-content i {
    font-size: 0.9em;
    color: #31a2f5;
}

.site-content a {
    color: #31a2f5;
}

.site-content p {
    margin-top: 8px;
}

#viewall {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: inline-block;
    background-color: white;
    color: #31a2f5;
    padding: 6px 12px 3px 12px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

@keyframes redMixBorder {
    0% {
        border-color: red;
    }

    25% {
        border-color: orange;
    }

    50% {
        border-color: yellow;
    }

    75% {
        border-color: pink;
    }

    100% {
        border-color: red;
    }
}

.remixborder {
    border: 2px solid red;
    animation: redMixBorder 2s infinite linear;
}

.remixborder2 {
    border: 1px solid red;
    animation: redMixBorder 2s infinite linear;
}

.greenborder {
    border: 1px solid rgb(35, 174, 188);
}

#linktbl {
    border: 2px solid transparent;
}

/* Pricing Table CSS */

.pricetbl {
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px
}

.plans .plan,
.pricetblitem2 {
    width: calc(50% - 10px);
    border-radius: 10px
}

.plans,
.plans .plan .plan-content {
    display: -webkit-box;
    display: -ms-flexbox
}

.pricetblitem2 {
    margin: 20px 0 0;
    padding: 20px 25px 17px 25px
}

.plans {
    margin: -20px -25px;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-around;
    column-gap: 10px;
    row-gap: 15px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.plans .plan input[type=radio] {
    position: absolute;
    opacity: 0
}

.plans .plan {
    background: #fff
}

.plans .plan .plan-content {
    display: flex;
    padding: 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    -webkit-transition: -webkit-box-shadow .4s;
    transition: box-shadow .4s;
    -o-transition: box-shadow .4s;
    transition: box-shadow .4s, -webkit-box-shadow .4s;
    position: relative
}

.plans .plan .plan-content img {
    width: 60%;
    margin-left: 40px;
    height: auto
}

.plans .plan input[type=radio]:checked+.plan-content:after {
    content: "";
    position: absolute;
    height: 15px;
    width: 15px;
    background: #216fe0;
    left: 20px;
    top: 35%;
    border-radius: 100%;
    border: 3px solid #fff;
    -webkit-box-shadow: 0 0 0 2px #06f;
    box-shadow: 0 0 0 2px #06f
}

.plans .plan input[type=radio]:checked+.plan-content {
    border: 2px solid #216ee0;
    background: #eaf1fe;
    -webkit-transition: .3s ease-in;
    -o-transition: .3s ease-in;
    transition: .3s ease-in
}

.paytbl {
    width: 100%;
    display: flex;
    justify-content: space-between;
    border-radius: 7px
}

.paytblitem1 {
    width: 100%
}

.paytblitem {
    width: calc(100% - 50px);
}

.paytblitem .rad7 {
    border-radius: 7px 0px 0px 7px
}

.paytblitem2 {
    width: 50px;
    background: #23aebc;
    padding: 6px 15px 0 15px;
    border-radius: 0 7px 7px 0;
}

.paytblitem3 {
    width: 50px;
    background: #23aebc;
    padding: 3px 10px 0 10px;
    border-radius: 0 7px 7px 0;
}

.paytblitem1 input[type=text],
.paytblitem input[type=file] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
}

.paytblitem1 input[type=text]:focus,
.paytblitem input[type=file]:focus,
.paytblitem input[type=file]:hover {
    border: 1px solid #23aebc;
}

.pdtbl {
    width: 100%;
    display: flex;
    list-style-type: none;
    flex-wrap: nowrap;
    column-gap: 10px;
    justify-content: space-between;
    align-items: center
}

.pdtbl li:first-child {
    width: 35%
}

.pdtbl li:nth-child(2) {
    width: 15%
}

.pdtbl li:nth-child(3) {
    width: 60%
}

.pricetbl .error,
.pricetbl .success2 {
    margin-bottom: 0;
}

/* Pricing Table CSS */

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .sitesflex li {
        width: calc(100% - 14px);
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .sitesflex li {
        width: calc(100% - 14px);
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .sitesflex li {
        width: calc(50% - 14px);
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .sitesflex li {
        width: calc(75% - 14px);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .site-content {
        font-size: 0.9em;
    }
}

@media only screen and (max-width: 768px) {
    textarea {
        font-size: 95%
    }

    .mhide,
    #mhide {
        display: none
    }

    .linktable {
        font-size: 80%;
    }

    .linktable td:nth-child(1) {
        width: 10%;
    }

    .linktable td:nth-child(2) {
        width: 55%;
    }

    .linktable td:nth-child(3) {
        width: 35%;
    }

    .tcont {
        overflow-x: scroll;
    }

    .htable {
        width: 175%;
        font-size: 80%;
        overflow-x: scroll;
    }

    .htable thead td:nth-child(1) {
        width: 10%;
    }

    .htable thead td:nth-child(2) {
        width: 5%;
    }

    .htable thead td:nth-child(3) {
        width: 10%;
    }

    .htable thead td:nth-child(4) {
        width: 15%;
    }

    .htable thead td:nth-child(5) {
        width: 20%;
    }

    .htable thead td:nth-child(6) {
        width: 17%;
    }

    .phtable {
        width: 175%;
        font-size: 80%;
        overflow-x: scroll;
    }

    .phtable thead td:nth-child(1) {
        width: 15%;
    }

    .phtable thead td:nth-child(2) {
        width: 25%;
    }

    .phtable thead td:nth-child(3) {
        width: 12%;
    }

    .phtable thead td:nth-child(4) {
        width: 15%;
    }

    .phtable thead td:nth-child(5) {
        width: 10%;
    }

    .phtable thead td:nth-child(6) {
        width: 25%;
    }

    .prtable {
        width: 215%;
        font-size: 80%;
        overflow-x: scroll;
    }

    .prtable thead td:nth-child(1) {
        width: 10%;
    }

    .prtable thead td:nth-child(2) {
        width: 25%;
    }

    .prtable thead td:nth-child(3) {
        width: 15%;
    }

    .prtable thead td:nth-child(4) {
        width: 15%;
    }

    .prtable thead td:nth-child(5) {
        width: 12.5%;
    }

    .prtable thead td:nth-child(6) {
        width: 12.5%;
    }

    .pricetbl {
        width: 100%
    }

    .pricetblitem2 {
        width: 100%
    }

    .plans .plan .plan-content img {
        margin-left: 22px;
        width: 70%;
        height: 30px
    }

    .plans .plan input[type=radio]:checked+.plan-content:after {
        left: 10px;
        top: 18px
    }

    .pdtbl {
        flex-wrap: wrap;
    }

    .pdtbl li:first-child,
    .pdtbl li:nth-child(2),
    .pdtbl li:nth-child(3) {
        width: 100%
    }
}

.slider {
    position: relative;
    width: 100%;
    display: flex;
    overflow: hidden;
    padding-bottom: 58px;
}

.slider .slider-inner {
    display: flex;
    width: 100%;
    transition: all .3s;
    color: #5a5a5a;
    font-size: 105%;
    font-weight: 700;
    cursor: pointer;
}

.slider .slide {
    flex: none;
    width: 25%;
    background: #fff;
    padding: 3px 4px 8px 4px;
    border: 1px solid #ddd;
    z-index: 1;
}

.slider .slide:hover {
    border: 1px solid #23aebc;
}

.slider .slide img {
    height: 22px;
    margin-top: 7px;
    margin-bottom: -5px;
}

.prtable img {
    height: 20px;
    margin-top: 7px;
    margin-bottom: -5px;
}

.slider .indicators {
    display: flex;
    position: absolute;
    top: 78.5%;
    right: 43.8%;
    z-index: 1;
}

.slider .indicators .indicator {
    margin: 0px 5px;
    width: 10px;
    height: 10px;
    background-color: #23aebc;
    border: 1px solid #23aebc;
    border-radius: 4px;
    opacity: .6;
    cursor: pointer;
    transition: all .3s;
}

.slider .indicators .indicator[active] {
    width: 20px;
    opacity: 1;
}

.slider .arrows {
    display: flex;
    align-items: center;
    position: absolute;
    top: 33px;
    left: 35.1%;
    width: 30%;
    height: 100%;
}

.slider .arrows .arrow-prev,
.slider .arrows .arrow-next {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #FFFFFF;
    border: 2px solid #23aebc;
    border-radius: 4px;
    opacity: .6;
    cursor: pointer;
    transition: all .3s;
}

.slider .arrows .arrow-prev:hover,
.slider .arrows .arrow-next:hover {
    opacity: 1;
}

.slider .arrows .arrow-prev {
    left: -30px;
}

.slider .arrows .arrow-next {
    right: -30px;
}

.slider .arrows .arrow-prev .fas,
.slider .arrows .arrow-next .fas {
    color: #4b4b4b;
    opacity: .5;
}

.linktable td:nth-child(1) {
    width: 15%;
    border-left: 1px solid #ddd;
}

.linktable td:nth-child(3) {
    width: 15%;
    border-left: 1px solid #ddd;
}

.linktable td .catbtn {
    padding: 4px
}

/* Admin Edit Styles */
.edit-input {
    width: 100%;
    border: 1px solid #ddd;
    padding: 4px;
    font-size: 12px;
    border-radius: 3px;
}

.edit-input:focus {
    border-color: #23aebc;
    outline: none;
}

.edit-select {
    width: 100%;
    border: 1px solid #ddd;
    padding: 4px;
    font-size: 12px;
    border-radius: 3px;
}

.btn-save,
.btn-cancel,
.btn-edit,
.btn-delete,
.btn-add {
    padding: 4px 8px;
    margin: 2px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 11px;
}

.btn-save {
    background: #28a745;
    color: white;
}

.btn-cancel {
    background: #6c757d;
    color: white;
}

.btn-edit {
    background: #007bff;
    color: white;
}

.btn-delete {
    background: #dc3545;
    color: white;
}

.btn-add {
    background: #28a745;
    color: white;
    padding: 8px 15px;
    margin: 10px 0;
}

.alert {
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    display: none;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Pricing Table CSS */
.pricetbl {
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px
}

.disabled {
    opacity: 0.6;
}

.disabled:hover {
    opacity: 1;
}

@media only screen and (max-width: 768px) {
    textarea {
        font-size: 95%
    }

    .slider .slide {
        width: 100%
    }

    .mhide,
    #mhide {
        display: none
    }

    .slider .arrows {
        left: 9.5%;
        width: 81%;
        height: 100%
    }

    .slider .arrows .arrow-prev,
    .slider .arrows .arrow-next {
        width: 35px;
        height: 35px
    }

    .linktable {
        font-size: 80%;
    }

    .linktable td:nth-child(1) {
        width: 10%;
    }

    .linktable td:nth-child(2) {
        width: 55%;
    }

    .linktable td:nth-child(3) {
        width: 35%;
    }

    .tcont {
        overflow-x: scroll;
    }

    .htable {
        width: 175%;
        font-size: 80%;
        overflow-x: scroll;
    }

    .htable thead td:nth-child(1) {
        width: 10%;
    }

    .htable thead td:nth-child(2) {
        width: 5%;
    }

    .htable thead td:nth-child(3) {
        width: 10%;
    }

    .htable thead td:nth-child(4) {
        width: 15%;
    }

    .htable thead td:nth-child(5) {
        width: 20%;
    }

    .htable thead td:nth-child(6) {
        width: 17%;
    }

    .phtable {
        width: 175%;
        font-size: 80%;
        overflow-x: scroll;
    }

    .phtable thead td:nth-child(1) {
        width: 15%;
    }

    .phtable thead td:nth-child(2) {
        width: 25%;
    }

    .phtable thead td:nth-child(3) {
        width: 12%;
    }

    .phtable thead td:nth-child(4) {
        width: 15%;
    }

    .phtable thead td:nth-child(5) {
        width: 10%;
    }

    .phtable thead td:nth-child(6) {
        width: 25%;
    }

    .prtable {
        width: 215%;
        font-size: 80%;
        overflow-x: scroll;
    }

    .prtable thead td:nth-child(1) {
        width: 10%;
    }

    .prtable thead td:nth-child(2) {
        width: 25%;
    }

    .prtable thead td:nth-child(3) {
        width: 15%;
    }

    .prtable thead td:nth-child(4) {
        width: 15%;
    }

    .prtable thead td:nth-child(5) {
        width: 12.5%;
    }

    .prtable thead td:nth-child(6) {
        width: 12.5%;
    }

    .pricetbl {
        width: 100%
    }

    .pricetblitem2 {
        width: 100%
    }

    .plans .plan .plan-content img {
        margin-left: 22px;
        width: 70%;
        height: 30px
    }

    .plans .plan input[type=radio]:checked+.plan-content:after {
        left: 10px;
        top: 18px
    }

    .pdtbl {
        flex-wrap: wrap;
    }

    .pdtbl li:first-child,
    .pdtbl li:nth-child(2),
    .pdtbl li:nth-child(3) {
        width: 100%
    }
}

/* ==========================================================
   Responsive Mobile Navigation & Sidebar Styles
   ========================================================== */

/* Hamburger Toggle styling */
.hamburger-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4.5px;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    outline: none !important;
}

.hamburger-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.hamburger-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #515151;
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

/* Transform Hamburger to X when active */
.hamburger-toggle.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.hamburger-toggle.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-toggle.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Sidebar Backdrop Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* Slide-out Sidebar styling with Glassmorphism */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 20px;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-sidebar.open {
    left: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sidebar-close {
    background: transparent;
    border: none;
    font-size: 28px;
    color: #7f7f7f;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
    transition: color 0.2s ease, transform 0.2s ease;
    outline: none !important;
}

.sidebar-close:hover {
    color: #23aebc;
    transform: scale(1.1);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-menu li {
    width: 100% !important;
    margin: 0 !important;
    padding-bottom: 0 !important;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #5a5a5a;
    padding: 12px 16px;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-menu li a i {
    font-size: 16px;
    color: #7f7f7f;
    width: 20px;
    text-align: center;
    transition: color 0.2s ease;
}

.sidebar-menu li a:hover {
    background-color: rgba(35, 174, 188, 0.1);
    color: #23aebc;
}

.sidebar-menu li a:hover i {
    color: #23aebc;
}

/* Sidebar Dark Mode Theme */
.mobile-sidebar.dark-mode {
    background: rgba(15, 23, 42, 0.85) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.mobile-sidebar.dark-mode .sidebar-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.mobile-sidebar.dark-mode .sidebar-close {
    color: #ababab !important;
}

.mobile-sidebar.dark-mode .sidebar-menu li a {
    color: #ddd !important;
}

.mobile-sidebar.dark-mode .sidebar-menu li a i {
    color: #ababab !important;
}

.mobile-sidebar.dark-mode .sidebar-menu li a:hover {
    background-color: rgba(35, 174, 188, 0.2) !important;
    color: #23aebc !important;
}

.mobile-sidebar.dark-mode .sidebar-menu li a:hover i {
    color: #23aebc !important;
}

/* Responsiveness overrides */
@media only screen and (max-width: 800px) {
    .hamburger-toggle {
        display: flex !important;
    }
    
    #header {
        position: sticky;
        top: 0;
        z-index: 100;
    }
}

/* ==========================================================
   Day/Night Premium Dark Mode Theme Overrides
   ========================================================== */

/* Apply transition to background and colors for a buttery smooth fade */
body, header, footer, .bgw, .tcblack, .tcgrey, .nbtn, .panel, fieldset, 
.termbg, .signbg, .announcement, .news-announcement, .news-header,
input, textarea, select, .mobile-sidebar, .card-grid, .carttable, .carttable tr {
    transition: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                color 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Dark Mode styles applied to html/body */
html.dark-mode, body.dark-mode {
    background-color: #0b0f19 !important;
    color: #f3f4f6 !important;
}

/* Utility overrides when dark mode is active */
body.dark-mode .bgw {
    background-color: #131b2e !important; /* Deep blue-gray card/header bg */
}

body.dark-mode .tcblack {
    color: #e5e7eb !important;
}

body.dark-mode .tcgrey {
    color: #9ca3af !important;
}

body.dark-mode a.tcblack, 
body.dark-mode .tcblack a {
    color: #f3f4f6 !important;
}

body.dark-mode hr {
    border-color: #1f2937 !important;
    opacity: 0.15;
}

/* Header & Navigation in Dark Mode */
body.dark-mode #header {
    background-color: #131b2e !important;
    box-shadow: rgba(0, 0, 0, 0.3) 0 2px 8px !important;
}

body.dark-mode .nbtn {
    color: #9ca3af !important;
}

body.dark-mode .nbtn:hover {
    color: #23aebc !important;
}

body.dark-mode header i {
    color: #d1d5db !important;
}

body.dark-mode header i:hover {
    background: #1e293b !important;
}

/* Footer in Dark Mode */
body.dark-mode footer, 
body.dark-mode #footer {
    background-color: #090d16 !important;
    border-top: 1px solid #1f2937 !important;
    color: #9ca3af !important;
}

/* Cards, Panels, Forms, Containers */
body.dark-mode .panel,
body.dark-mode fieldset,
body.dark-mode .termbg,
body.dark-mode .signbg {
    background-color: #131b2e !important;
    border: 1px solid #1e293b !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
    color: #f3f4f6 !important;
}

/* Announcement Cards */
body.dark-mode .news-announcement {
    background-color: #131b2e !important;
    border: 1px solid #1e293b !important;
}

body.dark-mode .news-header {
    background-color: #1d4ed8 !important; /* Deep royal blue for announcements header */
}

body.dark-mode .announcement {
    background-color: #1e293b !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

body.dark-mode .announcement h3 {
    color: #38bdf8 !important; /* Light sky blue */
}

body.dark-mode .announcement p {
    color: #e5e7eb !important;
}

/* Input Fields & Textareas */
body.dark-mode input[type="text"],
body.dark-mode input[type="email"],
body.dark-mode input[type="password"],
body.dark-mode textarea,
body.dark-mode select {
    background-color: #0b0f19 !important;
    color: #f3f4f6 !important;
    border: 1px solid #1e293b !important;
    border-radius: 6px !important;
}

body.dark-mode input[type="text"]::placeholder,
body.dark-mode input[type="email"]::placeholder,
body.dark-mode input[type="password"]::placeholder,
body.dark-mode textarea::placeholder {
    color: #6b7280 !important;
}

/* Tables in Dark Mode */
body.dark-mode .carttable tr:nth-child(odd) {
    background-color: #131b2e !important;
}

body.dark-mode .carttable tr:nth-child(2n) {
    background-color: #182235 !important;
}

body.dark-mode .carttable td {
    border-right: 1px solid #1e293b !important;
    color: #e5e7eb !important;
}

body.dark-mode .carttable {
    border: 1px solid #1e293b !important;
}

/* Pricing Table in Dark Mode */
body.dark-mode .ptbl li {
    background-color: #131b2e !important;
    border: 1px solid #1e293b !important;
}

body.dark-mode .ptbl li:nth-child(2) {
    background-color: #1e293b !important;
    border: 1px solid #334155 !important;
}

/* Custom pricing table list items */
body.dark-mode .pricetblitem2 {
    background-color: #131b2e !important;
    border: 1px solid #1e293b !important;
}

/* Form inputs icons and helper styling */
body.dark-mode .inputside {
    background-color: #1e293b !important;
    color: #9ca3af !important;
    border: 1px solid #1e293b !important;
}

/* Search result body / details */
body.dark-mode .resbody {
    background-color: #131b2e !important;
    color: #f3f4f6 !important;
    border-color: #1e293b !important;
}

/* Related assets section */
body.dark-mode .related {
    background-color: #131b2e !important;
    color: #f3f4f6 !important;
}

/* Custom dashboard tabs and contents */
body.dark-mode .dflexcon li {
    border-color: #1e293b !important;
    color: #9ca3af !important;
}

body.dark-mode .dflexcon li:hover,
body.dark-mode #tab1,
body.dark-mode #tab2,
body.dark-mode #tab3,
body.dark-mode #tab4,
body.dark-mode #tab5 {
    background-color: #1e293b !important;
    color: #f3f4f6 !important;
}

/* Search input elements */
body.dark-mode .searchtbl input[type=text] {
    background-color: #0b0f19 !important;
    color: #f3f4f6 !important;
    border: 1px solid #1e293b !important;
}

/* Sorters and dropdowns */
body.dark-mode #sortby select {
    background-color: #0b0f19 !important;
    color: #f3f4f6 !important;
    border: 1px solid #1e293b !important;
}

/* Direct purchase buttons */
body.dark-mode .buyp {
    background-color: transparent !important;
    color: #23aebc !important;
}

body.dark-mode .buyp:hover {
    background-color: #23aebc !important;
    color: #fff !important;
}

/* Deposit selection plans grid */
body.dark-mode .plans .plan {
    background-color: #131b2e !important;
}

body.dark-mode .plans .plan .plan-content {
    border-color: #1e293b !important;
    color: #f3f4f6 !important;
}

body.dark-mode .plans .plan input[type=radio]:checked+.plan-content {
    border-color: #23aebc !important;
    background-color: rgba(35, 174, 188, 0.15) !important;
    color: #f3f4f6 !important;
}

body.dark-mode .plans .plan input[type=radio]:checked+.plan-content:after {
    background: #23aebc !important;
    box-shadow: 0 0 0 2px #23aebc !important;
}

/* Payment proof file uploads */
body.dark-mode .paytbl {
    background-color: #0b0f19 !important;
    border: 1px solid #1e293b !important;
}

body.dark-mode .paytblitem input[type=file] {
    background-color: #0b0f19 !important;
    color: #f3f4f6 !important;
}

/* Countdown widgets */
body.dark-mode .countdown>.part>.number {
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #f3f4f6 !important;
}

/* Custom Premium scrollbar styles */
body.dark-mode ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

body.dark-mode ::-webkit-scrollbar-track {
    background: #090d16 !important;
}

body.dark-mode ::-webkit-scrollbar-thumb {
    background: #1f2937 !important;
    border-radius: 4px;
}

body.dark-mode ::-webkit-scrollbar-thumb:hover {
    background: #374151 !important;
}