@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #1B4F72;
  --primary-light: #2980B9;
  --primary-dark: #154360;
  --accent: #27AE60;
  --accent-light: #2ECC71;
  --warning: #F39C12;
  --danger: #E74C3C;
  --info: #3498DB;
  --bg: #F0F4F8;
  --card: #FFFFFF;
  --text: #2C3E50;
  --text-muted: #7F8C8D;
  --border: #E2E8F0;
  --shadow: 0 2px 12px rgba(27,79,114,0.08);
  --shadow-md: 0 4px 20px rgba(27,79,114,0.12);
  --radius: 14px;
  --radius-sm: 8px;
  --nav-h: 68px;
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===== LAYOUT ===== */
.page { max-width: 480px; margin: 0 auto; min-height: 100vh; background: var(--bg); position: relative; }
.page-admin { max-width: 100%; }
.content { padding: 16px; padding-bottom: calc(var(--nav-h) + 16px); }
.content-admin { padding: 20px; }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--primary);
  color: #fff;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar-title { font-size: 17px; font-weight: 700; }
.topbar-sub { font-size: 12px; opacity: 0.75; margin-top: 1px; }
.topbar-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; color: #fff; font-size: 16px; }

/* ===== BOTTOM NAV ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--nav-h);
  background: var(--card);
  border-top: 1px solid var(--border);
  display: flex;
  z-index: 200;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
  border: none;
  background: none;
  padding: 8px 0;
  text-decoration: none;
}
.nav-item .nav-icon { font-size: 20px; transition: transform 0.2s; }
.nav-item.active { color: var(--primary); }
.nav-item.active .nav-icon { transform: translateY(-2px); }

/* ===== CARDS ===== */
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.card-title { font-size: 15px; font-weight: 700; color: var(--text); }
.card-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ===== STATS GRID ===== */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 12px; }
.stat-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-icon { font-size: 22px; margin-bottom: 4px; }
.stat-value { font-size: 22px; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 11px; color: var(--text-muted); font-weight: 500; }

