  body {
      background: #1b1b1b;
  }

  button {
      border: none !important;
  }

  .app-header {
      background: #ffffff;
      color: white;
      padding: 10px 16px;
      position: fixed;
      top: 0;
      bottom: 0;
      left: 0;
      transition: left .35s ease;
      z-index: 1050;
  }

  .logo {
      width: 50px;
  }

  .logo i {
      color: black;
  }

  .icons {
      font-size: 24px;
      color: black;
  }

  body.sidenav-open .app-header {
      left: 300px;
  }

  .sidenav {
      position: fixed;
      top: 0;
      bottom: 0;
      width: 300px;
      left: -320px;
      background: #0f0f0f;
      box-shadow: 4px 0 12px rgba(0, 0, 0, 0.08);
      z-index: 1040;
      transition: left .35s ease;
      padding: 20px;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
  }

  .footer {
      height: fit-content;
      margin-top: auto;
      color: white;
  }

  .sidenav.open {
      left: 0;
  }

  .sidenav .nav-link {
      opacity: 0;
      color: #ffffff;
      transform: translateY(20px);
      transition: all .35s ease;
  }

  .sidenav.open .nav-link {
      opacity: 1;
      transform: translateY(0);
  }

  .overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.45);
      z-index: 1030;
      display: none;
  }

  .overlay.show {
      display: block;
  }

  .meals-grid img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      border-radius: 6px;
  }

  .meal-card {
      cursor: pointer;
  }

  .meal-details-container {
      padding: 20px;
      color: #fff;
  }

  .meal-details-container h2 {
      font-size: 2rem;
      margin-bottom: 20px;
      color: #fff;
  }

  .meal-details-container h5 {
      margin-top: 20px;
      margin-bottom: 15px;
      color: #fff;
      font-weight: 600;
  }

  .meal-details-container ul {
      list-style: none;
      color: #ddd;
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
  }

  .meal-details-container ul li {
      padding: 10px 7px;
      border-radius: 10px;
      background-color: #cff5fd;
      color: #000;

  }

  .meal-details-container p {
      color: #ddd;
      line-height: 1.6;
  }

  .meal-details-container img {
      max-width: 100%;
      border-radius: 8px;
  }

  .loader {
      display: none;
  }

  .card-overlay {
      position: absolute;
      top: 0;
      right: 0;
      left: 0;
      bottom: 0;
      opacity: 0;
      background-color: #ffffffc7;
      text-align: center;
      transition: opacity 0.5s;

  }

  .card:hover .card-overlay {
      opacity: 1;
  }

  .search-panel input {
      border: 1px solid #444 !important;
      padding: 12px;
      background-color: #0e0e0e !important;
      color: white !important;
  }

  #searchResults img {
      height: 180px;
      object-fit: cover;
  }

  #searchResults .card {
      background: #1a1a1a !important;
      border: none;
      position: relative;
      overflow: hidden;
  }

  #searchResults .card-overlay {
      opacity: 0;
      background-color: #ffffffc7;
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      transition: opacity 0.5s;
      text-align: center;
  }

  #searchResults .card:hover .card-overlay {
      opacity: 1;
  }

  #searchByNameInput::placeholder,
  #searchByLetterInput::placeholder {
      color: #6c756f !important;
      opacity: 1 !important;
  }

  /* Categories panel styling */
  .categories-grid .cat-card {
      background: #0f0f0f;
      border: 1px solid #222;
      color: #fff;
      padding: 12px;
      border-radius: 10px;
      cursor: pointer;
      transition: transform .2s ease, box-shadow .2s ease;
      overflow: hidden;
      position: relative;
  }

  .categories-grid .cat-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  }

  .categories-grid .cat-card img {
      height: 200px;
      width: 100%;
      object-fit: cover;
      border-radius: 8px;
  }

  .cat-info {
      padding: 10px;
  }

  .cat-info h5 {
      margin: 0;
      font-weight: 600;
  }

  /* Areas panel styling */
  .areas-grid .area-card {
      background: #0f0f0f;
      border: 1px solid #222;
      color: #fff;
      padding: 12px;
      border-radius: 10px;
      cursor: pointer;
      transition: transform .18s ease, box-shadow .18s ease;
      display: flex;
      align-items: center;
      gap: 12px;
      overflow: hidden;
  }

  .areas-grid .area-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 26px rgba(0, 0, 0, 0.6);
  }

  .area-thumb {
      width: 84px;
      height: 84px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      background: linear-gradient(180deg, #111, #1a1a1a);
      flex-shrink: 0;
      font-weight: 700;
      font-size: 18px;
      color: #fff;
  }

  .area-info h5 {
      margin: 0;
      font-weight: 600;
      font-size: 16px;
  }

  .area-info p {
      margin: 0;
      font-size: 13px;
      color: #bbb;
  }

  /* Ingredients panel styling */
  .ingredients-grid .ing-card {
      background: #0f0f0f;
      border: 1px solid #222;
      color: #fff;
      padding: 10px;
      border-radius: 10px;
      cursor: pointer;
      transition: transform .18s ease, box-shadow .18s ease;
      display: flex;
      align-items: center;
      gap: 12px;
      overflow: hidden;
  }

  .ingredients-grid .ing-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 26px rgba(0, 0, 0, 0.6);
  }

  .ing-thumb {
      width: 84px;
      height: 84px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(180deg, #0c0c0c, #161616);
      flex-shrink: 0;
  }

  .ing-thumb img {
      max-width: 72px;
      max-height: 72px;
      object-fit: contain;
  }

  .ing-info h5 {
      margin: 0;
      font-weight: 600;
      font-size: 16px;
  }

  .ing-info p {
      margin: 0;
      font-size: 13px;
      color: #bbb;
  }

  /* Contact form tweaks */
  #contactForm .form-control {
      border: 1px solid #ddd !important;
      background: #ffffff !important;
      color: #000 !important;
      width: 100% !important;
  }

  #contactForm .form-control::placeholder {
      color: #999 !important;
  }

  #contactForm .form-label {
      color: #333;
  }

  #contactResult {
      color: #d1ffd6;
  }

  /* valid/invalid visual helper */
  .is-invalid {
      border-color: #dc3545 !important;
      box-shadow: none !important;
  }

  .is-valid {
      border-color: #28a745 !important;
      box-shadow: none !important;
  }