:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --whatsapp: #25D366;
  --whatsapp-hover: #1ebc59;
  --whatsapp-bubble-out: #d9fdd3;
  --sidebar-bg: #0f172a;
  --text-primary: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --radius-md: 10px;
  --radius-lg: 14px;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  font-family: var(--font-main);
  background: #f8fafc;
  color: var(--text-primary);
  height: 100%;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
}

/* ============================================================
   ADMIN DASHBOARD LAYOUT (/admin)
   ============================================================ */
.app-layout {
  display: flex;
  height: 100%;
  height: 100dvh;
  width: 100vw;
  overflow: hidden;
}

.sidebar {
  width: 240px;
  background: var(--sidebar-bg);
  color: #fff;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: 100%;
  border-right: 1px solid #1e293b;
}

.sidebar-header {
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #1e293b;
  flex-shrink: 0;
}

.logo-mark { font-size: 24px; }
.logo-text h2 { font-size: 15px; font-weight: 700; color: #fff; }
.badge-subtle { font-size: 10px; background: #1e293b; color: #38bdf8; padding: 2px 6px; border-radius: 4px; font-weight: 600; }

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 8px;
  flex: 1;
  overflow-y: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
  width: 100%;
}

.nav-item:hover { background: #1e293b; color: #f8fafc; }
.nav-item.active { background: var(--primary); color: #fff; font-weight: 600; }
.nav-icon { font-size: 16px; display: flex; align-items: center; justify-content: center; }

.sidebar-footer {
  padding: 12px 14px;
  border-top: 1px solid #1e293b;
  flex-shrink: 0;
}
.vps-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #94a3b8;
}
.indicator-online {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  overflow: hidden;
  height: 100%;
  min-width: 0;
}

.top-bar {
  padding: 10px 18px;
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.page-title-group h1 { font-size: 17px; font-weight: 700; }
.page-title-group p { font-size: 12px; color: var(--text-muted); }
.top-actions { display: flex; align-items: center; gap: 8px; }

.tab-pane {
  display: none;
  padding: 20px;
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.tab-pane.active { display: block; }
#tab-whatsapp.active { display: flex !important; padding: 0 !important; height: 100%; }

/* Cards & Tables */
.card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  margin-bottom: 16px;
  overflow: hidden;
}

.card-header {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header h3 { font-size: 15px; font-weight: 700; }
.card-body { padding: 18px; }

.data-table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
.data-table th { background: #f8fafc; padding: 10px 12px; font-weight: 600; color: #64748b; border-bottom: 1px solid var(--border-color); }
.data-table td { padding: 10px 12px; border-bottom: 1px solid var(--border-color); vertical-align: middle; }

.badge { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; }
.badge-success { background: #dcfce7; color: #15803d; }
.badge-danger { background: #fee2e2; color: #b91c1c; }
.badge-neutral { background: #f1f5f9; color: #475569; }

.btn { padding: 8px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; border: none; transition: all 0.15s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { background: transparent; border: 1px solid var(--border-color); color: var(--text-primary); }
.btn-outline:hover { background: #f1f5f9; }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-success { background: var(--whatsapp); color: #fff; }
.btn-success:hover { background: var(--whatsapp-hover); }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat-card { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 14px; }
.stat-title { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.stat-val { font-size: 22px; font-weight: 700; color: var(--text-primary); margin-top: 4px; }

.log-viewer {
  background: #0f172a;
  color: #38bdf8;
  padding: 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  max-height: 450px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

/* ============================================================
   WHATSAPP WEB WORKSPACE (/ and /chat and /admin WhatsApp Tab)
   ============================================================ */
.pure-fullscreen {
  width: 100vw;
  height: 100%;
  height: 100dvh;
}

.chat-brand-text { display: flex; flex-direction: column; }
.chat-brand-sub { font-size: 11px; color: #10b981; font-weight: 600; }

.chat-workspace {
  display: flex;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: #fff;
  overflow: hidden;
  position: relative;
}

.chat-sidebar {
  width: 340px;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  background: #fff;
  flex-shrink: 0;
  height: 100%;
  min-height: 0;
}

.chat-sidebar-header {
  padding: 10px 14px;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}

.chat-brand { display: flex; align-items: center; gap: 8px; }
.chat-brand h3 { font-size: 15.5px; font-weight: 700; }
.sidebar-header-actions { display: flex; align-items: center; gap: 6px; }

.btn-icon-round {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.btn-icon-round:hover { background: #e2e8f0; }
.btn-icon-round.notif-enabled { background: #dcfce7; border-color: #86efac; }

/* PWA Notification Prompt Banner */
.pwa-notif-banner {
  background: #f0fdf4;
  border-bottom: 1px solid #bbf7d0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #166534;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.pwa-notif-banner:hover {
  background: #dcfce7;
}
.pwa-notif-btn {
  background: #16a34a;
  color: #fff;
  border: none;
  padding: 5px 12px;
  border-radius: 14px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.pwa-notif-btn:hover {
  background: #15803d;
}

.chat-search {
  padding: 8px 12px;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
  flex-shrink: 0;
}
.chat-search .form-input {
  width: 100%;
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 18px;
  border: 1px solid var(--border-color);
}

.chat-list {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

/* Chat Item List Styles */
.chat-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.1s;
  width: 100%;
}
.chat-list-item:hover { background: #f8fafc; }
.chat-list-item.active { background: #e0f2fe; }

.chat-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.chat-list-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.chat-list-name {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-list-preview {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-list-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
.chat-list-time {
  font-size: 10.5px;
  color: var(--text-muted);
  white-space: nowrap;
}
.chat-badge {
  background: var(--whatsapp);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 10px;
  padding: 1px 6px;
  min-width: 18px;
  text-align: center;
}

/* Right Panel: Active Chat */
.chat-messages-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #efeae2;
  background-image: radial-gradient(#d1d7db 0.75px, transparent 0.75px);
  background-size: 16px 16px;
  height: 100%;
  min-height: 0;
  min-width: 0;
  position: relative;
}

.chat-empty-state, .chat-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  gap: 12px;
  padding: 20px;
  text-align: center;
  background: #f0f2f5;
}
.chat-empty-icon { font-size: 48px; }

.chat-active {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  min-width: 0;
}

.chat-header {
  padding: 9px 14px;
  background: #f0f2f5;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.chat-header-user { display: flex; align-items: center; gap: 8px; min-width: 0; }
.btn-back-to-list {
  background: transparent;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #0f172a;
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  padding: 0;
  margin-right: 2px;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn-back-to-list:hover, .btn-back-to-list:active {
  background: #e2e8f0;
}
.chat-header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0284c7;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.chat-header-info { display: flex; flex-direction: column; min-width: 0; }
.chat-header-name { font-size: 14.5px; font-weight: 700; color: var(--text-primary); }
.chat-header-phone { font-size: 11.5px; color: var(--text-muted); }
.chat-header-actions { display: flex; align-items: center; gap: 8px; }
.in-chat-search { padding: 5px 10px; font-size: 12px; border-radius: 14px; border: 1px solid var(--border-color); outline: none; }

.chat-messages {
  flex: 1;
  padding: 14px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

.msg-bubble-wrap { display: flex; flex-direction: column; max-width: 68%; }
.msg-bubble-wrap.inbound { align-self: flex-start; }
.msg-bubble-wrap.outbound { align-self: flex-end; }

.msg-bubble {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 4px;
}
.msg-bubble.inbound { background: #fff; color: #111827; border-top-left-radius: 0; }
.msg-bubble.outbound { background: var(--whatsapp-bubble-out); color: #111827; border-top-right-radius: 0; }

.msg-delete-btn { position: absolute; top: 3px; right: 5px; background: transparent; border: none; color: #94a3b8; font-size: 13px; cursor: pointer; opacity: 0; }
.msg-bubble:hover .msg-delete-btn { opacity: 1; }
.msg-delete-btn:hover { color: #ef4444; }

.msg-time { font-size: 10px; color: #64748b; margin-top: 2px; padding: 0 4px; }
.msg-bubble-wrap.outbound .msg-time { text-align: right; }
.msg-media-wrap { border-radius: 6px; overflow: hidden; max-width: 280px; }
.msg-image { width: 100%; border-radius: 6px; cursor: pointer; }

/* Document & PDF Card Bubble */
.msg-doc-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.05);
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
  margin-bottom: 4px;
  transition: background 0.15s;
}
.msg-doc-card:hover { background: rgba(0,0,0,0.09); }
.doc-icon { font-size: 28px; line-height: 1; flex-shrink: 0; }
.doc-info { display: flex; flex-direction: column; min-width: 0; }
.doc-name { font-size: 13px; font-weight: 600; color: #0284c7; word-break: break-all; }
.doc-download { font-size: 11px; color: #64748b; margin-top: 2px; font-weight: 500; }

/* Attachment Preview Bar (Photo & PDF) */
.chat-image-preview-bar {
  padding: 8px 14px;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border-color);
  flex-shrink: 0;
}
.chat-image-preview-bar img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; }
.preview-doc-icon { font-size: 28px; line-height: 1; }
.image-preview-info { display: flex; align-items: center; justify-content: space-between; flex: 1; font-size: 12.5px; font-weight: 600; }
.btn-cancel-preview { width: 22px; height: 22px; border-radius: 50%; border: none; background: #94a3b8; color: #fff; cursor: pointer; }

/* Chat Input Area (ALWAYS PINNED BOTTOM) */
.chat-input-area {
  padding: 10px 14px;
  background: #f0f2f5;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  width: 100%;
  position: relative;
  z-index: 20;
}

.chat-attach-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  flex-shrink: 0;
}
.chat-attach-btn:hover { background: #e2e8f0; color: #0f172a; }

.chat-input {
  flex: 1;
  resize: none;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 9px 14px;
  font-size: 14px;
  font-family: var(--font-main);
  background: #fff;
  outline: none;
  min-height: 38px;
  max-height: 100px;
  line-height: 20px;
}

.chat-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.chat-send-btn:hover { background: var(--whatsapp-hover); }

/* Modal & Contact Search Dropdown */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; }
.modal-card { background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 420px; padding: 20px; box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.modal-header h3 { font-size: 16px; font-weight: 700; color: #0f172a; margin: 0; }
.modal-close {
  background: transparent;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s;
}
.modal-close:hover, .modal-close:active {
  background: #f1f5f9;
  color: #0f172a;
}

.contact-search-input-wrap { position: relative; width: 100%; }
.contact-dropdown-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  z-index: 100;
}
.contact-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.1s;
}
.contact-dropdown-item:hover { background: #f0fdf4; }
.contact-mini-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-mini-info { flex: 1; min-width: 0; }
.contact-mini-name { font-size: 13px; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.contact-mini-phone { font-size: 11px; color: var(--text-muted); }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 4px; }
.form-input { width: 100%; padding: 8px 12px; border: 1px solid var(--border-color); border-radius: 6px; font-size: 13.5px; outline: none; }
.form-hint { display: block; margin-top: 4px; }
.w-full { width: 100%; }
.hidden { display: none !important; }

.sidebar-mobile-close { display: none; }
.mobile-admin-header { display: none; }
.sidebar-backdrop { display: none; }

/* Responsive Mobile Layout */
@media (max-width: 768px) {
  .app-layout {
    flex-direction: column;
    height: 100%;
    height: 100dvh;
  }

  .mobile-admin-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    background: #0f172a;
    color: #fff;
    border-bottom: 1px solid #1e293b;
    flex-shrink: 0;
    z-index: 100;
  }

  .mobile-admin-title {
    font-weight: 700;
    font-size: 14px;
    color: #f8fafc;
  }

  .btn-hamburger {
    background: #1e293b;
    border: 1px solid #334155;
    color: #f8fafc;
    font-size: 15px;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
  }

  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 280px;
    height: 100%;
    height: 100dvh;
    z-index: 10000;
    transform: translateX(-100%);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0,0,0,0.6);
    display: flex !important;
  }

  .sidebar.sidebar-open {
    transform: translateX(0);
  }

  .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(2px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .sidebar-backdrop.active {
    opacity: 1;
    pointer-events: auto;
  }

  .sidebar-mobile-close {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 16px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    margin-left: auto;
  }

  .main-content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .chat-workspace {
    position: fixed;
    width: 100vw;
    height: 100%;
    height: 100dvh;
    overflow: hidden;
  }

  .chat-sidebar {
    width: 100vw;
    height: 100%;
    height: 100dvh;
    display: flex;
    flex-shrink: 0;
  }

  .chat-messages-panel {
    display: none;
    width: 100vw;
    height: 100%;
    height: 100dvh;
  }

  .chat-workspace.chat-active-mobile .chat-sidebar {
    display: none !important;
  }

  .chat-workspace.chat-active-mobile .chat-messages-panel {
    display: flex !important;
    width: 100vw;
    height: 100%;
    height: 100dvh;
  }

  .chat-workspace.chat-active-mobile .chat-active {
    display: flex !important;
    width: 100vw;
    height: 100%;
    height: 100dvh;
  }

  .btn-back-to-list {
    display: flex !important;
  }

  .chat-header {
    padding: 8px 12px;
  }

  .in-chat-search {
    width: 90px;
    font-size: 11px;
    padding: 4px 6px;
  }

  .msg-bubble-wrap {
    max-width: 85%;
  }

  .chat-messages {
    padding: 10px 12px;
  }

  .chat-input-area {
    padding: 8px 10px;
    background: #f0f2f5;
  }

  .modal-card {
    max-width: 92%;
    margin: 12px;
    padding: 16px;
  }
}

/* ============================================================
   AUTH LOGIN OVERLAY & USER MANAGEMENT
   ============================================================ */
.auth-login-overlay {
  position: fixed;
  inset: 0;
  background: #0b141a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 16px;
}
.login-card {
  background: #1f2c34;
  color: #e9edef;
  border-radius: 16px;
  width: 100%;
  max-width: 380px;
  padding: 32px 26px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.08);
}
.login-logo {
  text-align: center;
  margin-bottom: 22px;
}
.login-logo h2 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 10px;
}
.login-logo p {
  font-size: 12.5px;
  color: #8696a0;
  margin-top: 4px;
}
.login-card .form-group label {
  color: #8696a0;
  font-size: 12px;
}
.login-card .form-input {
  background: #2a3942;
  border: 1px solid #3b4a54;
  color: #fff;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 8px;
}
.login-card .form-input:focus {
  border-color: #00a884;
}
.login-btn {
  background: #00a884;
  color: #111b21;
  font-weight: 700;
  font-size: 14px;
  padding: 11px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  transition: background 0.15s;
}
.login-btn:hover {
  background: #06cf9c;
}
.login-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  margin-bottom: 14px;
  text-align: center;
}
.user-badge-header {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

