/* ==========================================================================
   GymDiet Master — Notes & Fitness Journal (Заметки и фитнес-дневник)
   Matches the standalone dark neon UI/UX design specifications.
   ========================================================================== */

/* ── Screen Container & Layout ── */
#screen-notes,
#screen-note-editor,
#screen-note-view {
  padding: 0 0 96px 0 !important;
  max-width: 100% !important;
  margin: 0 auto;
  min-height: 100vh;
  box-sizing: border-box;
  background-color: #000000 !important;
  background: #000000 !important;
  color: #f3f4f6;
  font-family: 'Manrope', 'Inter', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── Standard App Header (identical to Water) ── */
#screen-notes > .header,
#screen-note-editor > .header,
#screen-note-view > .header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px;
  margin: 0 !important;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 12px !important;
  background: #000000 !important;
  background-color: #000000 !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

:root:not([data-theme='light']) #screen-notes > .header .screen-title,
:root:not([data-theme='light']) #screen-note-editor > .header .screen-title,
:root:not([data-theme='light']) #screen-note-view > .header .screen-title {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 !important;
  text-align: center !important;
  flex: 1 !important;
}

.notes-btn-create {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(0, 240, 118, 0.15);
  border: 1px solid rgba(0, 240, 118, 0.35);
  color: #00f076;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(0, 240, 118, 0.15);
  flex: none;
}

.notes-btn-create:hover,
.notes-btn-create:active {
  background: #00f076;
  color: #0b0f10;
  transform: scale(1.04);
}

.notes-btn-create svg {
  width: 22px;
  height: 22px;
}

/* ── Search & Filter Bar ── */
.notes-search-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.notes-search-bar {
  flex: 1;
  display: flex;
  align-items: center;
  background: rgba(22, 27, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 14px;
  transition: border-color 0.2s;
}

.notes-search-bar:focus-within {
  border-color: rgba(0, 240, 118, 0.5);
  box-shadow: 0 0 0 2px rgba(0, 240, 118, 0.15);
}

.notes-search-bar svg {
  width: 18px;
  height: 18px;
  color: #64748b;
  margin-right: 10px;
  flex-shrink: 0;
}

.notes-search-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  color: #f1f5f9;
  font-family: inherit;
}

.notes-search-input::placeholder {
  color: #64748b;
}

.notes-filter-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(22, 27, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.notes-filter-btn:hover {
  color: #00f076;
  border-color: rgba(0, 240, 118, 0.3);
}

/* ── Category Chips ── */
.notes-categories-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 14px;
  margin-bottom: 12px;
  scrollbar-width: none;
}

.notes-categories-scroll::-webkit-scrollbar {
  display: none;
}

