* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #f5f7fb;
  overflow-x: hidden;
  color: #64748b;
}

a {
  text-decoration: none;
}

p {
  font-size: 15px;
  line-height: 1.9;
  color: #64748b;
  margin-bottom: 10px;
  font-weight: 400;
}
/* ===================================
   COMMON
=================================== */

.primary-btn,
.outline-btn {
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: 0.3s;
}

.primary-btn {
  border: none;
  background: #fff;
  color: #2563eb;
}

.primary-btn:hover {
  background: #eaf2ff;
}

.outline-btn {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
}

.outline-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
  margin-bottom: 18px;
}

.section-title {
  font-size: 26px;
  font-weight: 800;
  margin: 0;
}

.section-link,
.widget-link {
  font-size: 13px;
  font-weight: 700;
  color: #2563eb;
}

/* ===================================
   HEADER
=================================== */

.header {
  height: 70px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 0 22px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.header-inner {
  height: 70px;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  color: #2563eb;
}

.sidebar-toggle,
.header-icon,
.profile-menu {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-toggle {
  border: none;
  background: #2563eb;
  color: #fff;
  font-size: 20px;
  margin-right: 16px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-icon {
  background: #f1f5f9;
  color: #2563eb;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

.header-icon:hover {
  background: #2563eb;
  color: #fff;
}

.profile-menu {
  background: #2563eb;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* .top-menu{
    display:flex;
    align-items:center;
    gap:26px;
    margin-left:40px;
}

.top-menu a{
    font-size:14px;
    font-weight:600;
    color:#4b5563;
}

.top-menu a:hover{
    color:#2563eb;
} */

/* =========================================
TOP MENU DESIGN
========================================= */

.top-menu {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 30px;
}

.top-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  /* background:#f8fafc; */
  transition: 0.3s;
  border: 1px solid transparent;
}

.top-menu a i {
  font-size: 15px;
}

.top-menu a:hover {
  background: #eff6ff;
  color: #2563eb;
  border-color: #bfdbfe;
  transform: translateY(-1px);
}

.top-menu a.active-menu,
.top-menu a.active-menu:hover {
  /* background:linear-gradient(135deg,#2563eb,#0f4c81); */
  color: #2563eb;
  border-color: #bfdbfe;
}

.header-icon:hover a,
.header-icon:hover i {
  color: #fff;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #eef4ff;
  padding: 10px 15px;
  border-radius: 30px;
  width: 250px;
  transition: 0.3s ease;
}

.search-box input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 14px;
}

.search-box i {
  color: #2563eb;
  font-size: 18px;
}

.search-box:hover {
  background: #2563eb;
}

.search-box:hover i,
.search-box:hover input {
  color: #fff;
}

.search-box input::placeholder {
  color: #666;
}

.search-box:hover input::placeholder {
  color: #fff;
}

/* MOBILE */

@media (max-width: 991px) {
  .top-menu {
    display: none;
  }
}

/* ===================================
   SIDEBAR
=================================== */

.sidebar {
  width: 250px;
  background: #fff;
  height: calc(100vh - 70px);
  position: fixed;
  top: 70px;
  left: 0;
  padding: 18px 14px;
  border-right: 1px solid #e5e7eb;
  overflow-y: auto;
  transition: 0.3s;
  z-index: 998;
}

.sidebar.collapsed {
  width: 82px;
}

.sidebar.collapsed .menu-text {
  display: none;
}

.sidebar.collapsed .sidebar-menu li a {
  justify-content: center;
  padding: 0;
}

.sidebar.collapsed .sidebar-menu li a i {
  margin: 0;
  font-size: 20px;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  margin-bottom: 8px;
}

.sidebar-menu li a {
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
}

.sidebar-menu li a i {
  min-width: 20px;
  font-size: 18px;
}

.sidebar-menu li.active a,
.sidebar-menu li a:hover {
  background: #2563eb;
  color: #fff;
  transform: translateY(-1px);
  /* background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
    transform: translateY(-1px); */
}

.sidebar-divider {
  border-top: 1px solid #e5e7eb;
  margin: 22px 0;
}

/* ===================================
   MAIN CONTENT
=================================== */

.main-content {
  margin-left: 250px;
  margin-top: 70px;
  /* padding:25px; */
  padding: 30px 15px;
  min-height: 100vh;
  /* transition:.3s; */
}

.main-content.expanded {
  margin-left: 82px;
}

/* ===================================
   WELCOME
=================================== */

.welcome-section {
  margin-bottom: 30px;
}

.welcome-section h1 {
  font-size: 32px;
  font-weight: 800;
  color: #2563eb;
  margin-bottom: 10px;
}

.welcome-section p {
  max-width: 760px;
  color: #64748b;
  line-height: 1.9;
  font-size: 15px;
}

/* ===================================
   TOP CARDS
=================================== */

.top-dashboard-card {
  background: #2563eb;
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  min-height: 230px;
  box-shadow: 0 10px 30px rgba(0, 59, 115, 0.12);
}

.top-dashboard-card::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -20px;
  width: 180px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(35deg);
}

.top-dashboard-card h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.top-dashboard-card p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
}

