
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Full viewport height */
  background-color: #f4f4f4; /* Optional background */
}

    .login-box {
      background: #fff;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 0 10px #aaa;
      width: 300px;
      
      justify-content: center;
      align-items: center;
    }

    .login-box h2 {
      text-align: center;
    }

    .login-box input {
      width: 100%;
      margin: 11px 0;
      padding: 12px;
    }

    .login-box button {
      width: 74%;
      background: #333;
      color: white;
      padding: 10px;
      border: none;
      margin-left: 2rem;
    }

    .error {
      color: red;
      text-align: center;
      margin-bottom: 10px;
    }


     * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }


    .admin-container {
      display: flex;
      min-height: 100vh;
    }

    .sidebar {
      width: 240px;
      background-color: #ee7000;
       /* Add Flexbox */
 
 
  align-items: center;     /* Center horizontally */
  justify-content: center; /* Center vertically */
          /* Take full height of viewport */
  text-align: center;
      color: #ecf0f1;
      flex-shrink: 0;
      padding-top: 20px;
      transition: transform 0.3s ease;
    }

    .sidebar h2 {
      text-align: center;
      margin-bottom: 30px;
      font-size: 1.5em;
    }

    .sidebar a {
      display: block;
      color: white;
      padding: 12px 20px;
      font-size: 19px;
      text-decoration: none;
    }

    .sidebar a:hover {
      background-color: #ee7000;
      
    }

    .content {
      flex: 1;
      padding: 20px;
      background-color: white;
    }

    .mobile-toggle {
      display: none;
      background-color: #ee7000;
      color: white;
      padding: 10px 20px;
      font-size: 18px;
      border: none;
       width: 167%;
      text-align: left;
    }

    .dashboard-center {
  display: flex;
  flex-direction: column;
  align-items: center;     /* horizontal center */
  justify-content: center; /* vertical center */
  height: 100vh;
  text-align: center;
  font-size: 30px;
}


    /* Responsive: Hide sidebar initially on small screens */
    @media (max-width: 768px) {
      .admin-container {
        flex-direction: column;
      }

      .sidebar {
        transform: translateX(-100%);
        position: absolute;
        height: 100%;
        z-index: 1000;
      }

      .sidebar.active {
        transform: translateX(0);
      }

      .mobile-toggle {
        display: block;
      }
    }

  table.admin-table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    background-color: #fff;
    font-family: Arial, sans-serif;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  }

  .admin-table th, .admin-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: center;
    vertical-align: top;
  }

  .admin-table thead {
    background-color: #ee7000;
    color: #fff;
  }

  .admin-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
  }

  .admin-table tbody tr:hover {
    background-color: #f1f1f1;
  }

  .admin-table th {
    font-weight: bold;
  }

  /* Specific rule for Review column */
  .admin-table td:last-child {
    max-width: 200px;
    word-wrap: break-word;
    white-space: normal;
    text-align: left;
  }
   .left-form {
    margin-left: 10%;
    width: fit-content;
  }

  .input-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .input-row input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  .button-row {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
  }

  .button-row button,
  .button-row a {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
  }

  .button-row button {
    background-color: #d4af37;
  }

  .button-row a {
    background-color: #bb3c2e;
  }

 /* MOBILE ONLY CHANGES */
@media (max-width: 600px) {
  .input-row {
    flex-direction: row;        /* force one line */
    flex-wrap: wrap;            /* allow wrapping if screen too small */
    justify-content: center;    /* center items */
    gap: 10px;                  /* spacing between inputs */
  }

  .input-row input {
    flex: 1 1 30%;              /* make inputs flexible */
    min-width: 100px;           /* avoid too narrow inputs */
    max-width: 33%;             /* roughly one-third each */
  }

  .button-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
  }

  .button-row button,
  .button-row a {
    padding: 8px 16px;
    font-size: 14px;
  }
}
.toggle-review-btn {
    display: inline-block;
    margin-top: 5px;
    background-color: #d4af37;
    color: white;
    padding: 3px 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    text-decoration: none;
  }

  .toggle-review-btn:hover {
    background-color: #b9982f;
  }