:root {
  --black: #1c1c1c;
  --gold: #FFD700;
  --white: #ffffff;
  --gray: #2c2c2c;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
}

/* Sidebar */
.sidebar {
  width: 250px;
  background-color: rgb(37, 37, 37);
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  transition: transform 0.3s ease;
  height: 100vh;
  overflow-y: auto;
}

.sidebar::-webkit-scrollbar {
  display: none;
}

.sidebar {
  -ms-overflow-style: none;  /* For Internet Explorer and Edge */
}

.add-btn{
  color: black;
  font-size: 18px;
  font-weight: bold;
  padding: 10px 20px;
  text-align: center;
  margin-bottom: 20px;
  cursor: pointer;
  border-radius: 10px;
  border: none;
  border: solid rgba(0, 0, 0, 0);
  background-color: var(--gold);
  transition: background-color 0.3s ease;
}

.add-btn:hover{
  background-color: black;
  color: #FFD700;
  border: solid #FFD700;
}

.close-btn {
  display: none;
  color: var(--gold);
  font-size: 24px;
  text-align: right;
  margin-bottom: 20px;
  cursor: pointer;
}

.sidebar .logo {
  margin-bottom: 40px;
}

.logo h1 {
  font-size: 24px;
  color: var(--gold);
}

.logo p {
  font-size: 13px;
  color: #aaa;
}

.nav a {
  color: #ccc;
  text-decoration: none;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  margin-bottom: 10px;
  transition: background 0.3s, color 0.3s;
  cursor: pointer;
}

.nav a i {
  margin-right: 10px;
}

.nav a:hover,
.nav a.active {
  background-color: var(--gold);
  color: var(--black);
}

/* Main Content */
.main-content {
  margin-left: 250px;
  padding: 30px;
  background-color: var(--black);
  color: var(--white);
  transition: margin-left 0.3s ease;
  min-height: 100vh;
}

.header {
  font-size: 22px;
  margin: 40px 0 25px;
  font-weight: bold;
  color: var(--gold);
}

/* Cards */
.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.card {
  background-color: var(--gray);
  color: var(--white);
  padding: 18px 20px;
  border-radius: 12px;
  flex: 1;
  min-width: 220px;
  max-width: 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
  border-left: 5px solid var(--gold);
}

.card h4 {
  color: var(--gold);
  margin-bottom: 8px;
}

.card p.value {
  font-size: 30px;
  color: var(--gold);
  font-weight: bold;
}

.card p.desc {
  font-size: 14px;
  color: #ccc;
}

/* Chart container */
.chart-container {
  border-radius: 12px;
  padding: 20px;
}

.chart-container h3 {
  color: var(--gold);
  margin-bottom: 10px;
}

canvas {
  background-color: var(--black);
  width: 100% !important;
  height: auto !important;
}

/* Hamburger menu (for small screens) */
.hamburger {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  font-size: 28px;
  color: var(--gold);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

table {
  border-collapse: collapse;
  background: #111;
  box-shadow: 0 0 10px #FFD700;
  margin-right: 2%;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

th {
  background-color: gold;
  color: #000;
  font-weight: bold;
  text-align: center;
  padding: 12px;
  border: 1px solid #FFD700;
}

td {
  padding: 12px;
  border: 1px solid #FFD700;
}

tr:nth-child(even) {
  background-color: #1c1c1c;
}

.edit-btn {
  background-color: #FFD700;
  color: #1c1c1c;
  padding: 4px 12px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
  border: solid #FFD700;
  transition: background-color 0.3s ease;
}

.edit-btn:hover {
  background-color: black;
  color: #FFD700;
  border: solid #FFD700;
}

img {
  width: 80px;
  height: 80px;
  border: 1px solid #FFD700;
  border-radius: 6px;
}

.center-content {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2%;
}

.select-style {
  width: 70%;
  padding: 5px;
  border: 1px solid #ffd700;
  background-color: #000;
  color: #ffd700;
  border-radius: 6px;
}

/* Overlay */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Popup Box */
.popup-box {
  background: var(--black);
  padding: 30px 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease-in-out;
  box-shadow: 0 0 10px #FFD700;
}

.popup-box h2 {
  margin-top: 0;
  font-size: 22px;
  color: white;
  text-align: center;
}

.popup-box input,
.popup-box textarea {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

.popup-box select {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #ccc;
  background-color: #000;
  color: #ffd700;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

/* Submit Button */
.popup-box button[type="submit"] {
  background-color: var(--gold);
  color: var(--black);
  padding: 10px;
  width: 100%;
  border: solid rgba(0, 0, 0, 0);
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.popup-box button:hover {
  background-color: var(--black);
  color: var(--gold);
  border: solid #FFD700;
}

/* Close Button */
#closeForm {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  color: white;
  transition: color 0.2s ease;
}

#closeForm:hover {
  color: #FFD700; 
}

.reservation-form {
  display: grid;
  gap: 15px;
  max-width: 400px;
  margin: auto;
}

.reservation-form input {
  padding: 10px;
  border: none;
  font-size: 16px;
  border-radius: 5px;
}

.reservation-form input {
  background-color: #333;
  /* Dark grey */
  color: #fff;
}

.reservation-form input::placeholder {
  color: #ccc;
}

/* Admin Profile Styling */

.heading {
  font-size: 20px;
  font-weight: bolder;
  color: #FFD700;
  margin: 15px 0px 5px 0px;
}

.values {
  margin-left: 8%;
}

.edit-icon {
  cursor: pointer;
  margin-left: 20px;
}

/* Optional: fade-in animation */
@keyframes fadeIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}



/* Responsive styles */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    width: 250px;
    padding-top: 20px;
    position: fixed !important;
    top: 0;
    bottom: 0;
    left: 0;
    background-color: var(--black);
    z-index: 1200;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .close-btn {
    display: block;
    margin-right: 10px;
  }

  .hamburger {
    display: block !important;
  }

  .main-content {
    margin-left: 0 !important;
    padding: 20px;
  }
}