/* ================= GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #f4f7f6;
  display: flex;
}

a {
  text-decoration: none !important;
}

/* ================= 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; /* ← clean white sidebar */
  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;
  z-index: 0;
}

.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; /* blue text */
  cursor: pointer;
  border-bottom: 1px solid #e5e5e5;
  transition: 0.2s;
  font-weight: 600;
}

.menu-btn:hover {
  background: #e9f3ff; /* light blue hover */
}

.submenu {
  display: none;
  background: #f4faff; /* very light blue */
}

.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;
}

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

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

/* ================= MAIN CONTENT ================= */
.main {
    margin-left: 20px;
    padding: 8px;
    width: calc(100% - 50px);
    margin-top: 50px;
    position: relative;
    z-index: 5;
    transition: 0.3s;
}

/* ================= FORM CONTAINER ================= */
.container {
  background: white;
  padding: 30px;
  width: 95%;
  margin: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #007bff; /* blue heading */
}

form label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #333;
}

form input,
select {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* ================= BUTTONS ================= */
button {
  margin-top: 20px;
  padding: 10px 18px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  font-size: 15px;
}

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

.back-btn {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 18px;
  background: #007bff;
  color: white;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: 0.3s;
}

.back-btn:hover {
  background: #006ae6;
}
