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

body {
  font-family: "Saira", sans-serif;
}

/* Left panel */

.left-panel {
  background: #bdbdbd;
}

.right-panel {
  background-color: white;
}

/* Login box */

.login-box {
  width: 450px;
}

/* Toggle Buttons */

.login-toggle {
  display: flex;
  background: #ddd;
  padding: 6px;
  border-radius: 10px;
}

.login-toggle .btn {
  flex: 1;
  border: none;
  font-weight: 600;
}

.company-btn {
  background: #d4178f;
  color: white;
}

.student-btn {
  background: #a8a8a8;
  color: white;
}

.login-toggle .btn.active {
  background: #d4178f;
  color: white;
}

/* Login Button */

.login-btn {
  background: #d4178f;
  color: white;
  padding: 10px;
  font-weight: 600;
  border: none;
}

.login-btn:hover {
  background: #d4178f;
  color: #ffff;
}

/* Inputs */

.form-control {
  padding: 10px;
  border-radius: 4px;
}

/* Checkbox */

.form-check-input:checked {
  background-color: #d4178f;
  border-color: #d4178f;
}

.form-check-input:focus {
  border-color: #d4178f;
  box-shadow: 0 0 0 0.2rem rgba(239, 61, 61, 0.25);
}

/* Sign up */

.signup-text {
  color: #d4178f;
  text-decoration: none;
}

.signup-text a {
  color: #d4178f;
  text-decoration: none;
}

/* ------------------------------------------------------------------------- */

/* Navbar */

.logo {
  font-weight: 700;
}

.navbar {
  background-color: #f2f2f2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* User Wrapper */

.user-wrapper {
  position: relative;
}

/* Profile Dropdown */

.profile-menu {
  position: absolute;
  right: 0;
  top: 70px;
  width: 230px;
  background: #f5f5f5;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: none;
  overflow: hidden;
  z-index: 99;
}

/* Menu Item */

.menu-item {
  padding: 18px 20px;
  font-size: 16px;
  cursor: pointer;
  border-bottom: 1px solid #d6d6d6;
  display: block;
  width: 100%;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:hover {
  background: #e9e9e9;
}

.user-box {
  background: #fff;
  padding: 6px 15px;
  border-radius: 25px;
  cursor: pointer;
}

.user-img {
  width: 35px;
  height: 35px;
  background: #cfd3d7;
  border-radius: 50%;
  margin-right: 10px;
}

/* Sidebar */

.sidebar {
  width: 230px;
  background: #f2f2f2;
  min-height: 100vh;
  padding: 20px 0;
  border-right: 1px solid #eee;
}

.menu {
  display: block;
  padding: 12px 25px;
  color: #444;
  text-decoration: none;
  font-size: 15px;
}

.menu img {
  margin-right: 10px;
}

.menu:hover {
  background: #f4f5f7;
}

.menu.active img {
  filter: brightness(0) invert(1);
}

.menu.active {
  background: #d4178f;
  color: white;
  border-radius: 8px;
  margin: 0 10px;
}

.main-content {
  flex: 1;
  padding: 30px;
}

.badge-role {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  margin-left: 6px;
  font-weight: 600;
}

.badge-seller {
  background: #1890ff;
  color: #fff;
}

#userBadgeBox {
  display: flex;
  align-items: center;
}

/* Badge */
.badge-role {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* Variants */
.badge-seller {
  background: #1890ff;
  color: white;
}

.badge-buyer {
  background: #28a745;
  color: white;
}

.badge-both {
  background: #6f42c1;
  color: white;
}

.selected-values {
  margin-bottom: 6px;
  min-height: 28px;
}

.selected-values .badge {
  font-size: 12px;
  padding: 5px 8px;
}

.placeholder {
  color: #aaa;
  font-size: 13px;
}

.multi-select {
  position: relative; /* Ensures the dropdown anchors to the input box */
}

.options-box {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 9999; /* Forces it to sit above ALL other fields and buttons */
  max-height: 250px; /* Limits the height */
  overflow-y: auto; /* Makes it scrollable */
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: none; /* Keep your existing display: none */
}

/* Optional: Make the labels look cleaner inside the scroll box */
.options-box label {
  display: block;
  padding: 8px 12px;
  cursor: pointer;
  margin: 0;
}

.options-box label:hover {
  background-color: #f1f1f1;
}

.btn-outline-info:hover {
  color: white !important;
}

.btn-danger,
.btn-danger:hover,
.btn-danger:active {
  background-color: #d4178f !important;
  border-color: #d4178f !important;
}

.btn-outline-danger {
  color: #d4178f !important;
  border-color: #d4178f !important;
}

.btn-outline-danger:hover {
  background-color: #d4178f !important;
  border-color: #d4178f !important;
  color: white !important;
}
