    * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    }
    body {
    display: flex;
    background: linear-gradient(180deg, #001f33, #004c80, #33b2ff);
    color: #fff;
    min-height: 100vh;
    }

    /* Sidebar */
    .sidebar {
  width: 240px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ✅ Only Logo Image */
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: -60px;
  margin-bottom: 30px;
}

.logo img {
  width: 120px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
}

/* ✅ Menu Styling */
.menu {
  list-style: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

.menu li {
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* Make <a> fill the li and look consistent */
.menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #33b2ff;
  text-decoration: none;
  padding: 12px 15px;
  opacity: 0.8;
  transition: all 0.3s ease;
  border-radius: 8px;
}

/* Hover and active effects */
.menu li a:hover,
.menu li.active a {
  color: #fff;
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

/* ✅ Main Content Area */
.main-content {
  flex: 1;
  padding: 20px 40px;
}

    header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 30px;
    }

    .header-icons {
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
    }

    /* Notification */
    .notification-container {
    position: relative;
    cursor: pointer;
    }

    .notification-icon {
    font-size: 20px;
    color: #33b2ff;
    transition: color 0.3s ease;
    }

    .notification-container:hover .notification-icon {
    color: #0d8adb;
    }

    .badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: red;
    color: #fff;
    font-size: 10px;
    border-radius: 50%;
    padding: 2px 6px;
    }

    /* Dropdown */
    .notification-dropdown {
    display: none;
    position: absolute;
    top: 35px;
    right: 0;
    background: #fff;
    color: #333;
    width: 260px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 12px;
    z-index: 100;
    }

    .notification-dropdown.active {
    display: block;
    }

    .notification-dropdown h4 {
    font-size: 14px;
    color: #33b2ff;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    }

    .notification-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
    }

    .notification-dropdown li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 8px;
    }

    .remove-btn {
    background: #33b2ff;
    color: #fff;
    border: none;
    padding: 3px 6px;
    font-size: 11px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    }

    .remove-btn:hover {
    background: #0d8adb;
    }

    /* Profile */
    .user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 500;
    }

    .user-profile img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #33b2ff;
    }


    .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    }

    .logo img {
    width: 120px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
    }

    /* Cards */
    .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    }

    .card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(10px);
    color: #fff;
    }

    .card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    }

    .card i {
    font-size: 2em;
    color: #33b2ff;
    background: rgba(51, 178, 255, 0.1);
    padding: 12px;
    border-radius: 50%;
    }

    .card-info h3 {
    font-size: 1.6em;
    margin-bottom: 4px;
    }

    .card-info p {
    font-size: 0.9em;
    opacity: 0.8;
    }

    /* Charts */
    .charts {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
    }
    .chart-box {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    }

    /* World Map and Storage */
    .info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
    }
    .map-box {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    }
    .map-box {
    position: relative;
    width: 100%;
    margin: 10px 0;
    border-radius: 8px;
    overflow: hidden;
    }

    .map-box img {
    width: 100%;
    display: block;
    border-radius: 8px;
    }

    /* 🌍 Overlay country list */
    .country-list {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5); /* transparent black overlay */
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
    }

    .country-list p {
    font-size: 0.9em;
    margin: 4px 0;
    color: #33b2ff; /* sky blue accent text */
    }

    .device-storage {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    }
    .storage-bar {
    margin: 15px 0;
    }
    .bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    margin: 5px 0;
    }
    .fill {
    height: 100%;
    border-radius: 6px;
    }

    /* Reviews */
    .reviews {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    }
    .review {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0;
    }
    .review img {
    width: 40px;
    border-radius: 50%;
    margin-right: 10px;
    }
    .review div {
    flex: 1;
    }
    .stars {
    color: gold;
    }

    /* Table */
    .table-section {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    }
    table {
    width: 100%;
    border-collapse: collapse;
    }
    th, td {
    padding: 12px;
    text-align: left;
    }
    th {
    background: rgba(255, 255, 255, 0.1);
    }
    tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.05);
    }
    .status {
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.85em;
    }
    .status.in-progress { background: #ffb400; }
    .status.completed { background: #28c76f; }
    .status.cancelled { background: #ea5455; }


.table-section {
  margin-top: 20px;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.add-btn {
  background: #33b2ff;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.3s;
}

.add-btn:hover {
  background: #1a8ed6;
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.product-table th, .product-table td {
  padding: 12px 15px;
  text-align: left;
  color: #fff;
  vertical-align: middle;
}

.product-table th {
  background: #33b2ff;
}

.product-table img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.2);
}

.edit-btn, .delete-btn, .save-btn, .cancel-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: 0.3s;
}

.edit-btn i { color: #33b2ff; }
.delete-btn i { color: #ff4d4d; }
.save-btn i { color: #00c851; }
.cancel-btn i { color: #ffbb33; }

.edit-btn:hover, .save-btn:hover, .cancel-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.delete-btn:hover {
  background: rgba(255, 77, 77, 0.1);
}

.product-table input {
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 5px;
  color: #fff;
  padding: 6px;
  outline: none;
}

/* Profile Page */
.profile-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
}

.profile-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  color: #fff;
  width: 350px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #33b2ff;
  margin-bottom: 15px;
}

.profile-info {
  text-align: left;
  margin-top: 20px;
}

.profile-info p {
  margin: 10px 0;
  font-size: 15px;
}

.profile-info i {
  color: #33b2ff;
  margin-right: 8px;
}

.edit-profile-btn {
  background: #33b2ff;
  border: none;
  padding: 10px 20px;
  color: white;
  border-radius: 8px;
  margin-top: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.edit-profile-btn:hover {
  background: #1a8ed6;
}


/* Home Button */
.home-btn {
  margin-right: 20px;
}

.home-btn a {
  color: #33b2ff;
  background: #e6f6ff;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 18px;
  transition: all 0.3s ease;
}

.home-btn a:hover {
  background: #33b2ff;
  color: #fff;
  box-shadow: 0 4px 10px rgba(51, 178, 255, 0.4);
}


/* 📱 Tablet and Mobile Screens */
@media (max-width: 992px) {

  body {
    flex-direction: column;
  }

  /* Sidebar collapses on top */
  .sidebar {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    padding: 10px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
  }

  .logo {
    margin: 0;
  }

  .logo img {
    width: 100px;
    height: 40px;
  }

  .menu {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .menu li a {
    padding: 8px 10px;
    font-size: 14px;
  }

  /* Push content below sidebar */
  .main-content {
    padding: 100px 20px 30px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .header-icons {
    justify-content: flex-start;
    gap: 15px;
  }

  .notification-dropdown {
    right: auto;
    left: 0;
    width: 90%;
  }

  /* Cards */
  .cards {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  /* Charts */
  .charts {
    grid-template-columns: 1fr;
  }

  /* Info grid */
  .info-grid {
    grid-template-columns: 1fr;
  }

  /* Tables */
  .table-section {
    overflow-x: auto;
  }

  .product-table {
    min-width: 600px;
  }

  /* Profile Section */
  .profile-section {
    flex-direction: column;
    padding: 20px;
  }

  .profile-card {
    width: 90%;
    margin: 20px auto;
  }
}

/* 📱 Small Mobile Screens */
@media (max-width: 600px) {
  body {
    font-size: 14px;
  }

  .sidebar {
    flex-wrap: wrap;
    padding: 8px;
  }

  .menu {
    flex-wrap: wrap;
    gap: 6px;
  }

  .menu li a {
    font-size: 13px;
    padding: 6px 8px;
  }

  .header-icons {
    gap: 12px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    flex-direction: column;
    text-align: center;
  }

  .card i {
    font-size: 1.8em;
  }

  .card-info h3 {
    font-size: 1.3em;
  }

  .charts,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .map-box img {
    border-radius: 10px;
  }

  .product-table th,
  .product-table td {
    font-size: 13px;
    padding: 10px 12px;
  }

     .notification-dropdown {
    display: none;
    position: absolute;
    top: 35px;
    right: 0;
    background: #fff;
    color: #333;
    width: 260px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 12px;
    z-index: 100;
    }

    .notification-dropdown.active {
    display: block;
    }

    .notification-dropdown h4 {
    font-size: 14px;
    color: #33b2ff;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    }

    .notification-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
    }

    .notification-dropdown li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 8px;
    }


  .profile-card {
    width: 100%;
    padding: 20px;
  }

  .profile-info p {
    font-size: 14px;
  }

  .edit-profile-btn {
    width: 100%;
  }




  .main-content {
  padding: 130px 40px;
}
  .home-btn a {
    font-size: 16px;
    padding: 8px 10px;
  }
}


