/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  /* font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif; */
  background-color: #f4f6fb;
  color: #1e293b;
  line-height: 1.5;
  font-family: "Lexend Deca", sans-serif;

}

/* ===== LAYOUT ===== */
.layout {
  display: flex;
  height: 100vh;
}

/* ===== SIDEBAR STYLES ===== */
.sidebar {
  width: 250px;
  background: #0f172a;
  color: white;
  padding: 20px;
  height: 100vh;
  overflow-y: auto;
}

.sidebar h2 {
  margin-bottom: 30px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
}

.sidebar a {
  display: block;
  padding: 12px;
  color: #cbd5f5;
  text-decoration: none;
  border-radius: 8px;
  margin-bottom: 6px;
  transition: all 0.2s ease;
}

.sidebar a:hover {
  background: #1e293b;
  color: white;
}

.sidebar a.active {
  background: #1e293b;
  color: white;
}

/* ===== TOPBAR STYLES ===== */
.topbar {
  height: 60px;
  background: white;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
}

/* ===== AVATAR STYLES ===== */
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #6366f1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

/* ===== PAGE CONTENT ===== */
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.page {
  padding: 30px;
  overflow: auto;
  flex: 1;
}

/* ===== CARDS GRID ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* ===== CHAT LAYOUT ===== */
.chat-layout {
  display: flex;
  height: 520px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
}

.channels {
  width: 220px;
  background: #f8fafc;
  padding: 15px;
  border-right: 1px solid #eee;
}

.channel {
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
}

.channel:hover {
  background: #e2e8f0;
}

/* ===== CHAT AREA ===== */
.chat-area {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.messages {
  flex: 1;
  padding: 20px;
  overflow: auto;
}

.message {
  margin-bottom: 12px;
}

/* ===== THREAD PANEL ===== */
.thread {
  width: 260px;
  border-left: 1px solid #eee;
  padding: 15px;
  background: #fafafa;
}

/* ===== CHAT INPUT ===== */
.chat-input {
  border-top: 1px solid #eee;
  padding: 10px;
  display: flex;
  gap: 10px;
}

.chat-input input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
}

.chat-input input:focus {
  border-color: #6366f1;
}

/* ===== BUTTONS ===== */
button {
  background: #6366f1;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s ease;
}

button:hover {
  background: #56a1c7;
}

/* ===== PROJECT BOARD ===== */
.board {
  display: flex;
  gap: 20px;
}

.column {
  background: white;
  padding: 15px;
  border-radius: 10px;
  width: 260px;
}

.task {
  background: #f1f5f9;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* ===== TABLES ===== */
table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 10px;
  overflow: hidden;
}

th {
  text-align: left;
  padding: 14px;
  border-bottom: 1px solid #eee;
  font-weight: 600;
  color: #475569;
}

td {
  padding: 14px;
  border-bottom: 1px solid #eee;
}

tr:last-child td {
  border-bottom: none;
}

/* ===== CRM DASHBOARD STYLES ===== */
.crm-dashboard {
  background-color: #f4f6f9;
  min-height: 100vh;
}

/* Navbar */
.crm-navbar {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 15px 25px;
}

