/* Page Background */
body {
  background-color: #fff;
  font-family: "Inter", sans-serif;
}

/* Logo Top Left */
.logo-container {
  position: absolute;
  top: 20px;
  left: 30px;
}

.logo-container img {
  height: 60px;
}

/* Center Wrapper */
.login-wrapper {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Card Styling */
.login-card {
  width: 380px;
  border-radius: 10px;
  border: 1px solid #eee; /* softer border */
  background: #fff;

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}
/* Input Fields */
.form-control {
  border-radius: 6px;
  padding: 10px;
  font-size: 14px;
}

/* Button */
.btn-login {
  background-color: #017a73;
  color: white;
  padding: 10px;
  border-radius: 6px;
  font-weight: 500;
}

.btn-login:hover {
  background-color: #0d5f59;
  color: #fff;
}

/* Secure Text */
.secure-text {
  font-size: 12px;
  color: #888;
}

/* Sidebar */
.sidebar {
  width: 250px;
  height: 100vh;
  background: #fff;
  border-right: 1px solid #eee;

  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
}
.logo img {
  width: 120px;
  margin: 20px 0;
}

.menu {
  list-style: none;
  padding: 0;
}

.menu li {
  padding: 12px 20px;
  color: #555;
  cursor: pointer;
}

.menu li.active {
  color: #0f766e;
}

.menu li i {
  margin-right: 10px;
}

/* Logout */
.logout {
  margin-top: auto;
  padding: 20px;
}

/* Main */
.main {
  flex: 1;
}

/* Topbar */
.topbar {
  height: 60px;
  background: #fff;
  border-bottom: 1px solid #eee;
  align-items: center;
  padding: 0 20px;
}

.profile {
  width: 35px;
  height: 35px;
  background: #d1e7dd;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

/* -----------Filter panel -----------*/
.filter-panel {
  width: 280px !important;
  background: #ffff;
}

/* Each section */
.filter-block {
  border-bottom: 1px solid #ddd;
}

/* Header */
.filter-title {
  padding: 16px;
  font-size: 16px;
  font-weight: 500;
  color: #222;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}

/* Open section */
.filter-block.active .filter-options {
  display: block;
}

/* Closed by default */
.filter-options {
  display: none;
  background: #ffffff;
}

/* Items */
.filter-item {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #555;
  font-size: 15px;
}

/* Checkbox alignment */
.filter-item input {
  width: 18px;
  height: 18px;
}

.filter-item input[type="checkbox"] {
  accent-color: #960202;
  width: 18px;
  height: 18px;
}

/* ------------ PROFILE MODAL ---------------- */

/* Modal background */
.profile-modal {
  background-color: #f5f5f5;
  border-radius: 20px;
  padding: 30px 20px;
  border: none;
}

/* Avatar */
.avatar-circle {
  width: 100px;
  height: 100px;
  background-color: #0f766e;
  color: #fff;
  font-size: 40px;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Divider */
.divider {
  height: 1px;
  background-color: #dcdcdc;
  margin: 20px 0;
}

/* Change password row */
.change-password {
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.2s;
}

.change-password:hover {
  background-color: #eaeaea;
}

/* Icon circle */
.icon-circle {
  width: 50px;
  height: 50px;
  background-color: #d1e7e5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle i {
  color: #0f766e;
  font-size: 22px;
}


/* ================= MODAL FIX ================= */

.modal {
  z-index: 1060 !important;
}

.modal-backdrop {
  z-index: 1055 !important;
}

.modal-dialog {
  position: relative;
  z-index: 1065 !important;
}

/* REMOVE TABLE STACKING ISSUES */

.table-box {
  position: relative;
  z-index: 1 !important;
}

/* FIX DROPDOWN */

.dropdown-menu {
  z-index: 1030 !important;
}

/* FIX OFFCANVAS */

.offcanvas {
  z-index: 1045 !important;
}

.offcanvas-backdrop {
  z-index: 1040 !important;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #6c757d;
}

.password-toggle:hover {
  color: #0f766e;
}