.card-buttons {
  display: flex;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.digital-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
}

.digital-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.rocket-icon {
  position: absolute;
  right: 24px;
  top: 24px;
  font-size: 72px;
  color: rgba(255, 255, 255, 0.1);
}

/* ===================================
   ENQUIRY
=================================== */

.enquiry-card,
.widget-card,
.quick-action-card,
.job-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #edf2f7;
}

.enquiry-card {
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.enquiry-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.company-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
}

.company-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.enquiry-info h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.enquiry-info p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.status-badge {
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 800;
}

.pending {
  background: #fff7e8;
  color: #d97706;
}

.responded {
  background: #ecfdf3;
  color: #16a34a;
}

/* ===================================
   WIDGET
=================================== */

.widget-card {
  padding: 24px;
  margin-bottom: 22px;
}

.widget-icon,
.quick-action-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #dbe7f8;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.widget-icon {
  margin-bottom: 18px;
}

.widget-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.widget-card p {
  color: #64748b;
  line-height: 1.7;
}

/* ===================================
   QUICK ACTION
=================================== */

.quick-action-card {
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.quick-action-content h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.quick-action-content p {
  margin: 0;
  color: #64748b;
}

/* ===================================
   JOB CARD
=================================== */

.job-card {
  padding: 24px;
  border-left: 4px solid #2563eb;
  position: relative;
  height: 100%;
}

.job-card.light {
  border-left-color: #cbd5e1;
}

.job-card h4 {
  font-size: 18px;
  font-weight: 700;
}

.job-card p {
  color: #64748b;
  margin: 10px 0 24px;
}

.job-status {
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
}

.job-dots {
  position: absolute;
  right: 22px;
  bottom: 18px;
  font-size: 22px;
  color: #cbd5e1;
}

/* ===================================
   IMAGE
=================================== */

.featured-image,
.featured-image img {
  border-radius: 18px;
  width: 100%;
}

/* ===================================
   DROPDOWN
=================================== */

.profile-dropdown {
  width: 280px;
  padding: 12px;
  border-radius: 18px;
  margin-top: 14px;
}

.notification-dropdown {
  width: 360px;
  padding: 14px;
  border-radius: 20px;
  margin-top: 14px;
}

/* PROFILE DROPDOWN */

.profile-dropdown {
  width: 280px;
  padding: 12px;
  border-radius: 18px;
  margin-top: 14px;
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
}

.profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #2563eb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.profile-top h6 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #2563eb;
}

.profile-top p {
  margin: 2px 0 0;
  font-size: 13px;
  color: #64748b;
}

.profile-dropdown .dropdown-item {
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #003b73;
  transition: 0.3s;
}

.profile-dropdown .dropdown-item i {
  font-size: 18px;
}

.profile-dropdown .dropdown-item:hover {
  background: #f3f6fb;
  color: #2563eb;
}

.logout-item {
  color: #dc2626 !important;
}

.logout-item:hover {
  background: #fef2f2 !important;
  color: #dc2626 !important;
}

/* NOTIFICATION DROPDOWN */

.notification-dropdown {
  width: 360px;
  padding: 14px;
  border-radius: 20px;
  margin-top: 14px;
}

.notification-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px 10px;
}

.notification-header h5 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #2563eb;
}

.notification-header p {
  margin: 3px 0 0;
  font-size: 13px;
  color: #64748b;
}