.notes-category-chip {
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(26, 32, 44, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s;
}

.notes-category-chip.active {
  background: var(--primary, #00f076) !important;
  color: var(--text-on-accent, #0b0f10) !important;
  border-color: var(--primary, #00f076) !important;
  font-weight: 700;
  box-shadow: 0 2px 10px var(--primary-glow, rgba(0, 240, 118, 0.25)) !important;
}

/* ── Section Dividers & Grouping ── */
.notes-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin: 18px 0 10px 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.notes-section-title svg {
  width: 14px;
  height: 14px;
  color: #00f076;
}

/* ── Note Card ── */
.notes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.note-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(180deg, rgba(23, 29, 39, 0.85) 0%, rgba(17, 22, 30, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.note-card:hover,
.note-card:active {
  transform: translateY(-2px);
  border-color: rgba(0, 240, 118, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.note-card.is-pinned {
  border-color: rgba(0, 240, 118, 0.2);
  background: linear-gradient(180deg, rgba(28, 38, 48, 0.85) 0%, rgba(18, 26, 36, 0.95) 100%);
}

.note-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(0, 240, 118, 0.12);
  border: 1px solid rgba(0, 240, 118, 0.22);
  color: #00f076;
}

.note-card-icon.cat-workouts,
.note-card-icon.cat-nutrition,
.note-card-icon.cat-goals,
.note-card-icon.cat-personal {
  background: rgba(0, 240, 118, 0.12);
  border: 1px solid rgba(0, 240, 118, 0.22);
  color: #00f076;
}

.note-card-body {
  flex: 1;
  min-width: 0;
}

.note-card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.note-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.note-card-pin {
  color: #00f076;
  display: flex;
  align-items: center;
}

.note-card-pin svg {
  width: 14px;
  height: 14px;
}

.note-card-snippet {
  font-size: 13px;
  color: #94a3b8;
  margin: 0 0 8px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.note-card-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.note-card-thumbnail {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Editor Screen Top Bar ── */
.note-editor-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-top: 4px;
}

.note-btn-cancel {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
}

.note-btn-cancel:hover {
  color: #ffffff;
}

.note-btn-save {
  background: #00f076;
  border: none;
  border-radius: 9999px;
  color: #0b0f10;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 20px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
  box-shadow: 0 2px 10px rgba(0, 240, 118, 0.3);
}

.note-btn-save:hover,
.note-btn-save:active {
  transform: scale(1.03);
  background: #25f488;
}

/* ── Editor Inputs & Toolbar ── */
.note-title-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  font-family: inherit;
}

.note-title-input::placeholder {
  color: #475569;
}

.note-editor-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.note-category-select-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #c084fc;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.note-pin-toggle-btn {
  background: rgba(26, 32, 44, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}

.note-pin-toggle-btn.active {
  color: #00f076;
  border-color: rgba(0, 240, 118, 0.4);
  background: rgba(0, 240, 118, 0.12);
}

/* ── Rich Text Toolbar ── */
.note-formatting-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(22, 27, 34, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 6px 8px;
  margin-bottom: 16px;
  overflow-x: auto;
}

.toolbar-tool-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 6px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  box-sizing: border-box;
}

.toolbar-tool-btn:hover {
  color: #00f076;
  background: rgba(255, 255, 255, 0.05);
}

.toolbar-layout-toggle-btn {
  width: auto;
  min-width: 64px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(0, 240, 118, 0.45);
  background: rgba(0, 240, 118, 0.15);
  color: #00f076;
  border-radius: 8px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 240, 118, 0.15);
}

.toolbar-layout-toggle-btn.en-mode {
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  box-shadow: none;
}

.toolbar-layout-fix-btn {
  width: auto;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  border-radius: 8px;
  white-space: nowrap;
  cursor: pointer;
}

.toolbar-layout-fix-btn:hover {
  border-color: rgba(0, 240, 118, 0.4);
  color: #00f076;
  background: rgba(0, 240, 118, 0.08);
}

.toolbar-kb-btn {
  font-size: 15px;
}

/* ── On-Screen Cyrillic Keypad ── */
.notes-virtual-keyboard {
  background: rgba(15, 20, 28, 0.98);
  border: 1px solid rgba(0, 240, 118, 0.25);
  border-radius: 14px;
  padding: 10px 6px;
  margin-bottom: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  user-select: none;
  -webkit-user-select: none;
}

.vk-row {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-bottom: 5px;
}

.vk-row:last-child {
  margin-bottom: 0;
}

.vk-key {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  border-radius: 6px;
  min-width: 24px;
  height: 36px;
  padding: 0 3px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.1s ease;
  flex: 1;
  max-width: 38px;
}

.vk-key:hover, .vk-key:active {
  background: rgba(0, 240, 118, 0.25);
  border-color: #00f076;
  color: #ffffff;
  transform: translateY(-1px);
}

.vk-key.vk-key-special {
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  padding: 0 6px;
  min-width: 40px;
  max-width: 52px;
}

.vk-key.vk-key-space {
  flex: 3;
  max-width: 140px;
}

.vk-key.vk-key-shift.active {
  background: rgba(0, 240, 118, 0.3);
  border-color: #00f076;
  color: #00f076;
}

.note-body-textarea {
  width: 100%;
  min-height: 100px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  line-height: 1.6;
  color: #e2e8f0;
  font-family: inherit;
  resize: vertical;
  margin-bottom: 16px;
}

/* ── Checklist Builder ── */
.note-checklist-container {
  margin-bottom: 20px;
}

.note-checklist-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.note-checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.note-check-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  background: transparent;
}

.note-check-box.checked {
  background: #00f076;
  border-color: #00f076;
}

.note-check-box svg {
  width: 13px;
  height: 13px;
  color: #0b0f10;
  display: none;
}

.note-check-box.checked svg {
  display: block;
}

.note-checklist-text {
  flex: 1;
  font-size: 14px;
  color: #cbd5e1;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
}

.note-checklist-text.checked {
  text-decoration: line-through;
  color: #64748b;
}

.note-add-checklist-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #00f076;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 0;
  margin-top: 4px;
}

/* ── Media & Mini-Chart Carousel ── */
.note-media-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.note-chart-widget-card {
  flex-shrink: 0;
  width: 170px;
  height: 100px;
  background: rgba(22, 28, 38, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px;
  box-sizing: border-box;
}

.note-chart-widget-title {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 6px;
}

.note-add-media-slot {
  flex-shrink: 0;
  width: 80px;
  height: 100px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}

.note-add-media-slot:hover {
  border-color: #00f076;
  color: #00f076;
}

/* ── Linked Telemetry Data (Связанные данные) ── */
.note-telemetry-section {
  margin-bottom: 24px;
}

.note-telemetry-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.note-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.telemetry-tile {
  background: rgba(22, 28, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 12px 8px;
  text-align: center;
  box-sizing: border-box;
}

.telemetry-tile-icon {
  margin-bottom: 6px;
  display: flex;
  justify-content: center;
}

.telemetry-tile-icon svg {
  width: 18px;
  height: 18px;
}

.telemetry-tile.dur .telemetry-tile-icon { color: #00f076; }
.telemetry-tile.cal .telemetry-tile-icon { color: #f97316; }
.telemetry-tile.wt  .telemetry-tile-icon { color: #10b981; }
.telemetry-tile.diff .telemetry-tile-icon { color: #22c55e; }

.telemetry-tile-value {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.telemetry-tile-label {
  font-size: 10px;
  color: #64748b;
  font-weight: 600;
}

.telemetry-input-field {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  padding: 2px 0;
  font-family: inherit;
}

/* ── Voice Note Button ── */
.note-voice-btn {
  width: 100%;
  padding: 14px 20px;
  border-radius: 9999px;
  background: rgba(0, 240, 118, 0.08);
  border: 1px solid rgba(0, 240, 118, 0.35);
  color: #00f076;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.note-voice-btn:hover {
  background: rgba(0, 240, 118, 0.18);
  transform: translateY(-1px);
}

.note-voice-btn.recording {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
  animation: pulse-recording 1.5s infinite;
}

@keyframes pulse-recording {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* ── Viewer Screen ── */
.note-view-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.note-view-back-btn,
.note-view-action-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(22, 27, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.note-view-back-btn:hover,
.note-view-action-btn:hover {
  color: #00f076;
}

.note-view-header-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.note-view-icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 240, 118, 0.15);
  color: #00f076;
  flex-shrink: 0;
}

.note-view-icon-badge svg {
  width: 26px;
  height: 26px;
}

.note-view-title-wrap {
  flex: 1;
}

.note-view-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.note-view-tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.note-view-badge-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
}

.note-view-datetime {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 16px;
}

.note-view-content-body {
  font-size: 15px;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 20px;
  white-space: pre-wrap;
}

.note-view-stats-line {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  margin: 16px 0;
  padding: 8px 12px;
  background: rgba(22, 28, 38, 0.6);
  border-radius: 10px;
  display: inline-block;
}

.note-view-stats-line span.label-green {
  color: #00f076;
}

/* ── Interactive SVG Chart ── */
.note-full-chart-card {
  background: rgba(22, 28, 38, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 24px;
}

.note-full-chart-title {
  font-size: 13px;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 12px;
}

.note-chart-svg {
  width: 100%;
  height: 120px;
  overflow: visible;
}

/* ── View Bottom Actions ── */
.note-view-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.note-btn-share {
  flex: 1;
  padding: 14px;
  background: #00f076;
  border: none;
  border-radius: 16px;
  color: #0b0f10;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
  box-shadow: 0 4px 16px rgba(0, 240, 118, 0.25);
}

.note-btn-share:hover,
.note-btn-share:active {
  background: #25f488;
  transform: scale(1.02);
}

.note-btn-delete {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.note-btn-delete:hover,
.note-btn-delete:active {
  background: #ef4444;
  color: #ffffff;
}

/* ── Empty State ── */
.notes-empty-state {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 60px 16px !important;
  min-height: 48vh !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 460px !important;
  box-sizing: border-box !important;
  color: #64748b;
}

.notes-empty-state svg {
  display: block !important;
  margin: 0 auto 16px auto !important;
  width: 52px !important;
  height: 52px !important;
  color: #475569;
}

.notes-empty-state h3 {
  font-size: 16px;
  font-weight: 700;
  color: #cbd5e1;
  margin: 0 0 6px 0;
}

.notes-empty-state p {
  font-size: 13px;
  margin: 0;
}

/* ── Daily Notes / Medication & Habits ── */
.note-card-icon.cat-daily {
  background: rgba(0, 240, 118, 0.16) !important;
  border: 1px solid rgba(0, 240, 118, 0.35) !important;
  color: #00f076 !important;
}

.note-card-badge-daily {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(0, 240, 118, 0.14);
  border: 1px solid rgba(0, 240, 118, 0.28);
  color: #00f076;
}

.btn-daily-check-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #cbd5e1;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.btn-daily-check-card:hover,
.btn-daily-check-card:active {
  background: rgba(0, 240, 118, 0.15);
  border-color: rgba(0, 240, 118, 0.4);
  color: #00f076;
  transform: scale(1.02);
}

.btn-daily-check-card.checked {
  background: rgba(0, 240, 118, 0.18);
  border-color: #00f076;
  color: #00f076;
}

.note-daily-settings-card {
  margin: 12px 0 16px;
  background: rgba(0, 240, 118, 0.06);
  border: 1px solid rgba(0, 240, 118, 0.28);
  border-radius: 16px;
  padding: 14px 16px;
  box-sizing: border-box;
}

.btn-daily-preset {
  padding: 6px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.btn-daily-preset:hover,
.btn-daily-preset:active {
  background: rgba(0, 240, 118, 0.2);
  border-color: #00f076;
  color: #00f076;
  transform: translateY(-1px);
}

.note-view-daily-banner {
  margin: 14px 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.note-view-daily-banner:hover {
  border-color: rgba(0, 240, 118, 0.4);
}

.note-view-daily-banner.completed {
  background: rgba(0, 240, 118, 0.15);
  border-color: #00f076;
}