/* ===== BADGES ===== */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.badge-success { background: #D5F5E3; color: #1E8449; }
.badge-warning { background: #FDEBD0; color: #D35400; }
.badge-danger  { background: #FADBD8; color: #C0392B; }
.badge-info    { background: #D6EAF8; color: #1A5276; }
.badge-gray    { background: #EAECEE; color: #5D6D7E; }
.badge-primary { background: #D6EAF8; color: var(--primary); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-accent  { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #219a52; transform: translateY(-1px); }
.btn-danger  { background: var(--danger); color: #fff; }
.btn-success { background: #22c55e; color: #fff; }
.btn-success:hover { background: #16a34a; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 12px; }
.btn-full { width: 100%; }
.btn-ghost { background: var(--bg); color: var(--text); border: 1px solid var(--border); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-label span { color: var(--danger); }
.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border 0.2s;
  outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(27,79,114,0.1); }
.form-control::placeholder { color: #BDC3C7; }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { appearance: none; cursor: pointer; }
.form-hint { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.form-error { font-size: 11px; color: var(--danger); margin-top: 4px; }

/* ===== UPLOAD AREA ===== */
.upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: #FAFBFC;
}
.upload-area:hover, .upload-area.drag-over { border-color: var(--primary); background: rgba(27,79,114,0.04); }
.upload-area input { display: none; }
.upload-icon { font-size: 36px; margin-bottom: 8px; }
.upload-text { font-size: 13px; color: var(--text-muted); }
.upload-preview { margin-top: 12px; border-radius: var(--radius-sm); overflow: hidden; }
.upload-preview img { width: 100%; max-height: 200px; object-fit: cover; }

/* ===== LIST ITEMS ===== */
.list-item {
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 8px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: transform 0.15s;
}
.list-item:active { transform: scale(0.99); }
.list-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.list-icon-blue   { background: #D6EAF8; }
.list-icon-green  { background: #D5F5E3; }
.list-icon-orange { background: #FDEBD0; }
.list-icon-red    { background: #FADBD8; }
.list-icon-purple { background: #E8DAEF; }
.list-body { flex: 1; min-width: 0; }
.list-title { font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-meta  { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ===== SECTION HEADER ===== */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.section-title { font-size: 14px; font-weight: 700; color: var(--text); }
.section-link  { font-size: 12px; color: var(--primary); font-weight: 600; }

/* ===== ALERT BANNER ===== */
.alert { border-radius: var(--radius-sm); padding: 12px 14px; font-size: 13px; margin-bottom: 12px; display: flex; align-items: flex-start; gap: 8px; }
.alert-info    { background: #D6EAF8; color: #1A5276; }
.alert-success { background: #D5F5E3; color: #1E8449; }
.alert-warning { background: #FDEBD0; color: #D35400; }
.alert-danger  { background: #FADBD8; color: #C0392B; }

/* ===== PROGRESS BAR ===== */
.progress-wrap { background: var(--border); border-radius: 20px; height: 8px; overflow: hidden; }
.progress-bar  { height: 100%; border-radius: 20px; transition: width 0.5s ease; }
.progress-primary { background: var(--primary); }
.progress-accent  { background: var(--accent); }
.progress-warning { background: var(--warning); }

/* ===== TABLE ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { background: var(--primary); color: #fff; padding: 12px 14px; text-align: left; font-weight: 600; font-size: 12px; white-space: nowrap; }
td { padding: 11px 14px; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #F8FAFC; }

/* ===== TABS ===== */
.tabs { display: flex; background: var(--card); border-radius: var(--radius); padding: 4px; gap: 4px; margin-bottom: 14px; box-shadow: var(--shadow); }
.tab { flex: 1; text-align: center; padding: 9px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--text-muted); cursor: pointer; border: none; background: none; font-family: inherit; transition: all 0.2s; }
.tab.active { background: var(--primary); color: #fff; box-shadow: 0 2px 8px rgba(27,79,114,0.25); }

/* ===== MODAL ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 500; display: flex; align-items: flex-end; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: var(--card); border-radius: var(--radius) var(--radius) 0 0; padding: 20px; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; transform: translateY(100%); transition: transform 0.3s ease; }
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.modal-title { font-size: 16px; font-weight: 700; }
.modal-close { background: var(--bg); border: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; }

/* ===== CALENDAR ===== */
.calendar { background: var(--card); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-title { font-size: 15px; font-weight: 700; }
.cal-btn { background: var(--bg); border: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; }
.cal-day-name { text-align: center; font-size: 10px; font-weight: 700; color: var(--text-muted); padding: 4px 0; }
.cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 13px; cursor: pointer; transition: all 0.15s; position: relative; }
.cal-day:hover { background: var(--bg); }
.cal-day.today { background: var(--primary); color: #fff; font-weight: 700; }
.cal-day.has-event::after { content: ''; position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.cal-day.today.has-event::after { background: #fff; }
.cal-day.other-month { color: var(--border); }

/* ===== HERO (Landing) ===== */
.hero { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%); color: #fff; padding: 40px 20px 50px; text-align: center; }
.hero-logo { width: 64px; height: 64px; background: rgba(255,255,255,0.15); border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 16px; }
.hero-title { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.hero-sub { font-size: 14px; opacity: 0.85; line-height: 1.6; }

/* ===== SCORE CARD ===== */
.score-ring { display: flex; align-items: center; gap: 14px; }
.ring { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; color: var(--primary); border: 4px solid var(--primary); flex-shrink: 0; }
.score-details { flex: 1; }
.score-label { font-size: 12px; color: var(--text-muted); }
.score-value { font-size: 26px; font-weight: 800; color: var(--primary); }

/* ===== ADMIN SIDEBAR ===== */
.admin-layout { display: flex; min-height: 100vh; }
.sidebar { width: 240px; background: var(--primary-dark); color: #fff; flex-shrink: 0; display: flex; flex-direction: column; position: fixed; top: 0; left: 0; height: 100vh; z-index: 300; transition: transform 0.3s; }
.sidebar-logo { padding: 20px 16px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sidebar-logo-title { font-size: 14px; font-weight: 800; line-height: 1.3; }
.sidebar-logo-sub { font-size: 11px; opacity: 0.6; margin-top: 2px; }
.sidebar-nav { flex: 1; padding: 12px 0; overflow-y: auto; }
.sidebar-nav-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.75); cursor: pointer; border: none; background: none; width: 100%; text-align: left; font-family: inherit; text-decoration: none; transition: all 0.2s; }
.sidebar-nav-item:hover { background: rgba(255,255,255,0.08); color: #fff; }
.sidebar-nav-item.active { background: rgba(255,255,255,0.15); color: #fff; font-weight: 700; border-left: 3px solid var(--accent-light); }
.sidebar-nav-item .nav-icon { font-size: 18px; width: 24px; text-align: center; }
.sidebar-section { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.35); padding: 16px 16px 6px; text-transform: uppercase; letter-spacing: 1px; }
.sidebar-footer { padding: 14px 16px; border-top: 1px solid rgba(255,255,255,0.1); }
.admin-main { margin-left: 240px; flex: 1; min-height: 100vh; background: var(--bg); }
.admin-topbar { background: var(--card); border-bottom: 1px solid var(--border); padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow); }
.admin-page-title { font-size: 18px; font-weight: 700; }
.admin-content { padding: 24px; }
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 299; }

/* ===== MOBILE ADMIN ===== */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.open { display: block; }
  .admin-main { margin-left: 0; }
  .admin-content { padding: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== CHIP / TAG ===== */
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; background: var(--bg); color: var(--text-muted); border: 1px solid var(--border); }

/* ===== EMPTY STATE ===== */
.empty { text-align: center; padding: 40px 20px; color: var(--text-muted); }
.empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.4; }
.empty-text { font-size: 14px; }

/* ===== DIVIDER ===== */
.divider { height: 1px; background: var(--border); margin: 16px 0; }

/* ===== LOADING ===== */
.spinner { width: 36px; height: 36px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 20px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== TOAST ===== */
.toast-container { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 8px; width: calc(100% - 32px); max-width: 420px; }
.toast { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow-md); animation: slideDown 0.3s ease; }
.toast-success { background: var(--accent); color: #fff; }
.toast-error   { background: var(--danger); color: #fff; }
.toast-info    { background: var(--primary); color: #fff; }
@keyframes slideDown { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ===== MULTIPLE CHOICE ===== */
.choice-option { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 8px; cursor: pointer; transition: all 0.2s; }
.choice-option:hover { border-color: var(--primary); background: rgba(27,79,114,0.03); }
.choice-option.selected { border-color: var(--primary); background: rgba(27,79,114,0.07); }
.choice-radio { width: 18px; height: 18px; border: 2px solid var(--border); border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.choice-option.selected .choice-radio { border-color: var(--primary); background: var(--primary); }
.choice-option.selected .choice-radio::after { content: ''; width: 6px; height: 6px; background: #fff; border-radius: 50%; }
.choice-text { font-size: 14px; }

/* ===== AVATAR ===== */
.avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; }

/* ===== ANNOUNCE CARD ===== */
.announce-card { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: #fff; border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.announce-label { font-size: 10px; font-weight: 700; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.announce-title { font-size: 15px; font-weight: 700; }
.announce-body  { font-size: 13px; opacity: 0.9; margin-top: 6px; line-height: 1.5; }

/* ===== MEET CARD ===== */
.meet-card { background: linear-gradient(135deg, #155724, #27AE60); color: #fff; border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.meet-label { font-size: 10px; opacity: 0.75; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.meet-title { font-size: 16px; font-weight: 800; margin: 4px 0; }
.meet-meta  { font-size: 12px; opacity: 0.85; margin-bottom: 12px; }

/* ===== RANKING ===== */
.rank-1 { background: linear-gradient(135deg, #F39C12, #E67E22); }
.rank-2 { background: linear-gradient(135deg, #7F8C8D, #95A5A6); }
.rank-3 { background: linear-gradient(135deg, #A04000, #CB4335); }
.rank-badge { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; flex-shrink: 0; }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-danger { color: var(--danger); }
.text-sm { font-size: 12px; }
.fw-700 { font-weight: 700; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.hidden { display: none !important; }
.w-full { width: 100%; }

/* CHATBOT AI STYLES */
.ai-chatbot-btn {
    position: fixed;
    bottom: 80px; /* Above bottom nav */
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.2s;
}
.ai-chatbot-btn:hover {
    transform: scale(1.1);
}
.ai-chatbot-window {
    position: fixed;
    bottom: 140px;
    right: 20px;
    width: 320px;
    height: 400px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: none; /* hidden by default */
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}
.ai-chatbot-window.active {
    display: flex;
    animation: slideUp 0.3s ease;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.ai-chatbot-header {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}
.ai-chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
}
.ai-chatbot-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8fafc;
}
.chat-bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
    word-wrap: break-word;
}
.chat-bubble.user {
    align-self: flex-end;
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}
.chat-bubble.ai {
    align-self: flex-start;
    background: #fff;
    color: var(--text);
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 4px;
}
.ai-chatbot-input {
    padding: 12px;
    background: white;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 8px;
}
.ai-chatbot-input input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    outline: none;
    font-size: 13px;
}
.ai-chatbot-input button {
    background: var(--primary);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chat-typing {
    align-self: flex-start;
    background: none;
    color: #94a3b8;
    font-size: 12px;
    font-style: italic;
    display: none;
}
@media (max-width: 400px) {
    .ai-chatbot-window {
        width: calc(100vw - 40px);
        bottom: 140px;
    }
}