.notification-count {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.notification-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  transition: 0.3s;
  margin-bottom: 6px;
}

.notification-item:hover {
  background: #f5f7fb;
}

.notification-icon {
  min-width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.primary-icon {
  background: #e8f1ff;
  color: #2563eb;
}

.success-icon {
  background: #ecfdf3;
  color: #16a34a;
}

.warning-icon {
  background: #fff7e8;
  color: #d97706;
}

.danger-icon {
  background: #fef2f2;
  color: #dc2626;
}

.notification-content h6 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #2563eb;
}

.notification-content p {
  margin: 4px 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

.notification-content span {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 600;
}

.view-all-btn {
  height: 48px;
  border-radius: 14px;
  background: #2563eb;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.view-all-btn:hover {
  background: #2563eb;
  color: #fff;
}

@media (max-width: 576px) {
  .notification-dropdown {
    width: 320px;
  }
}

/* SECTION HEADER FIX */

.section-header {
  margin-bottom: 20px;
  width: 100%;
  margin-top: 40px;
}

.section-title {
  font-size: 19px;
  font-weight: 700;
  color: #2563eb;
  margin: 0;
  line-height: 1;
}

.section-link {
  font-size: 12px;
  font-weight: 800;
  color: #2563eb;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

/* MOBILE FIX */

@media (max-width: 576px) {
  .section-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .section-title {
    font-size: 20px;
  }

  .section-link {
    font-size: 11px;
  }
}

/* ===================================
   MOBILE
=================================== */

@media (max-width: 992px) {
  .top-menu {
    display: none;
  }

  .sidebar {
    left: -100%;
    width: 250px !important;
  }

  .sidebar.show {
    left: 0;
  }

  .main-content,
  .main-content.expanded {
    margin-left: 0;
  }
}

@media (max-width: 576px) {
  .header {
    padding: 0 14px;
  }

  .logo {
    font-size: 24px;
    display: none;
  }

  .welcome-section h1 {
    font-size: 30px;
  }

  .top-dashboard-card h2 {
    font-size: 26px;
  }

  .section-title {
    font-size: 22px;
  }

  .card-buttons {
    flex-direction: column;
  }

  .enquiry-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .notification-dropdown {
    width: 320px;
  }
}

/* =========================================
MODERN COPYRIGHT
========================================= */

.modern-copyright {
  margin-top: 40px;
  padding: 10px 20px 10px;
  text-align: center;
}

.modern-copyright p {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: #64748b;
  letter-spacing: 0.3px;
}

.modern-copyright p span {
  color: #2563eb;
  font-weight: 600;
}

/* MOBILE */

@media (max-width: 768px) {
  .modern-copyright {
    padding-top: 24px;
  }

  .modern-copyright p {
    font-size: 13px;
    line-height: 1.8;
  }
}

/* =========================================
TEAM MANAGEMENT
========================================= */

.team-form-card,
.team-list-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid #edf2f7;
  padding: 30px;
}

.card-top h3,
.team-list-top h3 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.card-top p,
.team-list-top p {
  color: #64748b;
  font-size: 14px;
}

.team-input,
.team-select {
  width: 100%;
  height: 56px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 0 18px;
  font-size: 15px;
  outline: none;
}

.permission-wrapper {
  margin-top: 34px;
  border-top: 1px solid #f1f5f9;
  padding-top: 28px;
}

.permission-wrapper h4 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 24px;
  color: #0f172a;
}

.permission-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.permission-item span {
  font-size: 14px;
  color: #334155;
  font-weight: 600;
}

.team-action-btns {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

.invite-btn {
  height: 52px;
  padding: 0 28px;
  border: none;
  border-radius: 14px;
  background: #2563eb;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.cancel-btn {
  height: 52px;
  padding: 0 24px;
  border: none;
  border-radius: 14px;
  background: #eef2f7;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

/* RIGHT SIDE */

.team-list-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.member-count {
  background: #dbeafe;
  color: #2563eb;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
}

.member-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid #f1f5f9;
}

.member-left {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 35%;
}

.member-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #dbeafe;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.blue-avatar {
  background: #dbeafe;
  color: #2563eb;
}

.gray-avatar {
  background: #f1f5f9;
  color: #64748b;
}

