* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
    visibility:hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f5f7fb;
  padding-bottom: 80px;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

.sidebar {
  background: #ffffff;
  border-right: 1px solid #e9edf4;
  height: 100vh;
  position: sticky;
  top: 0;
  padding: 1.5rem 0.75rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.02);
}

.sidebar .brand {
  font-weight: 700;
  font-size: 1.3rem;
  color: #0b2b4a;
  letter-spacing: -0.3px;
  padding-left: 0.5rem;
  margin-bottom: 2rem;
}

.sidebar .brand i {
  color: #2a7de1;
}

.brand-logo{
  width: 150px;
}

.sidebar .nav-link {
  color: #4a5a6e;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  margin-bottom: 4px;
  font-size: 15px;
  transition: all 0.1s ease;
}

.sidebar .nav-link i {
  margin-right: 12px;
  font-size: 1.2rem;
  width: 1.5rem;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  background: #eef4ff;
  color: #1a5bc7;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e9edf4;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.4rem 0 0.6rem;
  z-index: 1050;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.03);
}

.bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #7b8a9e;
  font-size: 0.7rem;
  font-weight: 500;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0.2rem 0.6rem;
}

.bottom-nav .nav-item i {
  font-size: 1.2rem;
  /* margin-bottom: 2px; */
}

.bottom-nav .nav-item.active {
  color: #1a5bc7;
}

/* .bottom-nav .nav-item.add-btn i {
      background: #1a5bc7;
      color: white;
      border-radius: 30px;
      padding: 0.3rem 0.7rem;
      font-size: 1.8rem;
      margin-top: -0.8rem;
      box-shadow: 0 4px 10px rgba(26,91,199,0.25);
    } */
@media (min-width: 768px) {
  .bottom-nav {
    display: none;
  }
}

.stat-card {
  background: white;
  border-radius: 10px;
  padding: 1.25rem 1rem;
  border: 1px solid #eef2f8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.01);
  height: 100%;
}

.stat-card .stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0b2b4a;
}

.stat-card .stat-label {
  color: #5e6f84;
  font-size: 0.85rem;
  font-weight: 500;
}

.stat-card .stat-icon {
  font-size: 1.8rem;
  color: #2a7de1;
  opacity: 0.3;
}

.lead-item {
  background: white;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  border: 1px solid #eef2f8;
  transition: 0.1s ease;
  /* margin-bottom: 5px; */
}

.lead-item .business {
  font-weight: 600;
  color: #0b2b4a;
}

.lead-item .phone {
  color: #4a5a6e;
  font-size: 0.9rem;
}

.status-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 30px;
  background: #eef4ff;
  color: #1a5bc7;
}

.status-badge.new {
  background: #e3f0ff;
  color: #1a5bc7;
}

.status-badge.contacted {
  background: #e6f7f0;
  color: #0d7c5e;
}

.status-badge.interested {
  background: #fff3e0;
  color: #b45a1c;
}

.status-badge.follow-up {
  background: #f0edff;
  color: #6246b0;
}

.status-badge.proposal-sent {
  background: #fce8f0;
  color: #b3416b;
}

.status-badge.won {
  background: #e2f7e6;
  color: #1d7a3e;
}

.status-badge.lost {
  background: #fce8e8;
  color: #b33a3a;
}

.lead-detail-label {
  font-weight: 500;
  color: #4a5a6e;
  font-size: 0.85rem;
}

.lead-detail-value {
  font-weight: 500;
  color: #3b5268;
  font-size: 14px;
}

.note-item {
  background: #f8faff;
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  border-left: 3px solid #2a7de1;
  margin-bottom: 6px;
  font-size: 14px;
}

.note-item .note-remark{
font-size: 0.9rem;
  color: #7b8a9e;
}

.note-item .note-time {
  font-size: 0.75rem;
  color: #7b8a9e;
}

