@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

body {
  background: #f7f6f4;
  font-family: "Montserrat", sans-serif;
}

/* Sidebar */
.sidebar {
  width: 230px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: #8b3f0a; /* brown background */
  display: flex;
  flex-direction: column;
  padding: 16px;
}

/* Logo */
/* Logo wrapper with white background */
.sidebar-logo {
  background: #ffffff;
  padding: 18px 10px;
  margin: -16px -16px 20px -16px; /* stretch full width */
  text-align: center;
  border-right: solid 1px rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Logo image */
.sidebar-logo-img {
  width: 140px;
}

.sidebar-menu li {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: 0.2s ease;
}

.menu-icon {
  width: 20px;
  filter: brightness(0) invert(1); /* white icons */
}

/* Active + Hover */
.sidebar-menu li.active,
.sidebar-menu li:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Left vertical indicator */
.sidebar-menu li.active::before,
.sidebar-menu li:hover::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 8px;
  height: calc(100% - 16px);
  width: 4px;
  background: #ffffff;
  border-radius: 4px;
}

.sidebar-menu {
  height: 100%;
}

.logout-btn {
  position: absolute !important;
  bottom: 0;
  width: 90%;
}

/* Top bar (Profile section) */
.topbar {
  position: fixed;
  top: 0;
  left: 230px; /* matches sidebar width */
  height: 60px;
  width: calc(100% - 230px);
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 10;
}

.dash {
  color: #8b3f0a;
}

/* MAIN LAYOUT */
.login-box {
  width: 400px;
}

/* INPUTS */
.custom-input {
  background: #f7f7f7;
  border-radius: 6px;
  border: 1px solid #eee;
  padding: 10px 12px;
}

.custom-input:focus {
  border-color: #b47b55;
  box-shadow: none;
}

/* BUTTON */
.login-btn {
  background: #b47b55;
  color: #fff;
  border-radius: 6px;
  padding: 10px;
  border: none;
}

.login-btn:hover {
  background: #9e6544;
  color: white;
}

/* REGISTER LINK */
.register-text {
  font-size: 13px;
}

.register-text a {
  color: #b47b55;
  text-decoration: none;
}

/* RIGHT SIDE IMAGE */
.login-right {
  width: 100%;
  height: 100%;
}

.login-right img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔥 MOST IMPORTANT */
  display: block;
}

/* FLOATING INPUT DESIGN */
.floating-input {
  background: #f6f6f6;
  border-radius: 14px;
  padding: 14px 16px;
  position: relative;
}

.floating-input label {
  font-size: 13px;
  color: #777;
  display: block;
  margin-bottom: 6px;
}

.floating-input input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  color: #111;
  padding: 0;
}

/* OTP dots color */
.floating-input input::placeholder {
  color: #bbb;
  font-size: 20px;
  letter-spacing: 2px;
}

/* Focus effect */
.floating-input:focus-within {
  background: #f2f2f2;
}

#pagination-container {
  background: white;
  padding: 12px;
  border-radius: 10px;
}