/* Cards */
.crm-card {
  border-radius: 12px;
  border: none;
  transition: all 0.2s ease;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.crm-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Stat Cards */
.crm-stat {
  color: #fff;
  border-radius: 12px;
  padding: 20px;
}

.crm-stat-primary {
  background: linear-gradient(45deg, #4e73df, #224abe);
}

.crm-stat-success {
  background: linear-gradient(45deg, #1cc88a, #17a673);
}

.crm-stat-warning {
  background: linear-gradient(45deg, #f6c23e, #dda20a);
}

.crm-stat-danger {
  background: linear-gradient(45deg, #e74a3b, #c0392b);
}

/* Table */
.crm-table {
  width: 100%;
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

.crm-table th {
  font-weight: 600;
  font-size: 14px;
  background: #f8fafc;
  padding: 15px;
}

.crm-table td {
  vertical-align: middle;
  font-size: 14px;
  padding: 15px;
}

/* Avatar */
.crm-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
}

/* Activity */
.crm-activity {
  list-style: none;
  padding: 0;
  margin: 0;
}

.crm-activity li {
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.crm-activity small {
  font-size: 12px;
  color: #64748b;
}

.dt-sidebar-gradient {
  width: 200px;
  height: 100vh;
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  border-right: 1px solid #eee;
  position: sticky;
  top: 0;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  margin: 10px;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
}

/* Logo Section */
.dt-sidebar-gradient .sidebar-logo {
  padding: 0 16px 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 20px;
}

.dt-sidebar-gradient .logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dt-sidebar-gradient .logo-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.dt-sidebar-gradient .logo-text h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: white;
  letter-spacing: -0.3px;
}

.dt-sidebar-gradient .logo-text span {
  font-size: 10px;
  color: #e9d5ff;
  letter-spacing: 0.3px;
}

/* Navigation */
.dt-sidebar-gradient .sidebar-nav {
  list-style: none;
  padding: 0 12px;
  margin: 0;
  flex: 1;
}

.dt-sidebar-gradient .nav-item {
  list-style: none;
  margin-bottom: 4px;
}

.dt-sidebar-gradient .nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  color: #fff;
  /* Light purple text */
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.dt-sidebar-gradient .nav-link i {
  font-size: 18px;
  color: #c4b5fd;
  /* Medium purple icons */
  transition: all 0.2s ease;
}

/* Hover State */
.dt-sidebar-gradient .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  /* White text on hover */
}

.dt-sidebar-gradient .nav-link:hover i {
  color: #ffffff;
  /* White icons on hover */
}

/* Active State */
.dt-sidebar-gradient .nav-link.active {
  background: #ffffff;
  /* White background for active */
  color: #4c1d95;
  /* Dark purple text */
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.dt-sidebar-gradient .nav-link.active i {
  color: #4c1d95;
  /* Dark purple icons for active */
}

/* Bottom Section */
.dt-sidebar-gradient .sidebar-bottom {
  padding: 20px 12px 0 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: auto;
}

.dt-sidebar-gradient .bottom-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 12px;
  color: #e9d5ff;
  /* Light purple text */
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-bottom: 2px;
}

.dt-sidebar-gradient .bottom-link i {
  font-size: 18px;
  color: #c4b5fd;
  /* Medium purple icons */
}

.dt-sidebar-gradient .bottom-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  /* White text on hover */
}

.dt-sidebar-gradient .bottom-link:hover i {
  color: #ffffff;
  /* White icons on hover */
}

.dt-sidebar-gradient .bottom-link.danger {
  color: #fecaca;
  /* Light red text */
}

.dt-sidebar-gradient .bottom-link.danger i {
  color: #fca5a5;
  /* Light red icons */
}

.dt-sidebar-gradient .bottom-link.danger:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ffffff;
}

.dt-sidebar-gradient .bottom-link.danger:hover i {
  color: #ffffff;
}

.side {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #d0d4d8 0%, #434a4f 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 18px;
}

.setting {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  color: #7f8c8d;
  font-size: 14px;
  margin-bottom: 2px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.log-out {
  color: #e74c3c;
}


/* ===== PROFILE PAGE STYLES ===== */

/* Profile Cover */
.profile-cover {
  height: 140px;
  background: #1E79A7;
  border-radius: 16px 16px 0 0;
  /* position: relative; */
  overflow: hidden;
}

.profile-cover::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  /* background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1)); */
}

/* Profile Avatar */
.profile-avatar-wrapper {
  position: absolute;
  top: -50px;
  left: 30px;
}

.profile-avatar-container {
  background: white;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-avatar {
  width: 90px;
  height: 90px;
  background: #1E79A7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 28px;
  border: 3px solid white;
}

/* Profile Info */
.profile-info {
  margin-left: 120px;
  padding-top: 15px;
}

.profile-name {
  font-size: 24px;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.profile-role {
  font-size: 14px;
  color: #ffffffab;
}

.profile-role i {
  color: #8b5cf6;
  margin-right: 5px;
  font-size: 12px;
}

/* Profile Stats */
.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
  padding: 0 10px;
}

.stat-item {
  text-align: center;
  padding: 15px;
  background: #f8fafc;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.stat-item:hover {
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.stat-value {
  font-size: 24px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 400;
}

/* Profile Cards */
.profile-card {
  background: #2f3136;
  border-radius: 16px;
  /* border: 1px solid #edf2f7; */
  padding: 24px;
  height: 100%;
  transition: all 0.2s ease;
}

.profile-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.profile-card-title {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf2f76b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-card-title i {
  color: #8b5cf6;
  font-size: 18px;
}

/* Form Elements */
.profile-form-group {
  margin-bottom: 20px;
}

.profile-form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #ffffffab;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.profile-form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    /* font-family: 'Inter', sans-serif; */
    border: 1px solid #e2e8f04a;
    border-radius: 10px;
    outline: none;
    transition: all 0.2s ease;
    background-color: transparent;
        color: white;
}

.toggle-iconn{
      position: absolute;
    top: 100px;
    right: -10px;
    font-size: 23px;
}

.profile-form-input:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.profile-form-input:disabled {
  background-color: #f8fafc;
  color: #94a3b8;
  cursor: not-allowed;
}

/* Buttons */
.profile-btn-primary {
  background: #1E79A7;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  /* font-family: 'Inter', sans-serif; */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.profile-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.profile-btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  /* font-family: 'Inter', sans-serif; */
}

.profile-btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.profile-btn-outline {
  background: transparent;
  border: 1px solid #e2e8f0;
  color: #64748b;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-btn-outline:hover {
  background: #f8fafc;
  border-color: #8b5cf6;
  color: #8b5cf6;
}

/* Logout Button */
.profile-logout-btn {
  background: transparent;
  border: 1px solid #fee2e2;
  color: #ef4444;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-logout-btn:hover {
  background: #fef2f2;
  border-color: #ef4444;
  transform: translateY(-2px);
}

/* Profile Layout */
.profile-main {
  padding: 24px 32px;
  background-color: rgb(26, 29, 33);
  min-height: calc(100vh - 60px);
}

.profile-header {
  background: white;
  border-bottom: 1px solid #edf2f7;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-header-title {
  font-size: 20px;
  font-weight: 500;
  color: #1e293b;
  margin: 0;
  letter-spacing: -0.3px;
}

/* Responsive */
@media (max-width: 768px) {
  .profile-avatar-wrapper {
          left: 0;
        transform: translatey(-50%);
        right: 0;
        margin: auto;
        width: fit-content;
  }

  .profile-info {
    margin-left: 0;
    text-align: center;
    margin-top: 50px;
  }

  .profile-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .profile-main {
    padding: 16px;
  }
}


/* ===== LOGIN PAGE STYLES ===== */
.login-container {
  min-height: 100vh;
  display: flex;
  /* font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; */
}

.login-row {
  display: flex;
  width: 100%;
}

/* Left Branding Side */
.login-branding {
  flex: 1;
  background: #1E79A7;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.login-branding::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.branding-content {
  position: relative;
  z-index: 1;
  max-width: 400px;
}

.branding-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.branding-logo-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.branding-title {
  font-size: 38px;
  font-weight: 500;
  margin: 0;
  /* letter-spacing: -0.5px; */
  color: white;
}

.branding-tagline {
  font-size: 18px;
  margin-bottom: 40px;
  /* opacity: 0.9; */
  line-height: 1.5;
  font-weight: 300;
}

.branding-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 300;
  color: white;
}


.feature-item i {
  font-size: 20px;
  color: white;
}

/* Right Form Side */
.login-form-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0C1E2B;
  padding: 20px;
  flex-direction: column;
  background-image: linear-gradient(103deg, #0C1E2B, #1e79a780);
}

.login-card {
  width: 100%;
  /* max-width: 400px; */
  /* background: white; */
  /* border-radius: 16px; */
  padding: 40px;
  /* box-shadow: 0 10px 40px rgba(0,0,0,0.05); */
  /* border: 1px solid #edf2f7; */
}

.login-card-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-title {
  font-size: 33px;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}

.login-subtitle {
  font-size: 15px;
  color: #FFFFFFB2;
  margin: 0;
}

.branding-logo-img {
  margin-bottom: 40px;
}

/* Form Elements */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: white;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  /* font-family: 'Inter', sans-serif; */
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  outline: none;
  transition: all 0.2s ease;
  background-color: white;
}

.form-input:focus {
  border-color: #1E79A7;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.login-form input {
  /* background-color: red !important; */
}

.login-form input:-webkit-autofill,
.login-form input:-webkit-autofill:hover,
.login-form input:-webkit-autofill:focus,
.login-form input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0px 1000px #0C1E2B inset !important;
  box-shadow: 0 0 0px 1000px #11364c inset !important;
  -webkit-text-fill-color: white !important;
  transition: background-color 5000s ease-in-out 0s;
}

.form-input::placeholder {
  color: #94a3b8;
  font-size: 13px;
}

/* Forgot Password */
.forgot-password {
  text-align: right;
  margin-bottom: 20px;
}

.forgot-link {
  color: #1E79A7;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  text-decoration: underline;
}

/* .forgot-link:hover {
  color: #6d28d9;
  text-decoration: underline;
} */

/* Error Alert */
.alert-error {
  /* background-color: #fef2f2;
  border: 1px solid #fee2e2; */
  color: #dc2626;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 20px;
}

/* Login Button */
.form-action {
  margin-bottom: 20px;
}

.login-button {
  width: 100%;
  padding: 14px;
  background: #1E79A7;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  /* font-family: 'Inter', sans-serif; */
}

.eye-icon{
      position: absolute;
    color: #94a3bf !important;
    top: 12px;
    bottom: 0;
    margin: auto;
    right: 11px;
}

.login-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(86, 161, 199, 0.3);
}