.search-box {
  background: white;
  border-radius: 5px;
  padding: 0.3rem 0.3rem 0.3rem 0.8rem;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;

  background: transparent;
}

.search-box button {
  background: #1a5bc7;
  border: none;
  border-radius: 40px;
  padding: 0.4rem 1.2rem;
  color: white;
  font-weight: 500;
}

.filter-select {
  background: white;
  border-radius: 40px;
  padding: 0.3rem 1rem;
  border: 1px solid #e2e8f0;
}

.btn-primary-custom {
  background: #1a5bc7;
  border: none;
  border-radius: 5px;
  padding: 0.2rem 1.3rem;
  font-weight: 500;
  color: white;
  font-size: 14px;
}

.btn-primary-custom:hover {
  background: #1347a0;
  color: white;
}

.btn-outline-custom {
  border-radius: 40px;
  border: 1px solid #d0d9e8;
  padding: 0.2rem 0.4rem;
  font-weight: 500;
  color: #2d4059;
}

.btn-outline-custom:hover {
  background: #f0f4fe;
}

.page-title {
  font-weight: 700;
  color: #0b2b4a;
  letter-spacing: -0.3px;
}
.badge-datetime{
  background: white !important;
  padding: 5px 10px !important;
    font-size: 13px;
    border-radius: 3px;
}
@media (max-width: 767px) {
  .sidebar {
    display: none;
  }
  .brand-logo{
  width: 110px;
}
}

.modal-content {
  border-radius: 10px;
  border: none;
  padding: 0.2rem 0;
}

.modal-header {
  border-bottom: none;
  padding-bottom: 0;
}

.modal-footer {
  border-top: none;
}

.form-control,
.form-select {
  border-radius: 5px;
  padding: 0.4rem 0.6rem;
  border: 1px solid #e2e8f0;
  font-size: 13px;
}

.form-control:focus,
.form-select:focus {
  border-color: #1a5bc7;
  box-shadow: 0 0 0 3px rgba(26, 91, 199, 0.15);
}

.more-menu-dropdown {
  position: relative;
}

.more-menu-dropdown .dropdown-menu {
  border-radius: 20px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 0.5rem 0;
  min-width: 160px;
}

.more-menu-dropdown .dropdown-item {
  padding: 0.6rem 1.2rem;
  font-weight: 500;
  color: #2d4059;
}

.more-menu-dropdown .dropdown-item:hover {
  background: #f0f4fe;
}

.more-menu-dropdown .dropdown-item.text-danger:hover {
  background: #fee8e8;
}

/* Page container - each page isolated */
.page-container {
  display: block;
  width: 100%;
}

.page-container.hidden {
  display: none;
}

.page-container .table{
  font-size: 14px;
}
/* Mobile Header Styles */
.mobile-header {
  display: none;
  background: #fff;
  padding: 5px 16px;
  border-bottom: 1px solid #e9ecef;
  position: sticky;
  top: 0;
  z-index: 1000;
  align-items: center;
  justify-content: space-between;
}

.mobile-header .brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1a1a2e;
  text-decoration: none;
}

.mobile-header .brand i {
  color: #4f46e5;
}

.mobile-header .user-dropdown .dropdown-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #1a1a2e;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-header .user-dropdown .dropdown-toggle::after {
  display: none;
}

.mobile-header .user-dropdown .dropdown-menu {
  right: 0;
  left: auto;
  min-width: 180px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid #e9ecef;
  padding: 8px 0;
}

.mobile-header .user-dropdown .dropdown-item {
  padding: 10px 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-header .user-dropdown .dropdown-item i {
  font-size: 1.1rem;
  width: 20px;
}

.mobile-header .user-dropdown .dropdown-item:hover {
  background: #f8f9fa;
}

.mobile-header .user-dropdown .dropdown-item.text-danger:hover {
  background: #fee2e2;
  color: #dc2626;
}

@media (max-width: 767px) {
  .mobile-header {
    display: flex;
  }
}