    @import url("https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap");
    @import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');


    body {
        font-family: "Poppins", sans-serif;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        background-color: #f5f5f5;
    }

    header {
        background-color: #054d4f;
        color: #fff;
        height: 155px;
    }

    .profile-details {
        padding: 20px;
    }

    /* .toggle-container {
    display: flex;
    align-items: center;
    }

    .toggle-label {
    margin-left: 5px;
    } */

    .profile-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: #f5f5f5;
        color: #444;
        font-weight: bold;
        font-size: 1.2em;
        cursor: pointer;
    }

    .welcome {
        font-size: 1.2em;
        margin-left: 10px;
    }

    .dropdown-menu {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        min-width: 160px;
        box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
        z-index: 1;
        top: 80px;
        border-radius: 10px;
    }

    .dark-mode .dropdown-menu {
        background-color: #222;
    }

    .dark-mode .dropdown-menu a {
        color: white;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

    .dropdown-menu a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

    .dropdown-menu a:hover {
        color: rgb(255, 255, 255);
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

    .dropdown-menu a#logout {
        color: white;
        background-color: red;
        border-radius: 10px;
    }

    .dropdown-menu a#logout:hover {
        background-color: darkred;
    }

    .dropdown-menu a:hover {
        background-color: rgb(7, 168, 168);
        transition: background-color 0.5s ease;
        border-radius: 10px;
    }

    /* .header1 {
        display: grid;
        align-content: end;
        } */

    /* Media Query for Mobile Devices */
    @media (max-width: 767px) {
        .header1 {
            font-size: 1.2em;
            text-align: end;
        }

        .onlineUsr {
            font-size: 13px;
        }

        .profile-icon {
            width: 40px;
            height: 40px;
            font-size: 1em;
        }

        .welcome {
            font-size: 1em;
            margin-left: 5px;
            padding-left: 5px;
        }

        .dropdown-menu {
            top: 80px;
        }

        .profile-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 10px;
        }
    }

    @media (max-width: 412px) {
        .header1 {
            font-size: 1.2em;
            text-align: end;
        }

        .onlineUsr {
            font-size: 13px;
        }

        .profile-icon {
            width: 40px;
            height: 40px;
            font-size: 1em;
        }

        .welcome {
            font-size: 14px;
            margin-left: 5px;
            padding-left: 5px;
        }

        .dropdown-menu {
            top: 80px;
        }

        .profile-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 10px;
        }
    }

    @media (min-width: 768px) {
        .header1 {
            font-size: 1.2em;
            text-align: end;
        }

        .profile-icon {
            width: 40px;
            height: 40px;
            font-size: 1em;
        }

        .welcome {
            font-size: 1em;
            margin-left: 5px;
        }

        .dropdown-menu {
            top: 80px;
        }

        .profile-container {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            margin-bottom: 10px;
        }
    }

    .red-button {
        background-color: red;
        color: white;
        margin: 0 10px;
        padding: 10px 20px;
        cursor: pointer;
        border-radius: 10px;
    }

    .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
    }


    .back-button {
        background-color: transparent;
        color: #333;
        border: none;
        padding: 0;
        cursor: pointer;
        font-size: 0;
        display: grid;
        align-content: end;
        /* Hide the text content */
    }

    .back-button i {
        font-size: 24px;
        transition: color 0.3s ease;
        color: #fff;
    }

    .back-button:hover i {
        color: #777;
    }

    #themeToggle {
        display: none;
    }

    #themeLabel {
        display: inline-block;
        width: 40px;
        height: 20px;
        border-radius: 10px;
        background-color: #ccc;
        position: relative;
        cursor: pointer;
        top: 40px;
    }

    #themeLabel:after {
        content: "";
        display: block;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background-color: #fff;
        position: absolute;
        top: 2px;
        left: 2px;
        transition: transform 0.2s;
    }

    #themeToggle:checked+#themeLabel {
        background-color: #666;
    }

    #themeToggle:checked+#themeLabel:after {
        transform: translateX(20px);
    }

    .theme {
        margin-left: 10px;
    }

    .offline-message {
        display: block;
        text-align: center;
        font-size: 20px;
        /* Adjust as per your needs */
        color: #ff0000;
        /* Red color for visibility. Change as needed */
        /* Light grey background for contrast. Change as needed */
        padding: 10px;
        /* Add some space around the text */
        border-radius: 5px;
        /* Rounded corners for a softer look */
        margin: 10px auto;
        /* Center the block horizontally and add some space around it */
    }


    #wifi-loader {
        --background: #62abff;
        --front-color: #4f29f0;
        --back-color: #c3c8de;
        height: 110px;
        border-radius: 50px;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        transform: rotate(180deg);
    }

    #wifi-loader svg {
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #wifi-loader svg circle {
        position: absolute;
        fill: none;
        stroke-width: 6px;
        stroke-linecap: round;
        stroke-linejoin: round;
        transform: rotate(-100deg);
        transform-origin: center;
    }

    #wifi-loader svg circle.back {
        stroke: var(--back-color);
    }

    #wifi-loader svg circle.front {
        stroke: var(--front-color);
    }

    #wifi-loader svg.circle-outer {
        height: 86px;
        width: 86px;
    }

    #wifi-loader svg.circle-outer circle {
        stroke-dasharray: 62.75 188.25;
    }

    #wifi-loader svg.circle-outer circle.back {
        -webkit-animation: circle-outer 1.8s ease infinite 0.3s;
        animation: circle-outer 1.8s ease infinite 0.3s;
    }

    #wifi-loader svg.circle-outer circle.front {
        -webkit-animation: circle-outer 1.8s ease infinite 0.15s;
        animation: circle-outer 1.8s ease infinite 0.15s;
    }

    #wifi-loader svg.circle-middle {
        height: 60px;
        width: 60px;
    }

    #wifi-loader svg.circle-middle circle {
        stroke-dasharray: 42.5 127.5;
    }

    #wifi-loader svg.circle-middle circle.back {
        -webkit-animation: circle-middle 1.8s ease infinite 0.25s;
        animation: circle-middle 1.8s ease infinite 0.25s;
    }

    #wifi-loader svg.circle-middle circle.front {
        -webkit-animation: circle-middle 1.8s ease infinite 0.1s;
        animation: circle-middle 1.8s ease infinite 0.1s;
    }

    #wifi-loader svg.circle-inner {
        height: 34px;
        width: 34px;
    }

    #wifi-loader svg.circle-inner circle {
        stroke-dasharray: 22 66;
    }

    #wifi-loader svg.circle-inner circle.back {
        -webkit-animation: circle-inner 1.8s ease infinite 0.2s;
        animation: circle-inner 1.8s ease infinite 0.2s;
    }

    #wifi-loader svg.circle-inner circle.front {
        -webkit-animation: circle-inner 1.8s ease infinite 0.05s;
        animation: circle-inner 1.8s ease infinite 0.05s;
    }

    #wifi-loader .text {
        position: absolute;
        top: -62px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-transform: lowercase;
        font-weight: 500;
        font-size: 14px;
        letter-spacing: 0.2px;
        transform: rotate(180deg);
    }

    #wifi-loader .text::before,
    #wifi-loader .text::after {
        content: attr(data-text);
    }

    #wifi-loader .text::before {
        color: var(--text-color);
    }

    #wifi-loader .text::after {
        color: var(--front-color);
        -webkit-animation: text-animation 3.6s ease infinite;
        animation: text-animation 3.6s ease infinite;
        position: absolute;
        left: 0;
    }

    @-webkit-keyframes circle-outer {
        0% {
            stroke-dashoffset: 25;
        }

        25% {
            stroke-dashoffset: 0;
        }

        65% {
            stroke-dashoffset: 301;
        }

        80% {
            stroke-dashoffset: 276;
        }

        100% {
            stroke-dashoffset: 276;
        }
    }

    @keyframes circle-outer {
        0% {
            stroke-dashoffset: 25;
        }

        25% {
            stroke-dashoffset: 0;
        }

        65% {
            stroke-dashoffset: 301;
        }

        80% {
            stroke-dashoffset: 276;
        }

        100% {
            stroke-dashoffset: 276;
        }
    }

    @-webkit-keyframes circle-middle {
        0% {
            stroke-dashoffset: 17;
        }

        25% {
            stroke-dashoffset: 0;
        }

        65% {
            stroke-dashoffset: 204;
        }

        80% {
            stroke-dashoffset: 187;
        }

        100% {
            stroke-dashoffset: 187;
        }
    }

    @keyframes circle-middle {
        0% {
            stroke-dashoffset: 17;
        }

        25% {
            stroke-dashoffset: 0;
        }

        65% {
            stroke-dashoffset: 204;
        }

        80% {
            stroke-dashoffset: 187;
        }

        100% {
            stroke-dashoffset: 187;
        }
    }

    @-webkit-keyframes circle-inner {
        0% {
            stroke-dashoffset: 9;
        }

        25% {
            stroke-dashoffset: 0;
        }

        65% {
            stroke-dashoffset: 106;
        }

        80% {
            stroke-dashoffset: 97;
        }

        100% {
            stroke-dashoffset: 97;
        }
    }

    @keyframes circle-inner {
        0% {
            stroke-dashoffset: 9;
        }

        25% {
            stroke-dashoffset: 0;
        }

        65% {
            stroke-dashoffset: 106;
        }

        80% {
            stroke-dashoffset: 97;
        }

        100% {
            stroke-dashoffset: 97;
        }
    }

    @-webkit-keyframes text-animation {
        0% {
            -webkit-clip-path: inset(0 100% 0 0);
            clip-path: inset(0 100% 0 0);
        }

        50% {
            -webkit-clip-path: inset(0);
            clip-path: inset(0);
        }

        100% {
            -webkit-clip-path: inset(0 0 0 100%);
            clip-path: inset(0 0 0 100%);
        }
    }

    @keyframes text-animation {
        0% {
            -webkit-clip-path: inset(0 100% 0 0);
            clip-path: inset(0 100% 0 0);
        }

        50% {
            -webkit-clip-path: inset(0);
            clip-path: inset(0);
        }

        100% {
            -webkit-clip-path: inset(0 0 0 100%);
            clip-path: inset(0 0 0 100%);
        }
    }

    .online-message {
        background-color: #4CAF50;
        color: white;
        padding: 10px;
        margin-bottom: 10px;
        border-radius: 4px;
        text-align: center;
        opacity: 1;
        transition: opacity 1s ease-out;
        /* Add the transition property */
    }

    .online-message.fade-out {
        opacity: 0;
        /* Set opacity to 0 to fade out */
    }


    /* Add Go Back Button Styles */
    .go-back-btn {
        position: absolute;
        top: 100px;
        left: 20px;
        background-color: #007bff;
        color: #fff;
        padding: 10px 20px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 16px;
        display: flex;
        align-items: center;
    }

    .go-modal-btn {
        position: absolute;
        top: 100px;
        left: 138px;
        background-color: #007bff;
        color: #fff;
        padding: 10px 20px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 16px;
        display: flex;
        align-items: center;
    }

    .go-checklist-btn {
        position: absolute;
        top: 100px;
        left: 194px;
        background-color: #007bff;
        color: #fff;
        padding: 10px 20px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 16px;
        display: flex;
        align-items: center;
    }


    .go-modal-btn:hover {
        background-color: #396f49;
        transform: scale(1.05);
    }

    .go-checklist-btn:hover {
        background-color: #0056b3;
        transform: scale(1.05);
    }


    /* Add hover effect */
    .go-back-btn:hover {
        background-color: #0056b3;
    }


    .go-home-btn {
        position: absolute;
        top: 100px;
        left: 80px;
        background-color: #007bff;
        color: #fff;
        padding: 10px 20px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
        display: flex;
        align-items: center;
    }

    .go-home-btn:hover {
        background-color: #396f49;
        transform: scale(1.05);
    }