.login-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Sign Up Link */
.signup-link {
  text-align: center;
  font-size: 14px;
  color: #64748b;
  border-top: 1px solid #edf2f7;
  padding-top: 20px;
}

.signup-link a {
  color: #8b5cf6;
  text-decoration: none;
  font-weight: 500;
}

.signup-link a:hover {
  text-decoration: underline;
}

@media(max-width:991px) {
  .login-card {
    padding: 10px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .login-row {
    flex-direction: column;
  }

  .login-branding {
    padding: 60px 20px;
  }

  .login-card {
    padding: 0;
  }

  .branding-title {
    font-size: 24px;
  }

  .login-title {
    font-size: 24px;
  }

  .login-branding {
    display: none;
  }
}

/* Update existing avatar to match theme */
.avatar {
  background: #8b5cf6;
}

/* Update any primary buttons to match theme */
.btn-primary {
  background: #8b5cf6;
  border-color: #8b5cf6;
}

.btn-primary:hover {
  background: #7c3aed;
  border-color: #7c3aed;
}

/* ===== UTILITY CLASSES ===== */
.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.flex-grow-1 {
  flex-grow: 1;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.align-items-center {
  align-items: center;
}

.justify-content-between {
  justify-content: space-between;
}

.justify-content-center {
  justify-content: center;
}

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 12px;
}

.gap-4 {
  gap: 16px;
}

.p-3 {
  padding: 16px;
}

.p-4 {
  padding: 24px;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-2 {
  margin-bottom: 8px;
}

.mb-3 {
  margin-bottom: 12px;
}

.mb-4 {
  margin-bottom: 24px;
}

.mt-4 {
  margin-top: 24px;
}

.mx-2 {
  margin-left: 8px;
  margin-right: 8px;
}

.text-white {
  color: white;
}

.text-muted {
  color: #6c757d;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.7);
}

.bg-light {
  background-color: #f8f9fa;
}

.bg-white {
  background-color: white;
}

.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.rounded-circle {
  border-radius: 50%;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.position-sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.overflow-auto {
  overflow: auto;
}

/* ===== SIDEBAR NAVIGATION ===== */
.nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  list-style: none;
}

.nav-link {
  text-decoration: none;
  transition: all 0.2s ease;
}

/* ===== BADGES ===== */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 500;
}

.badge.bg-success {
  background: #e6fffa;
  color: #319795;
}

.badge.bg-warning {
  background: #feebc8;
  color: #744210;
}

.badge.bg-danger {
  background: #fed7d7;
  color: #c53030;
}

.app-header .profile-body .chat-logo {
  display: none;
}

.app-header .profile-body .nav-pills {
  padding-left: 0 !important;
  margin-right: 20px !important;
}

.app-header .profile-body .chat-spacer {
  display: none;
}

.app-header .profile-body .chat-logout {
  margin-right: 20px;
  border-top: none !important;
  padding: 0 !important;
}

.app-header .profile-body .chat-logout .nav-link {
  margin-right: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .sidebar {
    width: 70px;
    padding: 10px;
  }

  .sidebar h2,
  .sidebar a span {
    display: none;
  }

  .sidebar a {
    text-align: center;
    padding: 12px 0;
  }

  .chat-layout {
    flex-direction: column;
  }

  .channels,
  .thread {
    width: 100%;
  }
}

@media(max-width:480px){
    .dash-header{
      padding: 10px 15px 10px 32px !important;
    }

    .toggle-iconn {
    top: 14px;
    }
}