* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.admin-wrap {
  display: flex;
  min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
  width: 260px;
  min-height: 100vh;
  background: #0b0b0b;
  padding: 30px 20px;
  position: fixed;
  left: 0;
  top: 0;
  overflow-y: auto;
}

.sidebar h2 {
  font-size: 30px;
  margin-bottom: 35px;
  color: #fff;
}

.sidebar button {
  width: 100%;
  padding: 15px 18px;
  margin-bottom: 14px;
  border: none;
  border-radius: 14px;
  background: #161616;
  color: #fff;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  transition: 0.25s ease;
}

.sidebar button:hover {
  background: #232323;
}

.sidebar button.active {
  background: linear-gradient(135deg, orange, #ff9900);
  color: #000;
  font-weight: 700;
}

.sidebar-bottom {
  margin-top: 40px;
}

#homeBtn {
  background: #222;
  color: #fff;
}

#logoutBtn {
  background: linear-gradient(135deg, #ff3b3b, #d90000);
  color: #fff;
}

/* MAIN */
.main {
  margin-left: 260px;
  width: calc(100% - 260px);
  min-height: 100vh;
  padding: 50px;
}

/* LOGIN */
.login-view {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 120px;
}

.login-card {
  width: 100%;
  max-width: 430px;
}

.login-card h1 {
  margin-bottom: 24px;
  text-align: center;
  font-size: 34px;
}

#loginMessage {
  margin-top: 15px;
  text-align: center;
  color: orange;
}

/* PANELS */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.hidden {
  display: none !important;
}

h1 {
  margin-bottom: 25px;
  font-size: 34px;
}

/* DASHBOARD */
#statsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.stat {
  background: #111;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid #222;
}

.stat h3 {
  margin-bottom: 10px;
  font-size: 15px;
  color: #aaa;
}

.stat p {
  font-size: 30px;
  color: orange;
  font-weight: 700;
}

/* FORM */
.card-form {
  background: #111;
  padding: 25px;
  border-radius: 18px;
  border: 1px solid #222;
  max-width: 750px;
  margin-bottom: 28px;
}

.card-form input,
.card-form textarea,
.card-form select {
  width: 100%;
  padding: 13px 14px;
  margin-bottom: 12px;
  border-radius: 12px;
  border: 1px solid #262626;
  background: #1a1a1a;
  color: #fff;
  outline: none;
  font-family: 'Poppins', sans-serif;
}

.card-form textarea {
  min-height: 120px;
  resize: vertical;
}

.card-form input:focus,
.card-form textarea:focus,
.card-form select:focus {
  border-color: orange;
}

.card-form button {
  width: 100%;
  background: linear-gradient(135deg, orange, #ff9900);
  border: none;
  padding: 13px;
  border-radius: 12px;
  color: #000;
  font-weight: 700;
  cursor: pointer;
}

/* LIST */
#packageList,
#categoryList,
#mediaList,
#bookingList,
#feedbackAdminList {
  margin-top: 25px;
}

/* ADMIN ITEM FIX */
.admin-item {
  background: #111;
  border: 1px solid #242424;
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 18px;
  max-width: 780px;
}

.admin-item h3 {
  font-size: 20px;
  color: #eaeaea;
  margin-bottom: 12px;
}

.admin-item p {
  font-size: 15px;
  color: #ccc;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 6px;
}

.admin-item img {
  max-width: 260px;
  height: auto;
  display: block;
  border-radius: 14px;
  margin: 14px 0;
}

.admin-item video {
  max-width: 320px;
  border-radius: 14px;
  margin: 14px 0;
}

.admin-item button {
  width: auto;
  padding: 9px 16px;
  border: none;
  border-radius: 10px;
  background: #ff9900;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 8px;
  margin-top: 8px;
}

.admin-item button:hover {
  background: #ffb12b;
}

.delete-btn {
  background: #ff2b2b !important;
  color: #fff !important;
}

/* RESPONSIVE */
@media (max-width: 850px) {
  .admin-wrap {
    flex-direction: column;
  }

  .sidebar {
    position: relative;
    width: 100%;
    min-height: auto;
  }

  .main {
    margin-left: 0;
    width: 100%;
    padding: 25px;
  }

  .login-view {
    padding-top: 70px;
  }
}
/* SIDEBAR FIX */
.sidebar {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.sidebar-bottom {
  margin-top: auto;
  padding-top: 20px;
}

/* ADMIN TABLE */
.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: #111;
  border: 1px solid #242424;
  border-radius: 18px;
  padding: 14px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #252525;
  text-align: left;
  font-size: 14px;
  color: #ddd;
  vertical-align: top;
}

.admin-table th {
  color: #fff;
  background: #181818;
  font-weight: 700;
}

.admin-table tr:hover {
  background: #161616;
}

.table-delete-btn {
  padding: 8px 14px;
  border: none;
  border-radius: 9px;
  background: #ff2b2b;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
/* TABLE STYLE FOR ADMIN */
.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: #111;
  border: 1px solid #242424;
  border-radius: 18px;
  padding: 14px;
  margin-top: 20px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.admin-table th,
.admin-table td {
  padding: 13px 15px;
  border-bottom: 1px solid #292929;
  text-align: left;
  font-size: 14px;
  color: #ddd;
  vertical-align: middle;
}

.admin-table th {
  background: #181818;
  color: #fff;
  font-weight: 700;
}

.admin-table tr:hover {
  background: #171717;
}

.table-img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border-radius: 10px;
}

.table-video {
  width: 120px;
  border-radius: 10px;
}

.table-delete-btn,
.table-approve-btn {
  padding: 8px 13px;
  border: none;
  border-radius: 9px;
  font-weight: 700;
  cursor: pointer;
  margin-right: 6px;
}

.table-delete-btn {
  background: #ff2b2b;
  color: white;
}

.table-approve-btn {
  background: orange;
  color: black;
}