   /*  body {
      margin: 0;
      height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: #0b0b0b; Softer dark background 
      font-family: Arial, sans-serif;
    }*/

  /* === LOGIN PAGE LAYOUT FIX === */
.login-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #000; /* soft black */
  padding: 1rem;
}

.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.login-container img {
  max-width: 220px;
  margin-bottom: 2rem;
}

.login-box {
  background-color: #f2aa01;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  width: 90%;
  max-width: 350px;
  text-align: center;
}


    .login-box input,
    .login-box button {
      width: 100%;
      box-sizing: border-box;
      padding: 0.75rem;
      margin: 0.5rem 0;
      border: none;
      border-radius: 8px;
      font-size: 1rem;
    }

    .login-box input::placeholder {
      color: #333;
    }

    .login-box button {
      background-color: #000; /* Black button */
      color: #f2aa01; /* Yellow text */
      font-weight: bold;
      cursor: pointer;
      transition: 0.3s;
    }

    .login-box button:hover {
      background-color: #333;
    }

    /* === GLOBAL BASE STYLES === */
body {
  margin: 0;
  min-height: 100vh;
  background-color: #0b0b0b;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #fff;
  display: flex;
  flex-direction: column;
}

/* Prevent header overlap or crop */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 3rem;
}

/* === HEADER === */
header {
  background-color: #f2aa01;
  color: #0b0b0b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  position: sticky;
  top: 0;
  z-index: 100;
}

header img {
  height: 55px;
  object-fit: contain;
}

.logout-btn {
  background: #0b0b0b;
  color: #f2aa01;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.logout-btn:hover {
  background: #333;
}

/* === PAGE CONTAINER === */

.page-title {
  color: #f2aa01;
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* === BUTTONS === */
.btn-primary {
  background-color: #f2aa01;
  color: #0b0b0b;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.btn-primary:hover {
  background-color: #ffbe1a;
}

.btn-secondary {
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
}
.btn-secondary:hover {
  background-color: #444;
}

/* === TABLE === */
.table-wrapper {
  overflow-x: auto;
  margin-top: 2rem;
}
.data-table {
  width: 100%;
  max-width: 900px;
  border-collapse: collapse;
  margin: 0 auto;
  background: #141414;
  border-radius: 12px;
  overflow: hidden;
}
.data-table th, .data-table td {
  padding: 1rem;
  text-align: left;
}
.data-table th {
  background-color: #f2aa01;
  color: #0b0b0b;
  font-weight: bold;
}
.data-table tr:nth-child(even) {
  background: #1b1b1b;
}

/* === MODAL === */
.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.modal-content {
  background: #111;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: left;
}
.modal-content h2 {
  color: #f2aa01;
  margin-bottom: 1rem;
}
.modal-content label {
  display: block;
  margin-top: 1rem;
  color: #fff;
}
.modal-content input,
.modal-content select {
  width: 100%;
  padding: 0.6rem;
  border-radius: 6px;
  border: none;
  margin-top: 0.3rem;
  background: #222;
  color: #fff;
}
.modal-actions {
  margin-top: 1.5rem;
  text-align: right;
}
/* EMPLOYEE TABLE IMAGE */
.emp-thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #f2aa01;
}
.no-photo {
  color: #777;
  font-style: italic;
}

/* TABLE BUTTONS */
.table-btn {
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.85rem;
}
.table-btn.edit {
  background-color: #f2aa01;
  color: #0b0b0b;
}
.table-btn.edit:hover {
  background-color: #ffbe1a;
}
.table-btn.delete {
  background-color: transparent;
  color: #f2aa01;
  margin-left: 6px;
}
.table-btn.delete:hover {
  text-decoration: underline;
}
/* === PAGE CONTAINER FIX === */
.page-container {
  padding: 2rem;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}


/* === EMPLOYEE PHOTO === */
.emp-thumb {
  width: 55px;
  height: 55px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid #f2aa01;
}
.no-photo {
  color: #777;
  font-style: italic;
}

/* === MODAL FIX === */
.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
}
.modal-content {
  background: #111;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: left;
}
.modal-content h2 {
  color: #f2aa01;
  margin-bottom: 1rem;
}
.modal-content label {
  display: block;
  margin-top: 1rem;
  color: #fff;
}
.modal-content input,
.modal-content select {
  width: 100%;
  padding: 0.6rem;
  border-radius: 6px;
  border: none;
  margin-top: 0.3rem;
  background: #222;
  color: #fff;
}
.modal-actions {
  margin-top: 1.5rem;
  text-align: right;
}

/* === BUTTONS === */
.btn-primary {
  background-color: #f2aa01;
  color: #0b0b0b;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.btn-primary:hover {
  background-color: #ffbe1a;
}
.btn-secondary {
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.2rem;
  cursor: pointer;
}
.btn-secondary:hover {
  background-color: #444;
}

/* === TABLE ACTION BUTTONS === */
.table-btn {
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.85rem;
}
.table-btn.edit {
  background-color: #f2aa01;
  color: #0b0b0b;
}
.table-btn.delete {
  color: #f2aa01;
  margin-left: 6px;
}

/* === MODERN RESPONSIVE TABLE === */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.data-table th,
.data-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  white-space: nowrap;
}

.data-table th {
  background: #f2aa01;
  color: #0b0b0b;
  font-weight: 700;
}

.data-table tr:nth-child(even) {
  background: #141414;
}

.data-table tr:hover {
  background: #222;
}

.emp-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

/* Mobile scroll fix */
@media (max-width: 800px) {
  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .data-table {
    min-width: 600px; /* ensures scroll instead of truncation */
  }
}

/* === LIGHTBOX VIEWER === */
.lightbox-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 85%;
  border: 4px solid #f2aa01;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.lightbox-overlay.active {
  display: flex;
  animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== SHOP DASHBOARD ===== */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.dashboard-card {
  background: #111;
  border-radius: 12px;
  padding: 24px;
  text-align: left;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 15px rgba(242,170,1,0.5);
}

.dashboard-card h2 {
  color: #f2aa01;
  margin-bottom: 10px;
}

.dashboard-card p {
  color: #ccc;
  font-size: 14px;
  margin-bottom: 16px;
}

.dashboard-link {
  color: #f2aa01;
  font-weight: bold;
  text-decoration: none;
}

.dashboard-link:hover {
  text-decoration: underline;
}

  .back-link {
    display:inline-block;
    margin-top:1rem;
    color:#f2aa01;
    text-decoration:none;
    font-weight:bold;
  }
  .back-link:hover {
    text-decoration:underline;
  }

  .page-container.wide {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0 auto;
}

.page-container.wide .sheet {
  width: 100%;
  max-width: 1200px;  /* You can increase this to 1300–1400px if you want even more space */
  margin: 2rem auto;
}