    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      background-color: #f4f4f9;
      color: #333;
      overflow-x: hidden;
    }
    
    body.dark-mode {
            background: #121212;
            color: #f4f4f9;
        }

        .app-container {
            position: relative;
            min-height: 100vh;
            transition: transform 0.3s ease;
        }

        /* Header Styles */
        .header {
            background: linear-gradient(135deg, #6e8efb, #a777e3);
            color: white;
            width: 100%;
            height: 4rem;
            padding: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 0.13rem 0.63rem rgba(0, 0, 0, 0.1);
            position: fixed;
            margin-bottom: 1rem;
            z-index: 10;
        }

        body.dark-mode .header {
            background: linear-gradient(135deg, #4a5bbf, #7d5ab8);
        }

        /* Distinct menu button styles */
        .menu-btn {
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0.5rem;
            width: auto;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0;
            border-radius: 0;
            box-shadow: none;
            position: relative;
            z-index: 100;
            transition: none;
        }

        .menu-btn:hover {
            background: none;
            transform: none;
            box-shadow: none;
        }

        .menu-btn::after {
            content: none;
        }

        .app-title {
            margin: 0;
            font-weight: 600;
            font-size: 1.2rem;
            flex-grow: 1;
            text-align: center;
            position: relative;
        }

        /* Side Menu Styles */
        .side-menu {
            position: fixed;
            top: 0;
            left: -17.5rem;
            width: 12.5rem;
            height: 100%;
            background: white;
            box-shadow: 0.13rem 0 0.94rem rgba(0, 0, 0, 0.1);
            z-index: 100;
            transition: left 0.2s ease-in-out, background 0.2s ease-in-out;
            display: flex;
            flex-direction: column;
        }

        body.dark-mode .side-menu {
            background: #1e1e1e;
            color: #f4f4f9;
        }

        .side-menu.open {
            left: 0;
        }

        .menu-header {
            background: linear-gradient(135deg, #6e8efb, #a777e3);
            padding: 1.25rem;
            color: white;
            display: flex;
            align-items: center;
            margin-bottom: 1.25rem;
        }
        body.dark-mode .menu-header {
            background: linear-gradient(135deg, #4a5bbf, #7d5ab8);
        }

        .menu-header img {
            width: 3.13rem;
            height: 3.13rem;
            border-radius: 50%;
            margin-right: 0.93rem;
            object-fit: cover;
            border: 0.13rem solid white;
        }

        .user-info h3 {
            font-size: 1rem;
            margin-bottom: 5px;
        }

        .user-info p {
            font-size: 0.88rem;
            opacity: 0.8;
        }

        .menu-items {
            flex: 1;
            overflow-y: auto;
        }

        .menu-item {
            padding: 0.94rem 1.55rem;
            display: flex;
            align-items: center;
            color: #555;
            text-decoration: none;
            transition: all 0.2s;
        }

        body.dark-mode .menu-item {
            color: #ccc;
        }

        .menu-item:hover {
            background-color: #f0f0f0;
            color: #6e8efb;
        }

        body.dark-mode .menu-item:hover {
            background-color: #333;
            color: #8da1ff;
        }

        .menu-item.active {
            background-color: #e6e9ff;
            color: #6e8efb;
            border-left: 0.25rem solid #6e8efb;
        }

        body.dark-mode .menu-item.active {
            background-color: #2a2a4a;
            color: #8da1ff;
            border-left: 0.25rem solid #8da1ff;
        }

        .menu-item i {
            margin-right: 0.94rem;
            font-size: 1.25rem;
        }

        .menu-footer {
            padding: 0.94rem;
            border-top: 0.06rem solid #eee;
            text-align: center;
            font-size: 0.75rem;
            color: #999;
        }

        body.dark-mode .menu-footer {
            border-top: 0.06rem solid #444;
            color: #777;
        }

    
    /* Overlay */
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 50;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease-in-out;
    }
    
    .overlay.active {
      opacity: 1;
      pointer-events: all;
    }
    
    /* Main Content */
    .main-content {
      padding: 5rem 0.1rem 1rem;
      min-height: calc(100vh - 3.75rem);
    }
    
    .dashboard {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
      padding: 20px;
      box-sizing: border-box;
    }

    .card {
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      padding: 20px;
      display: flex;
      flex-direction: column;
    }
    
    .card h2 {
      margin-top: 0;
      font-size: 1.5em;
      color: #555;
    }
    
    .dark-mode .card h2 {
      color: #ddd;
    }
    
    .dark-mode .card {
      background-color: #444;
      color: #fff;
    }
    
    .iframe-slider h2 {
      margin-top: 0;
      font-size: 1.5em;
      color: #555;
    }
    
    .dark-mode .iframe-slider h2 {
      color: #ddd;
    }
    
    .iframe-container {
      position: relative;
      width: 100%;
      padding-bottom: 75%;
      overflow: hidden;
      border-radius: 4px;
    }
    
    .iframe-container iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: none;
    }
    
    /* Iframe Slider */
    .iframe-slider-container {
      margin-top: 10px;
      overflow: hidden;
      position: relative;
    }
  
    .iframe-slider {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      padding: 10px 20px;
    }
    
    .iframe-slide {
      min-width: 90%;
      flex-shrink: 0;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      height: 300px;
      padding: 0 20px;
      box-sizing: border-box;
    }
    
    .dark-mode .iframe-slide {
      background-color: #444;
      color: #fff;
    }

    .iframe-slide iframe {
      width: 100%;
      height: 100%;
      border: none;
    }
    
    /* Dark Mode Toggle Button */
    .mode-toggle {
      position: fixed;
      top: 20px;
      right: 20px;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background-color: #333;
      color: #fff;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      transition: background-color 0.3s, transform 0.3s;
      z-index: 100;
    }
    
    .mode-toggle.light {
      background-color: #f4f4f9;
      color: #333;
    }
    
    .mode-toggle:hover {
      transform: scale(1.1);
    }
    
    /* Swipe for more text */
    .swipe-text {
      text-align: center;
      margin-top: 10px;
      font-size: 0.8em;
      color: #777;
    }
    
    .dark-mode .swipe-text {
      color: #aaa;
    }
    
    @media (max-width: 768px) {
      .dashboard {
        grid-template-columns: 1fr;
      }
    }
    
    @media (max-width: 480px) {
      .header {
        height: 3.5rem;
        padding: 0.5rem;
      }
      
      .app-title {
        font-size: 1rem;
      }
      
      .side-menu {
        width: 15.63rem;
        left: -15.63rem;
      }
    } 
