 @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: 'Montserrat', sans-serif;
 }

 body,
 html {
     font-family: 'Montserrat', sans-serif;
     overflow-x: hidden;
     margin: 0;
     padding: 0;
 }

 .container {
     position: relative;
     width: 100vw;
     max-width: 100%;
     background-image: url("../img/login_page_background.png");
     background-repeat: no-repeat;
     background-size: cover;
     min-height: 100vh;
     overflow: hidden;
     margin: 0;
     padding: 0;
 }

 .forms-container {
     position: absolute;
     width: 100%;
     height: 100%;
     top: 0;
     left: 0;
 }

 .signin-signup {
     position: absolute;
     top: 58%;
     transform: translate(-50%, -50%);
     left: 75%;
     width: 30%;
     transition: 1s 0.7s ease-in-out;
     display: grid;
     grid-template-columns: 1fr;
     z-index: 5;
 }

 form {
     display: flex;
     align-items: center;
     justify-content: center;
     flex-direction: column;
     padding: 1rem 2rem;
     transition: all 0.2s 0.7s;
     overflow: hidden;
     grid-column: 1 / 2;
     grid-row: 1 / 2;
     background-color: white;
     border-radius: 11px;

 }

 form img {
     height: 54px;
 }

 form.sign-up-form {
     opacity: 0;
     z-index: 1;

 }

 form.sign-in-form {
     z-index: 2;
     height: 480px;
 }

 form.forgot-password-form {
     opacity: 0;
     z-index: 1;
 }

 .title {
     font-size: 2.2rem;
     color: #444;
     margin-bottom: 10px;
 }

 .input-field {
     max-width: 380px;
     width: 100%;
     background-color: #f0f0f0;
     margin: 10px 0;
     height: 55px;
     border-radius: 5px;
     display: grid;
     grid-template-columns: 15% 85%;
     padding: 0 0.4rem;
     position: relative;
 }

 .input-field i {
     text-align: center;
     line-height: 55px;
     color: #acacac;
     transition: 0.5s;
     font-size: 1.1rem;
 }

 .input-field input {
     background: none;
     outline: none;
     border: none;
     line-height: 1;
     font-weight: 600;
     font-size: 1.1rem;
     color: #333;
 }

 .input-field input::placeholder {
     color: #aaa;
     font-weight: 500;
 }

 .forgot-password-link {
     color: #414040;
     text-decoration: none;
     font-size: 0.9rem;
     margin-top: 5px;
     align-self: flex-end;
     margin-right: calc((100% - 351px) / 2);
     cursor: pointer;
     transition: 0.3s;
     font-weight: 500;
 }

 .forgot-password-link:hover {
     color: #0776df;
     text-decoration: underline;
 }

 .back-to-login {
     color: #0776df;
     text-decoration: none;
     font-size: 0.9rem;
     margin-top: 15px;
     cursor: pointer;
     transition: 0.3s;
 }

 .social-text {
     padding: 0.7rem 0;
     font-size: 1rem;
 }

 .social-media {
     display: flex;
     justify-content: center;
 }

 .social-icon {
     height: 46px;
     width: 46px;
     display: flex;
     justify-content: center;
     align-items: center;
     margin: 0 0.45rem;
     color: #333;
     border-radius: 50%;
     border: 1px solid #333;
     text-decoration: none;
     font-size: 1.1rem;
     transition: 0.3s;
 }

 .social-icon:hover {
     color: #F86F03;
     border-color: #F86F03;
 }

 .btn {
     width: 150px;
     background-color: #2446c0;
     border: none;
     outline: none;
     height: 49px;
     border-radius: 4px;
     color: #fff;
     text-transform: uppercase;
     font-weight: 600;
     margin: 10px 0;
     cursor: pointer;
     transition: 0.5s;
 }

 .btn:hover {
     background-color: #f98c39;
 }

 .panels-container {
     position: absolute;
     height: 100%;
     width: 100%;
     top: 0;
     left: 0;
     display: grid;
     grid-template-columns: repeat(2, 1fr);
 }

 .container:before {
     content: "";
     position: absolute;
     height: 3850px;
     width: 3850px;
     top: -10%;
     right: 48%;
     transform: translateY(-50%);
     background-image: linear-gradient(-45deg, #2d56eb 0%, #000000 100%);
     transition: 1.8s ease-in-out;
     border-radius: 50%;
     z-index: 6;
     opacity: 0.9;
 }

 .image {
     width: 70%;
     transition: transform 1.1s ease-in-out;
     transition-delay: 0.4s;
 }

 .panel {
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: space-around;
     text-align: center;
     z-index: 6;
 }

 .left-panel {
     pointer-events: all;
     padding: 3rem 17% 4rem 12%;
 }

 .right-panel {
     pointer-events: none;
     padding: 3rem 12% 4rem 17%;
 }

 .panel .content {
     color: #fff;
     transition: transform 0.9s ease-in-out;
     transition-delay: 0.6s;
 }

 .panel h3 {
     font-weight: 600;
     line-height: 1;
     font-size: 1.5rem;
 }

 .panel p {
     font-size: 0.95rem;
     padding: 0.7rem 0;
 }

 .btn.transparent {
     margin: 0;
     background: none;
     border: 2px solid #fff;
     width: 130px;
     height: 41px;
     font-weight: 600;
     font-size: 0.8rem;
 }

 .right-panel .image,
 .right-panel .content {
     transform: translateX(800px);
 }

 /* ANIMATION */

 .container.sign-up-mode:before {
     transform: translate(100%, -50%);
     right: 52%;
 }

 .container.sign-up-mode .left-panel .image,
 .container.sign-up-mode .left-panel .content {
     transform: translateX(-800px);
 }

 .container.sign-up-mode .signin-signup {
     left: 25%;
 }

 .container.sign-up-mode form.sign-up-form {
     opacity: 1;
     z-index: 2;
 }

 .container.sign-up-mode form.sign-in-form {
     opacity: 0;
     z-index: 1;
 }

 .container.sign-up-mode form.forgot-password-form {
     opacity: 0;
     z-index: 1;
 }

 .container.sign-up-mode .right-panel .image,
 .container.sign-up-mode .right-panel .content {
     transform: translateX(0%);
 }

 .container.sign-up-mode .left-panel {
     pointer-events: none;
 }

 .container.sign-up-mode .right-panel {
     pointer-events: all;
 }

 .container.forgot-password-mode form.sign-in-form {
     opacity: 0;
     z-index: 1;
 }

 .container.forgot-password-mode form.forgot-password-form {
     opacity: 1;
     z-index: 2;
 }

 @media (max-width: 870px) {
     .container {
         min-height: 800px;
         height: 100vh;
     }

     .signin-signup {
         width: 100%;
         top: 95%;
         transform: translate(-50%, -100%);
         transition: 1s 0.8s ease-in-out;
     }

     .signin-signup,
     .container.sign-up-mode .signin-signup {
         left: 50%;
     }

     .panels-container {
         grid-template-columns: 1fr;
         grid-template-rows: 1fr 2fr 1fr;
     }

     .panel {
         flex-direction: row;
         justify-content: space-around;
         align-items: center;
         padding: 2.5rem 8%;
         grid-column: 1 / 2;
     }

     .right-panel {
         grid-row: 3 / 4;
     }

     .left-panel {
         grid-row: 1 / 2;
     }

     .image {
         width: 200px;
         transition: transform 0.9s ease-in-out;
         transition-delay: 0.6s;
     }

     .panel .content {
         padding-right: 15%;
         transition: transform 0.9s ease-in-out;
         transition-delay: 0.8s;
     }

     .panel h3 {
         font-size: 1.2rem;
     }

     .panel p {
         font-size: 0.7rem;
         padding: 0.5rem 0;
     }

     .btn.transparent {
         width: 110px;
         height: 35px;
         font-size: 0.7rem;
     }

     .container:before {
         width: 1500px;
         height: 1500px;
         transform: translateX(-50%);
         left: 30%;
         bottom: 68%;
         right: initial;
         top: initial;
         transition: 2s ease-in-out;
     }

     .container.sign-up-mode:before {
         transform: translate(-50%, 100%);
         bottom: 32%;
         right: initial;
     }

     .container.sign-up-mode .left-panel .image,
     .container.sign-up-mode .left-panel .content {
         transform: translateY(-300px);
     }

     .container.sign-up-mode .right-panel .image,
     .container.sign-up-mode .right-panel .content {
         transform: translateY(0px);
     }

     .right-panel .image,
     .right-panel .content {
         transform: translateY(300px);
     }

     .container.sign-up-mode .signin-signup {
         top: 5%;
         transform: translate(-50%, 0);
     }

     .forgot-password-link {
         margin-right: 0;
     }
 }

 @media (max-width: 570px) {
     form {
         padding: 0 1.5rem;
     }

     .image {
         display: none;
     }

     .panel .content {
         padding: 0.5rem 1rem;
     }

     .container:before {
         bottom: 72%;
         left: 50%;
     }

     .container.sign-up-mode:before {
         bottom: 28%;
         left: 50%;
     }
 }



 
        .sidebar {
            position: fixed;
            left: 0;
            top: 0;
            width: 240px;
            height: 100vh;
            background: #fff;
            padding: 20px 0;
            box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .sidebar.collapsed {
            width: 80px;
        }

        .sidebar.collapsed .logo-text,
        .sidebar.collapsed .nav-item span,
        .sidebar.collapsed .theme-toggle span {
            display: none;
        }

        .sidebar.collapsed .logo {
            justify-content: center;
            padding: 0 10px;
        }

        .sidebar.collapsed .logo-icon {
            margin-right: 0;
        }

        .sidebar.collapsed .nav-item {
            justify-content: center;
            padding: 12px;
        }

        .sidebar.collapsed .nav-item i {
            margin-right: 0;
        }

        .sidebar.collapsed .theme-toggle {
            left: 50%;
            transform: translateX(-50%);
            flex-direction: column;
        }

        .logo {
            display: flex;
            align-items: center;
            padding: 0 20px;
            margin-bottom: 30px;
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            background: #ffffff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
        }

        .logo-icon img {
            color: white;
            height: 38px;
        }

        .logo-text {
            font-size: 24px;
            font-weight: 600;
            color: #4285f4;
        }

        .nav-item {
            padding: 12px 20px;
            margin: 5px 15px;
            display: flex;
            align-items: center;
            cursor: pointer;
            border-radius: 28px;
            transition: all 0.3s;
            color: #666;
        }

        .nav-item i {
            margin-right: 12px;
            width: 20px;
        }

        .nav-item.active {
            background: linear-gradient(116.62deg, #6395FF 0%, #0C59FF 100%);
            color: white;
        }

        .nav-item:hover:not(.active) {
            background: #f0f4ff;
        }

        .theme-toggle {
            position: absolute;
            bottom: 20px;
            left: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .theme-toggle i {
            font-size: 20px;
            cursor: pointer;
            padding: 8px;
            border-radius: 50%;
            transition: all 0.3s;
        }

        .theme-toggle i:hover {
            background: #f0f4ff;
        }

        .main-content {
            margin-left: 240px;
            padding: 20px 30px;
            transition: margin-left 0.3s ease;
        }
        .main-content-page {
                padding: 34px 30px;
                transition: margin-left 0.3s ease;
                margin-right: 81px;
        }

        .main-content.expanded {
            margin-left: 80px;
        }

        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }

        .menu-icon {
            font-size: 24px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .menu-icon:hover {
            color: #4285f4;
            transform: scale(1.1);
        }

        .user-info {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .user-avatar {
            width: 40px;
            height: 40px;
            background: #ffffff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
        }

        .stat-card {
            background: white;
            border-radius: 10px;
            padding: 14px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 100%;
        }

        .stat-card.blue {
            background: linear-gradient(116.62deg, #6395FF 0%, #0C59FF 100%);
            border-radius: 10px;
            color: white;
        }

        .fa-sun {
            color: #276cff;
        }

        /* Rectangle 4 */




        .stat-card.white {
            background: white;
        }

        .stat-number {
            font-size: 42px;
            margin-bottom: 5px;
        }

        .stat-label {
            font-size: 14px;
            opacity: 0.9;
        }

        .blue .stat-number {
            font-size: 42px;
            margin-bottom: 5px;
            color: white;
        }

        .blue .stat-label {
            font-size: 14px;
            opacity: 0.9;
            color: white;
        }

        .white .stat-number {
            font-size: 42px;
            margin-bottom: 5px;
            color: rgb(0, 0, 0);
        }

        .white .stat-label {
            font-size: 14px;
            opacity: 0.9;
            color: rgb(0, 0, 0);
        }



        .blue .stat-icon {
            font-size: 51px;
        }

        .white .stat-icon {
            font-size: 51px;
            color: #276cff;
        }

        .chart-card {
            background: white;
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        }

        .chart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .chart-title {
            font-size: 18px;
            font-weight: 600;
        }

        .chart-subtitle {
            font-size: 12px;
            color: #666;
            margin-top: 5px;
        }

        .time-filter {
            display: flex;
            gap: 10px;
        }

        .time-btn {
            padding: 6px 16px;
            border: none;
            border-radius: 20px;
            background: #f0f4ff;
            color: #666;
            cursor: pointer;
            transition: all 0.3s;
        }

        .time-btn.active {
            background: #4285f4;
            color: white;
        }

        .donut-chart {
            position: relative;
            width: 237px;
            height: 249px;
            margin: auto;
        }

        .chart-legend {
            margin-top: 20px;
        }

        .legend-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 15px;
        }

        .legend-left {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .legend-item .top {
            background: #6ea8fe;
        }

        .legend-item .middle {
            background: #1e4db7;
        }

        .legend-item .bottom {
            background: #d4dff7;
        }

        .legend-color {
            width: 20px;
            height: 40px;
            border-radius: 4px;
        }

        .legend-label {
            font-size: 15px;
        }

        .legend-value {
            font-size: 18px;
            font-weight: 600;
        }

        .quick-actions {
            background: white;
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        }

        .section-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .section-subtitle {
            font-size: 12px;
            color: #666;
            margin-bottom: 20px;
        }

        .action-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }

        .action-btn {
            background: linear-gradient(116.62deg, #6395FF 0%, #0C59FF 100%);
            border: none;
            border-radius: 10px;
            padding: 30px;
            color: white;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }



        .action-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(66, 133, 244, 0.3);
        }

        .action-btn i {
            font-size: 40px;
        }

        .action-btn span {
            font-size: 16px;
            font-weight: 500;
        }

        .chart-footer {
            text-align: center;
            margin-top: 8px;
            font-size: 18px;
            color: #000000;
        }

        .footer {
            position: fixed;
            bottom: 0;
            left: 240px;
            right: 0;
            padding: 20px 30px;
            background: #fff;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
            transition: left 0.3s ease;
            z-index: 999;
        }

        .footer.expanded {
            left: 80px;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }

        .footer-text {
            color: #666;
            font-size: 14px;
        }

        .footer-links {
            display: flex;
            gap: 20px;
        }

        .footer-link {
            color: #125dff;
            text-decoration: none;
            font-size: 14px;
            transition: all 0.3s;
        }

        .footer-link:hover {
            color: #1e4db7;
            text-decoration: underline;
        }

        .footer-social {
            display: flex;
            gap: 15px;
        }

        .social-icon {
            width: 35px;
            height: 35px;
            background: #f0f4ff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #0e5aff;
            transition: all 0.3s;
            cursor: pointer;
        }

        .social-icon:hover {
            background: #4285f4;
            color: white;
            transform: translateY(-3px);
        }

        @media (max-width: 768px) {
            .sidebar {
                transform: translateX(-100%);
            }

            .main-content {
                margin-left: 0;
            }

            .footer {
                margin-left: 0;
                left: 0;
            }

            .footer-content {
                flex-direction: column;
                text-align: center;
            }
        }

        /* .notification {
  position: fixed;
  bottom: 100px;
  right: -350px;
  width: 300px;
  padding: 15px;
  background: linear-gradient(116.62deg, #6395ff 0%, #0c59ff 100%);
  color: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.5s ease;
  z-index: 9999;
  opacity: 0;
}

.notification.show {
  right: 20px;
  opacity: 1;
}

.notify-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notify-close {
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
}

.notify-close:hover {
  color: red;
} */
.theme-toggle i {
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 6px;
}

.sun-icon {
    display: none; /* start hidden (light mode) */
}
#notify {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 280px;
   background: linear-gradient(116.62deg, #6395ff 0%, #0c59ff 100%);
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
    z-index: 9999;
    
}

#notify.show {
    opacity: 1;
    visibility: visible;
}

.notify-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notify-close {
    cursor: pointer;
    font-size: 20px;
    padding-left: 15px;
}

.notify-stop {
    background: #ff4444;
    border: none;
    color: white;
    padding: 4px 8px;
    border-radius: 5px;
    margin-right: 10px;
    cursor: pointer;
}




/* tank */
#bottleWrapper {
    position: relative;
    width: 300px;
    margin: 20px auto;
}

#bottleImg {
    width: 100%;
    display: block;
}

/*#liquidContainer {
    position: absolute;
    bottom: 10px;        /* move liquid inside the bottle 
    left: 0;
    width: 100%;
    height: 90%;
    overflow: hidden;
    pointer-events: none;
}*/

#liquid {
   position: absolute;
    top: 125px;
    width: 75px;
    height: 25%;
    background: rgba(0, 170, 255, 0.6);
    transition: height 0.4s ease;

    left: 60px;
}
    /* tank end */
.notification-wrapper {
    position: fixed;
    top: 30px;
    right: 15%;
    z-index: 9999;
}

.notification-btn {
    position: relative;
    font-size: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    animation: vibration 1s infinite;
}

.notification-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background: red;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 6px;
}

.notification-list {
    display: none;
    position: absolute;
    right: 0;
    margin-top: 5px;
    background: #fff;
    border: 1px solid #ccc;
    width: 350px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-radius: 5px;
    padding: 10px;
}

.notification-item {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    position: relative;
    background: #f9f9f9;
    margin: 5px 0;
    border-radius: 5px;
}

.notification-item:last-child {
    border-bottom: none;
}


.notification-item .close-btn:hover {
    color: red;
}

@keyframes vibration {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}