ul {
  list-style: none;
}

.text-white {
  color: #ffffff !important;
}

.brand-text {
  font-size: 1.1rem;
}

label {
  font-weight: normal !important;
}


/* Login page */
.left-col {
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: rgba(42, 111, 157, 0.1);
}

.left-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.copyright {
  margin-top: auto;
}

.right-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  height: 100vh;
  background-color: #f9f9f9;
}

/* Hide left column and show logo on mobile */
@media (max-width: 991.98px) {
  .left-col {
    display: none !important;
  }

  .right-col {
    height: auto;
    min-height: 100vh;
    justify-content: flex-start;
    padding-top: 3rem;
  }

  .mobile-logo {
    display: block !important;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .right-col {
    width: 100%;
  }
}

.mobile-logo {
  display: none;
}

.form-control:focus {
  box-shadow: none;
}

input::placeholder {
  font-size: 12px;
}

.form-control:focus {
  border: 1px solid #0d6efd;
  box-shadow: none;
}

.form-select:focus {
  box-shadow: none;
  border: 1px solid #0d6efd;
}

.table-stripped {
  background: #e4e4e4 !important;
}


/* Dashboard */
.dashboard-card {
  transition: all 0.3s ease;
  border-radius: 12px;
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.dashboard-card:active {
  transform: scale(0.98);
}

.icon-circle {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}



/* Siedbar */
.main-sidebar {
  background: #003d99;
}

/* Sidebar links */
.main-sidebar ul li a {
  color: #fff !important;
  padding-top: 0.3rem;
  padding-bottom: 0.4rem;
  transition: background 0.2s;
}

/* Parent links: keep transparent when submenu is expanded, but add hover */
.nav-item.has-treeview>.nav-link {
  background: transparent;
}

.nav-item.has-treeview>.nav-link:hover {
  background: #0066cc;
}

/* Active child links */
.nav-item .nav-treeview .nav-link.active {
  background: #1f68b2 !important;
  padding-left: 1rem;
  border-left: 2px solid #ffffff;
  color: #ffffff !important;
  font-weight: 500;
  border-radius: 0 5px 5px 0;
}

/* Hover effect for child links */
.nav-item .nav-treeview .nav-link:hover {
  background: #2869ab !important;
}



/* Scroll bar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #3e81e4;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #0265d5;
  transition: opacity 0.5s;
}

/* Scrollbar track background */
::-webkit-scrollbar-track {
  background: #95c2f3;
}

.dropdown-toggle::after {
  display: none;
}


/* Set hover effect for dropdown items */
.dropdown-menu .dropdown-item:hover {
  background-color: #0861ef;
  color: white;
}

/* Set active or focused state for dropdown items */
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:active {
  background-color: #0d6efd;
  color: white;
}

/* Hide photo preview by default */
#imgPreview {
  display: none;
}



.email-container {
  position: relative;
}

.email-container input {
  padding-left: 40px;
}

.email-icon {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

.password-container {
  position: relative;
}

.password-container input {
  padding-left: 40px;
  padding-right: 40px;
}

.lock-icon {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

.password-icon {
  position: absolute;
  top: 50%;
  right: 10px;
  color: #5e8acb;
  transform: translateY(-50%);
  cursor: pointer;
}



/* Filter form on select option */
.options-container {
  display: none;
  z-index: 1000;
  background: #e9e8e8;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 10px;
}

.options-item {
  cursor: pointer;
}

.options-item:hover {
  background: #ffffff;
}



/* Table more action hover effect */
.more-vert-hover {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: all 0.5s ease;
  color: #0d6efd;
  background: #e6eeff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.more-vert-hover:hover {
  background: #0d6efd;
  color: #ffffff;
}

.badge {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

.badge-paid {
  background: #d1fae5;
  color: #065f46;
}

.badge-expired {
  background: #fee2e2;
  color: #991b1b;
}

.badge-due-today {
  background: #ffedd5;
  color: #9a3412;
}

.badge-due-soon {
  background: #fef9c3;
  color: #854d0e;
}

.badge-upcoming {
  background: #e0f2fe;
  color: #075985;
}


/* Live chat */
#chat-toggle {
  position: fixed;
  bottom: 60px;
  right: 20px;
  background: #007bff;
  color: white;
  height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10%;
  cursor: pointer;
  font-size: 20px;
}

#chat-popup {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 300px;
  display: none;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
}

#chat-header {
  background: #007bff;
  color: white;
  padding: 10px;
  border-radius: 10px 10px 0 0;
}

#chat-body {
  height: 250px;
  overflow-y: auto;
  padding: 10px;
}

#chat-footer {
  display: flex;
  border-top: 1px solid #ccc;
}

#chat-footer input {
  flex: 1;
  border: none;
  padding: 10px;
}

#chat-footer button {
  border: none;
  background: #007bff;
  color: white;
  padding: 10px;
}

#chat-users {
  max-height: 300px;
  overflow-y: auto;
}

.chat-user {
  padding: 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.chat-user:hover {
  background: #f5f5f5;
}