/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%; overflow: hidden;
  font-family: 'Inter', -apple-system, sans-serif;
  background: #1e1e1e; color: #cccccc;
}

/* ── VS Code Shell ────────────────────────────────────── */
.vscode-shell {
  display: flex; flex-direction: column;
  height: 100vh; overflow: hidden;
  position: relative;
}

/* ── Title Bar ────────────────────────────────────────── */
.titlebar {
  display: flex; align-items: center; justify-content: space-between;
  height: 30px; background: #1f1f1f; padding: 0 8px;
  font-size: 12px; color: #999; user-select: none;
  border-bottom: 1px solid #2b2b2b;
  z-index: 100;
}
.titlebar-left { display: flex; align-items: center; gap: 2px; }
.antigravity-logo { margin-right: 8px; }
.titlebar-menu { padding: 2px 6px; border-radius: 3px; cursor: default; }
.titlebar-menu:hover { background: #333; color: #ddd; }
.titlebar-center { position: absolute; left: 50%; transform: translateX(-50%); color: #888; font-size: 12px; }
.titlebar-right { display: flex; gap: 2px; }
.win-btn {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  border-radius: 3px; cursor: pointer; font-size: 11px;
}
.win-btn:hover { background: #333; }
.win-close:hover { background: #c42b1c; color: #fff; }

/* ── Main Layout ──────────────────────────────────────── */
.main-layout {
  flex: 1; display: flex; overflow: hidden;
}

/* ── Activity Bar ─────────────────────────────────────── */
.activity-bar {
  width: 48px; background: #1f1f1f;
  display: flex; flex-direction: column; align-items: center;
  padding-top: 4px; gap: 2px;
  border-right: 1px solid #2b2b2b;
}
.activity-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px; color: #888; cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.activity-icon:hover { color: #ddd; background: #2a2a2a; }
.activity-icon.active { color: #fff; border-left: 2px solid #4285F4; }
.activity-bottom { margin-top: auto; margin-bottom: 8px; }

/* ── Sidebar ──────────────────────────────────────────── */
.sidebar {
  width: 260px; background: #1e1e1e;
  border-right: 1px solid #2b2b2b;
  overflow-y: auto; overflow-x: hidden;
  font-size: 13px;
}
.sidebar-title {
  padding: 10px 14px 6px; font-size: 11px; font-weight: 600;
  color: #888; letter-spacing: 0.08em;
}
.section-header {
  padding: 4px 14px; cursor: pointer; font-size: 11px;
  font-weight: 600; color: #ccc; letter-spacing: 0.04em; user-select: none;
}
.section-header:hover { background: #2a2d2e; }
.chevron {
  display: inline-block; font-size: 8px; margin-right: 4px;
  transition: transform 0.15s;
}
.section-header.open .chevron,
.tree-item.folder.open > .chevron { transform: rotate(90deg); }

.tree-item {
  padding: 3px 8px 3px 24px; cursor: pointer; display: flex;
  align-items: center; gap: 4px; user-select: none;
  white-space: nowrap; font-size: 13px;
}
.tree-item:hover { background: #2a2d2e; }
.tree-item.selected { background: #37373d; color: #fff; }
.tree-children { padding-left: 14px; }
.tree-children.collapsed { display: none; }
.collapsed-folder + .tree-children { display: none; }
.folder-icon { font-size: 14px; }
.file-icon { font-size: 13px; width: 16px; text-align: center; }
.md-icon { color: #519aba; }


/* ── Clickable Items ──────────────────────────────────── */
.tree-item.clickable {
  position: relative;
  border-radius: 4px;
  transition: background 0.2s, box-shadow 0.2s;
}
.tree-item.clickable::after {
  content: '↗';
  position: absolute; right: 12px;
  font-size: 10px; color: #4285F4;
  opacity: 0; transition: opacity 0.2s;
}
.tree-item.clickable:hover {
  background: #2d4a7a33;
  box-shadow: inset 0 0 0 1px #4285F466;
}
.tree-item.clickable:hover::after { opacity: 1; }

/* ── Editor Area ──────────────────────────────────────── */
.editor-area {
  flex: 1; display: flex; flex-direction: column;
  overflow: hidden; min-width: 0;
}
.tab-bar {
  display: flex; background: #1e1e1e; height: 35px;
  border-bottom: 1px solid #2b2b2b; overflow-x: auto;
}
.tab {
  display: flex; align-items: center; gap: 6px;
  padding: 0 14px; font-size: 13px; color: #888;
  border-right: 1px solid #2b2b2b; cursor: pointer; white-space: nowrap;
  min-width: 0; user-select: none;
}
.tab.active { color: #ddd; background: #1f1f1f; border-bottom: 1px solid #4285F4; }
.tab-icon { font-size: 12px; }
.tab-close {
  font-size: 10px; margin-left: 6px; opacity: 0;
  transition: opacity 0.15s; border-radius: 3px; padding: 1px 3px;
}
.tab:hover .tab-close { opacity: 0.6; }

.editor-content {
  flex: 1; overflow: auto; padding: 0;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-size: 13px; line-height: 1.6;
  background: #1e1e1e;
}
.code-view { display: flex; min-height: 100%; }
.line-numbers {
  padding: 12px 12px 12px 16px; text-align: right;
  color: #5a5a5a; user-select: none; min-width: 48px;
  font-size: 13px; line-height: 1.6;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  background: #1e1e1e;
}
.code-body {
  flex: 1; padding: 12px 16px; white-space: pre-wrap;
  word-wrap: break-word; overflow-x: auto;
  font-size: 13px; line-height: 1.6;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
}

/* Syntax colors */
.syn-comment { color: #6a9955; }
.syn-heading { color: #569cd6; font-weight: 700; }
.syn-keyword { color: #c586c0; }
.syn-string { color: #ce9178; }
.syn-bullet { color: #d7ba7d; }
.syn-code { color: #9cdcfe; background: rgba(255,255,255,0.04); padding: 1px 4px; border-radius: 3px; }
.syn-bold { color: #dcdcaa; font-weight: 600; }
.syn-frontmatter { color: #808080; }
.syn-table { color: #b5cea8; }
.syn-link { color: #4fc1ff; text-decoration: underline; }

/* ── Chat Panel ───────────────────────────────────────── */
.chat-panel {
  width: 400px; background: #1f1f1f;
  display: flex; flex-direction: column;
  border-left: 1px solid #2b2b2b;
}
.chat-header {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; font-size: 13px; font-weight: 500; color: #ddd;
  border-bottom: 1px solid #2b2b2b;
}
.chat-model-badge {
  margin-left: auto; font-size: 10px; background: #2d4a7a;
  color: #8bb9fe; padding: 2px 8px; border-radius: 10px; font-weight: 500;
}
.chat-messages {
  flex: 1; overflow-y: auto; padding: 14px;
  display: flex; flex-direction: column; gap: 14px;
}
.chat-msg { display: flex; gap: 10px; }
.chat-msg.user { justify-content: flex-end; }
.chat-avatar { font-size: 18px; min-width: 24px; text-align: center; padding-top: 2px; }
.chat-bubble {
  background: #2a2a2a; border-radius: 10px; padding: 10px 14px;
  font-size: 13px; line-height: 1.5; max-width: 90%;
}
.chat-bubble p { margin-bottom: 8px; }
.chat-bubble p:last-child { margin-bottom: 0; }
.chat-bubble ul { padding-left: 18px; margin-bottom: 8px; }
.chat-bubble li { margin-bottom: 3px; }
.user-bubble { background: #2d4a7a; color: #d4e4ff; border-radius: 10px; padding: 8px 14px; }
.tool-call {
  background: #1a2733; border: 1px solid #2d4a7a; border-radius: 6px;
  padding: 5px 10px; margin-top: 6px; font-size: 12px;
  display: flex; align-items: center; gap: 6px;
}
.tool-call code { color: #9cdcfe; font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.tool-icon { font-size: 11px; }

.chat-input-area {
  padding: 10px 14px;
  border-top: 1px solid #2b2b2b;
  background: #1f1f1f;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.chat-input {
  background: #2a2a2a; border: none;
  border-radius: 8px; padding: 10px 14px; color: #ccc;
  font-size: 13px; font-family: 'Inter', sans-serif; outline: none;
  width: 100%;
}
.chat-input-toolbar {
  display: flex; align-items: center; gap: 4px;
  color: #888; font-size: 11px;
}
.toolbar-btn {
  padding: 4px 8px; border-radius: 4px; cursor: pointer;
  display: flex; align-items: center; gap: 4px;
  transition: background 0.15s, color 0.15s;
}
.toolbar-btn:hover { background: #333; color: #ddd; }
.toolbar-divider { width: 1px; height: 16px; background: #333; margin: 0 4px; }
.toolbar-spacer { flex: 1; }

.model-selector {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 8px; border-radius: 4px; cursor: pointer;
  color: #aaa; transition: background 0.15s;
}
.model-selector:hover { background: #333; color: #fff; }
.model-selector-chevron { font-size: 8px; transform: scale(1.4); margin-bottom: -2px; }
.model-selector-name { font-size: 11px; font-weight: 500; }

.chat-send {
  width: 24px; height: 24px; border-radius: 6px; border: none;
  background: #4285F4; color: #fff; font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.chat-send:disabled { opacity: 0.4; cursor: default; }

/* Model Dropdown */
.model-dropdown {
  position: absolute; bottom: 80px; left: 14px;
  width: 220px; background: #252526;
  border: 1px solid #3c3c3c; border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: none; flex-direction: column;
  padding: 8px 0; z-index: 500;
}
.model-dropdown.show { display: flex; }
.model-dropdown-header {
  padding: 4px 16px 8px; font-size: 11px; color: #666; font-weight: 600;
}
.model-option {
  padding: 8px 16px; font-size: 12px; color: #bbb;
  cursor: pointer; display: flex; align-items: center; justify-content: space-between;
}
.model-option:hover { background: #333; color: #fff; }
.model-option.selected { color: #fff; background: rgba(66, 133, 244, 0.1); }
.model-badge {
  font-size: 9px; background: #333; color: #888;
  padding: 1px 6px; border-radius: 10px; font-weight: 600;
}

/* Mode Dropdown */
.mode-dropdown {
  position: absolute; bottom: 80px; left: 14px;
  width: 320px; background: #1a1a1a;
  border: 1px solid #333; border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  display: none; flex-direction: column;
  padding: 12px 0; z-index: 500;
}
.mode-dropdown.show { display: flex; }
.mode-dropdown-header {
  padding: 4px 16px 12px; font-size: 11px; color: #666; font-weight: 500;
}
.mode-option {
  padding: 12px 16px; cursor: pointer;
  border-left: 2px solid transparent;
}
.mode-option:hover { background: #222; }
.mode-option.selected { background: #252525; border-left-color: #4285F4; }
.mode-title {
  font-size: 13px; font-weight: 600; color: #eee; margin-bottom: 4px;
}
.mode-desc {
  font-size: 11px; color: #888; line-height: 1.5;
}

/* ── Status Bar ───────────────────────────────────────── */
.statusbar {
  display: flex; justify-content: space-between; align-items: center;
  height: 24px; padding: 0 10px;
  background: #4285F4; color: #fff; font-size: 11px;
  z-index: 100;
}
.statusbar-left, .statusbar-right { display: flex; gap: 14px; align-items: center; }
.sb-item { display: flex; align-items: center; gap: 4px; cursor: default; }
.antigravity-status { background: rgba(255,255,255,0.15); padding: 1px 8px; border-radius: 3px; }

/* ── Scrollbar ────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #424242; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

/* ── Gravity Items ────────────────────────────────────── */
.gravity-item {
  transition: none;
}
.gravity-item.falling {
  position: fixed;
  z-index: 50;
  pointer-events: auto;
  will-change: transform;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* ── Reset Button ─────────────────────────────────────── */
.reset-btn {
  position: fixed; bottom: 40px; right: 24px;
  z-index: 200;
  background: linear-gradient(135deg, #4285F4, #34a853);
  color: #fff; border: none; border-radius: 28px;
  padding: 12px 28px; font-size: 14px; font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity 0.4s, transform 0.2s;
  box-shadow: 0 4px 24px rgba(66, 133, 244, 0.4);
}
.reset-btn.visible { opacity: 1; pointer-events: auto; }
.reset-btn:hover { transform: scale(1.05); box-shadow: 0 6px 32px rgba(66, 133, 244, 0.6); }

/* ── Detail Modal ─────────────────────────────────────── */
.detail-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  z-index: 300;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.detail-overlay.open {
  opacity: 1; pointer-events: auto;
}
.detail-modal {
  background: #252526;
  border: 1px solid #3c3c3c;
  border-radius: 12px;
  width: 560px; max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s;
  animation: modalIn 0.3s ease forwards;
}
.detail-overlay.open .detail-modal {
  transform: translateY(0) scale(1);
}
.detail-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid #3c3c3c;
}
.detail-modal-header h2 {
  font-size: 16px; font-weight: 600; color: #ddd;
  display: flex; align-items: center; gap: 8px;
}
.detail-modal-header h2 .folder-badge {
  font-size: 18px;
}
.detail-modal-close {
  width: 28px; height: 28px; border-radius: 6px;
  border: none; background: transparent;
  color: #888; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.detail-modal-close:hover { background: #3c3c3c; color: #ddd; }
.detail-modal-body {
  padding: 20px;
  font-size: 13px; line-height: 1.7; color: #bbb;
}
.detail-modal-body h3 {
  color: #569cd6; font-size: 14px; font-weight: 600;
  margin: 16px 0 8px; padding-bottom: 4px;
  border-bottom: 1px solid #333;
}
.detail-modal-body h3:first-child { margin-top: 0; }
.detail-modal-body ul {
  padding-left: 20px; margin-bottom: 12px;
}
.detail-modal-body li { margin-bottom: 4px; }
.detail-modal-body code {
  color: #9cdcfe; background: rgba(255,255,255,0.06);
  padding: 1px 5px; border-radius: 3px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
}
.detail-modal-body .file-tree {
  background: #1e1e1e; border-radius: 8px;
  padding: 12px 16px; margin: 8px 0 12px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  line-height: 1.8; color: #ccc;
}
.detail-modal-body .file-tree .ft-folder { color: #dcdcaa; }
.detail-modal-body .file-tree .ft-file { color: #9cdcfe; }
.detail-modal-body .file-tree .ft-indent { padding-left: 18px; }
.detail-modal-body .desc-text {
  color: #888; font-style: italic; font-size: 12px;
  margin-bottom: 12px;
}

/* ── Countdown Overlay ────────────────────────────────── */
.countdown-overlay {
  position: fixed; inset: 0; z-index: 150;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.countdown-text {
  font-size: 120px; font-weight: 800;
  font-family: 'Inter', sans-serif;
  color: rgba(255,255,255,0.08);
  text-shadow: 0 0 40px rgba(66,133,244,0.15);
  animation: countPulse 1s ease infinite;
}
@keyframes countPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}
@keyframes modalIn {
  from { transform: translateY(20px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0)    scale(1);    opacity: 1; }
}

/* ── Gravity hint badge ───────────────────────────────── */
.gravity-hint {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 75;
  background: rgba(30,30,30,0.9);
  border: 1px solid #4285F4;
  border-radius: 12px;
  padding: 20px 32px;
  text-align: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s;
}
.gravity-hint.visible { opacity: 1; }
.gravity-hint h3 {
  font-size: 18px; color: #4285F4;
  font-weight: 700; margin-bottom: 6px;
}
.gravity-hint p {
  font-size: 13px; color: #888;
}

/* ── Settings Overlay ────────────────────────────────── */
.settings-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  z-index: 400;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.settings-overlay.open {
  opacity: 1; pointer-events: auto;
}
.settings-window {
  background: #2b2b2b;
  border-radius: 10px;
  width: 780px; max-width: 92vw;
  height: 620px; max-height: 88vh;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.06);
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s;
}
.settings-overlay.open .settings-window {
  transform: translateY(0) scale(1);
}

/* Settings Title Bar */
.settings-titlebar {
  display: flex; align-items: center; justify-content: center;
  height: 32px; background: #1f1f1f;
  border-bottom: 1px solid #3c3c3c;
  position: relative; user-select: none;
  flex-shrink: 0;
}
.settings-titlebar-text {
  font-size: 12px; color: #999;
  font-family: 'Inter', sans-serif;
}
.settings-titlebar-controls {
  position: absolute; right: 0; top: 0;
  display: flex; height: 32px;
}
.settings-win-btn {
  width: 36px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: #888; font-size: 11px; cursor: pointer;
}
.settings-win-btn:hover { background: #3c3c3c; color: #ddd; }
.settings-win-close:hover { background: #c42b1c !important; color: #fff !important; }

/* Settings Body */
.settings-body {
  flex: 1; display: flex; overflow: hidden;
}

/* Settings Sidebar Nav */
.settings-sidebar {
  width: 160px; background: #252525;
  padding: 16px 0; display: flex;
  flex-direction: column; flex-shrink: 0;
  border-right: 1px solid #3c3c3c;
}
.settings-nav-item {
  padding: 6px 20px; font-size: 13px;
  color: #999; cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: color 0.15s, background 0.15s;
  border-left: 3px solid transparent;
}
.settings-nav-item:hover { color: #ddd; background: #333; }
.settings-nav-item.active {
  color: #fff; background: #333;
  border-left-color: #4285F4;
}
.settings-nav-spacer { flex: 1; }
.settings-nav-section {
  padding: 10px 20px; font-size: 13px;
  color: #666; font-family: 'Inter', sans-serif;
}

/* Settings Content */
.settings-content {
  flex: 1; overflow-y: auto; padding: 20px 32px;
}
.settings-content-header {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 20px;
}
.settings-refresh-btn {
  background: transparent; border: 1px solid #555;
  color: #ccc; padding: 6px 18px; border-radius: 6px;
  font-size: 13px; font-family: 'Inter', sans-serif;
  cursor: pointer; transition: background 0.15s, border-color 0.15s;
}
.settings-refresh-btn:hover { background: #3c3c3c; border-color: #777; }

/* Section Labels */
.settings-section-label {
  font-size: 11px; font-weight: 600;
  color: #888; letter-spacing: 0.08em;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}

/* Settings Cards */
.settings-card {
  background: #333; border: 1px solid #444;
  border-radius: 8px; padding: 20px;
  margin-bottom: 24px;
}

/* Toggle Row */
.settings-toggle-row {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 24px;
}
.settings-toggle-title {
  font-size: 14px; font-weight: 600;
  color: #ddd; margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
}
.settings-toggle-desc {
  font-size: 12px; color: #999; line-height: 1.6;
  font-family: 'Inter', sans-serif;
}
.settings-toggle { flex-shrink: 0; padding-top: 2px; }
.settings-toggle-track {
  width: 40px; height: 22px;
  background: #555; border-radius: 11px;
  position: relative; cursor: pointer;
  transition: background 0.2s;
}
.settings-toggle-thumb {
  width: 18px; height: 18px;
  background: #ccc; border-radius: 50%;
  position: absolute; top: 2px; left: 2px;
  transition: transform 0.2s, background 0.2s;
}
.settings-toggle-track.on {
  background: #4285F4;
}
.settings-toggle-track.on .settings-toggle-thumb {
  transform: translateX(18px); background: #fff;
}

/* Quota Card */
.settings-quota-card { padding: 10px 20px; }
.quota-row {
  padding: 14px 0;
  border-bottom: 1px solid #3c3c3c;
}
.quota-row:last-child { border-bottom: none; }
.quota-header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 10px;
}
.quota-model-name {
  font-size: 13px; font-weight: 600;
  color: #ddd; font-family: 'Inter', sans-serif;
}
.quota-refresh {
  font-size: 12px; color: #888;
  font-family: 'Inter', sans-serif;
}
.quota-bars {
  display: flex; gap: 6px;
}
.quota-bar {
  flex: 1; height: 6px;
  background: #555; border-radius: 3px;
}
.quota-bar.used {
  background: #888;
}

/* Footer */
.settings-footer-text {
  font-size: 12px; color: #666;
  line-height: 1.6; margin-top: 4px;
  font-family: 'Inter', sans-serif;
}
.settings-bottom-bar {
  padding: 10px 20px;
  border-top: 1px solid #3c3c3c;
  flex-shrink: 0;
}
.settings-feedback-link {
  font-size: 12px; color: #888;
  cursor: pointer; font-family: 'Inter', sans-serif;
  transition: color 0.15s;
}
.settings-feedback-link:hover { color: #ccc; }

/* ── Quota Notification ────────────────────────── */
.quota-notification {
  position: fixed;
  bottom: 100px;
  right: 420px;
  width: 600px;
  background: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid #3c3c3c;
  border-radius: 8px;
  padding: 16px;
  z-index: 600;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  display: none;
  flex-direction: column;
  gap: 12px;
  animation: slideUp 0.3s ease-out;
}
.quota-notification.show { display: flex; }

.quota-header {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: #fff;
}
.quota-icon { font-size: 12px; opacity: 0.8; }
.quota-body {
  font-size: 13px; color: #888; line-height: 1.5;
}
.quota-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 4px;
}
.quota-footer-right { display: flex; gap: 8px; }

.quota-btn {
  padding: 6px 16px; border-radius: 6px; border: none;
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}
.dismiss-btn { background: #333; color: #ccc; }
.dismiss-btn:hover { background: #444; }
.secondary-btn { background: #252526; color: #888; border: 1px solid #3c3c3c; padding: 5px 15px; }
.secondary-btn:hover { background: #333; color: #ccc; }
.primary-btn { background: #4285F4; color: #fff; }
.primary-btn:hover { opacity: 0.9; }

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