.green-avatar {
  background: #dcfce7;
  color: #16a34a;
}

.orange-avatar {
  background: #ffedd5;
  color: #ea580c;
}

.member-left h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
  color: #0f172a;
}

.member-left p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.member-role {
  width: 25%;
}

.member-role h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.member-role span {
  font-size: 13px;
  color: #64748b;
}

.member-status {
  padding: 10px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
}

.active-status {
  background: #dcfce7;
  color: #16a34a;
}

.inactive-status {
  background: #f1f5f9;
  color: #64748b;
}

.member-actions {
  display: flex;
  gap: 12px;
}

.member-actions button {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: #f8fafc;
  color: #2563eb;
  font-size: 16px;
  transition: 0.3s;
}

.member-actions button:hover {
  background: #2563eb;
  color: #fff;
}

/* MOBILE */

@media (max-width: 991px) {
  .member-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .member-left,
  .member-role {
    width: 100%;
  }

  .team-list-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* =========================================
   CHAT LAYOUT PAGE
========================================= */

.chat-layout {
  display: flex;
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  min-height: 760px;
}

/* =========================================
   SIDEBAR
========================================= */

.chat-sidebar {
  width: 450px;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  padding: 24px;
}

/* SEARCH */

.chat-search {
  height: 50px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  margin-bottom: 24px;
}

.chat-search i {
  color: #94a3b8;
}

.chat-search input {
  width: 100%;
  border: none;
  outline: none;
  background: none;
  font-size: 14px;
}

/* USERS */

.chat-users {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-user {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  gap: 14px;
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid transparent;
}

.chat-user:hover {
  border-color: #dbeafe;
  transform: translateY(-2px);
}

.active-user {
  border-color: #2563eb;
  box-shadow: 0 8px 24px rgba(15, 76, 129, 0.08);
}

/* AVATAR */

.chat-user-avatar {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
}

.avatar-blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.avatar-green {
  background: #dcfce7;
  color: #15803d;
}

.avatar-cyan {
  background: #cffafe;
  color: #0891b2;
}

.avatar-red {
  background: #fee2e2;
  color: #dc2626;
}

/* USER INFO */

.chat-user-info {
  flex: 1;
}

.chat-user-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.chat-user-top h4 {
  font-size: 15px;
  font-weight: 800;
  margin: 0;
  color: #0f172a;
}

.chat-user-top span {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
}

.chat-user-info p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #64748b;
}

/* =========================================
   MAIN CHAT
========================================= */

.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
}

/* HEADER */

.chat-header {
  height: 92px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.chat-header-left h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.chat-header-left p {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #64748b;
}

.chat-header-actions {
  display: flex;
  gap: 12px;
}

.chat-header-actions button {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 14px;
  background: #dbeafe;
  color: #2563eb;
  font-size: 17px;
}

/* =========================================
   BODY
========================================= */

.chat-body {
  flex: 1;
  padding: 34px;
  overflow-y: auto;
}

.chat-date {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

/* MESSAGE */

.chat-message {
  display: flex;
  margin-bottom: 22px;
}

.sent-message {
  justify-content: flex-end;
}

.received-message {
  justify-content: flex-start;
}

/* BUBBLE */

.chat-bubble {
  max-width: 520px;
  padding: 20px 24px;
  border-radius: 24px;
  position: relative;
}

.chat-bubble-text {
  max-width: 520px;
  padding: 20px 24px;
  border-radius: 24px;
  position: relative;
}
.received-message .chat-bubble {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: 6px;
}

.sent-message .chat-bubble-text {
  background: #2563eb;
  color: #ffffff;
  border-bottom-right-radius: 6px;
  box-shadow: 0 10px 30px rgba(15, 76, 129, 0.18);
}

.chat-bubble p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  font-weight: 400;
  /* color: #fff; */
}
.chat-bubble-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  font-weight: 400;
  color: #fff;
}
.chat-bubble-text span {
  display: block;
  margin-top: 12px;
  text-align: right;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.7;
}

.chat-bubble span {
  display: block;
  margin-top: 12px;
  text-align: right;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.7;
}

/* =========================================
   INPUT AREA
========================================= */

