/* ================= GLOBAL ================= */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f4f7f9;
  margin: 0;
  padding: 0;
  display: flex;
}

a {
  text-decoration: none !important;
  color: #007bff;
}

/* ================= NAVBAR ================= */
.navbar {
  width: 100%;
  height: 60px;
  background-color: #007bff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  position: fixed;
  top: 0;
  left: 0;
  color: white;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-logo {
  height: 80px;
  filter: brightness(0) invert(1);
}

.toggle-btn {
  font-size: 26px;
  cursor: pointer;
}

/* ================= SIDEBAR ================= */
.sidebar {
  width: 250px;
  background: white;
  height: calc(100vh - 60px);
  position: fixed;
  top: 60px;
  left: 0;
  padding-top: 20px;
  overflow-y: auto;
  border-right: 1px solid #d6d6d6;
  display: flex;
  flex-direction: column;
}

.sidebar.hide {
  left: -250px;
}

.menu-items {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
}

.menu-btn {
  padding: 14px 20px;
  font-size: 17px;
  color: #007bff;
  cursor: pointer;
  border-bottom: 1px solid #e5e5e5;
  transition: 0.2s;
  font-weight: 600;
}

.menu-btn:hover {
  background: #e9f3ff;
}

.submenu {
  display: none;
  background: #f4faff;
}

.submenu a {
  display: block;
  padding: 12px 35px;
  color: #0056b3;
  border-bottom: 1px solid #e2eaff;
  transition: 0.2s;
}

.submenu a:hover {
  background: #e9f3ff;
}

.sidebar-logout {
  margin-top: auto;
  padding: 10px 16px;
  background: #007bff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  transition: 0.2s;
}

.sidebar-logout:hover {
  background: #006ae6;
}

.logout-icon {
  width: 22px;
  height: 22px;
}

/* ================= MAIN ================= */
.main {
  margin-left: 260px;
  margin-top: 80px;
  padding: 30px;
  width: calc(100% - 260px);
}

.container {
  max-width: 600px;
  margin: auto;
  background: #fff;
  padding: 35px 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

h2 {
  color: #2c3e50;
  margin-bottom: 25px;
  font-weight: 600;
}

/* ================= FORM ELEMENTS ================= */
label {
  font-weight: 600;
  display: block;
  margin-top: 10px;
  color: #333;
}

select {
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  max-width: 250px;
  margin-top: 8px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  transition: 0.2s;
}

select:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
  outline: none;
}

/* ================= BUTTONS ================= */
button {
  margin-top: 25px;
  padding: 12px 25px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: 0.2s;
}

button:hover {
  background-color: #0069d9;
}

/* Optional: responsive adjustments */
@media (max-width: 768px) {
  .main {
    margin-left: 0;
    width: 100%;
    padding: 20px;
  }

  select {
    max-width: 100%;
  }
}