.chat-input-area {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.chat-icon-btn {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 14px;
  background: #f1f5f9;
  color: #475569;
  font-size: 18px;
}

.chat-input-area input {
  flex: 1;
  height: 56px;
  border: none;
  background: #f8fafc;
  border-radius: 16px;
  padding: 0 20px;
  font-size: 14px;
  outline: none;
}

.chat-send-btn {
  height: 56px;
  padding: 0 26px;
  border: none;
  border-radius: 16px;
  background: #2563eb;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 991px) {
  .chat-layout {
    flex-direction: column;
  }

  .chat-sidebar {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .chat-header {
    padding: 0 18px;
  }

  .chat-body {
    padding: 20px;
  }

  .chat-bubble {
    max-width: 100%;
  }

  .chat-input-area {
    gap: 8px;
    padding: 14px;
  }

  .chat-send-btn {
    padding: 0 18px;
  }
}

/* =========================================
   JOB APPLICATION CARD
========================================= */

.application-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px;
  border: 1px solid #edf2f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  transition: 0.3s;
}

.application-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.application-left {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.application-icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: #dbe7f8;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.application-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 5px;
}

.application-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.application-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.application-meta span i {
  font-size: 12px;
}

/* =========================================
   RIGHT SIDE
========================================= */

.application-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.job-badge {
  height: 38px;
  padding: 0 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.selected {
  background: #dbe4f5;
  color: #475569;
}

.shortlisted {
  background: #cce8ff;
  color: #0369a1;
}

.chat {
  background: #dbeafe;
  color: #1d4ed8;
}

.viewed {
  background: #e5e7eb;
  color: #64748b;
}

.view-details {
  color: #003b73;
  font-size: 16px;
  font-weight: 800;
}

/* =========================================
   METRICS CARD
========================================= */

.metrics-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid #edf2f7;
  margin-bottom: 24px;
}

.metrics-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #2563eb;
  margin-bottom: 28px;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.metric-row:last-child {
  margin-bottom: 0;
}

.metric-row h5 {
  font-size: 16px;
  font-weight: 700;
  color: #475569;
  margin: 0;
}

.metric-row span {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
}

/* =========================================
   SPONSORED CARD
========================================= */

.sponsored-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid #edf2f7;
  margin-bottom: 24px;
}

.sponsored-top {
  display: flex;
  gap: 14px;
}

.sponsored-image {
  width: 58px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.sponsored-content {
  flex: 1;
}

.sponsored-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.sponsored-label span {
  font-size: 10px;
  font-weight: 800;
  color: #cbd5e1;
}

.sponsored-content h4 {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 14px;
  color: #111827;
}

.learn-more {
  font-size: 13px;
  font-weight: 800;
  color: #2563eb;
}

/* =========================================
   TIP CARD
========================================= */

.tip-card {
  background: #2563eb;
  border-radius: 18px;
  padding: 34px 30px;
  color: #fff;
}

.tip-icon {
  font-size: 36px;
  margin-bottom: 24px;
  opacity: 0.9;
}

.tip-card h3 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 18px;
}

.tip-card p {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 992px) {
  .application-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .application-right {
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  .application-left {
    flex-direction: column;
  }

  .application-content h3 {
    font-size: 20px;
  }

  .application-content h5 {
    font-size: 16px;
  }

  .application-meta {
    gap: 14px;
  }

  .metric-row span {
    font-size: 20px;
  }
}

/* =========================================
         STATS CARD AUDITOR DASHBOARD
         ========================================= */
.stats-card {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 24px;
  padding: 24px;
  height: 100%;
}
.stats-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.stats-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.stats-number {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  margin: 0;
}
/* =========================================
         DASHBOARD CARD
         ========================================= */
.dashboard-card {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 18px;
  padding: 26px;
}
/* =========================================
         SECTION HEADER
         ========================================= */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 0px;
}
.section-link {
  font-size: 13px;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
}
/* =========================================
         ENQUIRY CARD
         ========================================= */
.enquiry-card {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-left: 4px solid #2563eb;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.enquiry-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.company-logo {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #dbeafe;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
}
.lead-enquiry-info h5 {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}
.lead-enquiry-info p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}
/* =========================================
         BUTTON
         ========================================= */
.outline-btn {
  height: 48px;
  border: 1px solid #edf2f7;
  border-radius: 10px;
  background: #ffffff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}
