/* ==============================================================================
   Our Days - Clean, Warm & Private Two-Person Workspace
   ============================================================================== */

:root {
  /* Warm paper palette (Light mode default) */
  --bg-app: #FAF9F5;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F4F2EC;
  --bg-card-hover: #F8F7F2;
  --bg-input: #FFFFFF;
  
  --border-subtle: #E8E6DF;
  --border-strong: #D5D2C7;
  
  --text-main: #2C2A26;
  --text-secondary: #747169;
  --text-muted: #A09D94;
  --text-inverse: #FFFFFF;

  --accent-user-a: #C86D51; /* Warm Terracotta */
  --accent-user-b: #3D5A80; /* Slate Ocean */
  
  --accent-primary: #2C2A26;
  --accent-primary-hover: #181715;
  
  --status-done: #588157;
  --status-done-bg: #EDF4ED;
  --status-danger: #C94A4A;
  --status-danger-bg: #FBEBEB;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-modal: 0 16px 36px rgba(0, 0, 0, 0.12);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

/* System Dark Mode */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-app: #151517;
    --bg-card: #1F1F22;
    --bg-card-subtle: #27272B;
    --bg-card-hover: #2B2B30;
    --bg-input: #232327;
    
    --border-subtle: #2E2E34;
    --border-strong: #3F3F47;
    
    --text-main: #EFEFEA;
    --text-secondary: #9E9D97;
    --text-muted: #666560;
    --text-inverse: #151517;

    --accent-user-a: #E07A5F;
    --accent-user-b: #6495ED;
    
    --accent-primary: #ECEBE6;
    --accent-primary-hover: #FFFFFF;
    
    --status-done: #7DB57C;
    --status-done-bg: #1B2B1B;
    --status-danger: #E06464;
    --status-danger-bg: #2C1818;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-modal: 0 16px 40px rgba(0, 0, 0, 0.5);
  }
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-app);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

button, input, textarea, select {
  font-family: inherit;
  color: inherit;
  font-size: 14px;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

a {
  color: inherit;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

/* Container */
.app-container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 64px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ------------------------------------------------------------------------------
   1. Auth View (Sign in)
   ------------------------------------------------------------------------------ */
.auth-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}

.auth-card {
  width: 100%;
  max-width: 380px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.auth-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-card-subtle);
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.auth-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.input-field {
  width: 100%;
  padding: 10px 14px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  outline: none;
  font-size: 15px;
  transition: var(--transition);
}

.input-field:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(44, 42, 38, 0.08);
}

.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  font-size: 12px;
  color: var(--text-secondary);
  padding: 4px;
  border-radius: 4px;
}

.btn-primary {
  width: 100%;
  padding: 12px 18px;
  background-color: var(--accent-primary);
  color: var(--text-inverse);
  font-weight: 600;
  border-radius: var(--radius-md);
  margin-top: 8px;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--accent-primary-hover);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.auth-error {
  margin-top: 14px;
  padding: 10px 12px;
  background-color: var(--status-danger-bg);
  color: var(--status-danger);
  border-radius: var(--radius-sm);
  font-size: 13px;
  text-align: center;
}

/* ------------------------------------------------------------------------------
   2. Main Header & Navigation
   ------------------------------------------------------------------------------ */
.app-header {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-section {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.brand-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.user-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.user-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.user-avatar-initial {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #FFF;
}

.btn-signout {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.btn-signout:hover {
  color: var(--status-danger);
  background-color: var(--bg-card-subtle);
}

/* Navigation tabs (Plans / Diary) */
.nav-tabs {
  display: flex;
  gap: 6px;
  background-color: var(--bg-card-subtle);
  padding: 4px;
  border-radius: var(--radius-md);
  width: fit-content;
  border: 1px solid var(--border-subtle);
}

.nav-tab-btn {
  padding: 6px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-tab-btn.active {
  background-color: var(--bg-card);
  color: var(--text-main);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* ------------------------------------------------------------------------------
   3. Plans Control Toolbar
   ------------------------------------------------------------------------------ */
.plans-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.toolbar-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.toolbar-segmented {
  display: inline-flex;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 3px;
  box-shadow: var(--shadow-sm);
}

.segment-btn {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
}

.segment-btn.active {
  background-color: var(--bg-card-subtle);
  color: var(--text-main);
  font-weight: 600;
}

.toolbar-secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

.filter-pill.active {
  border-color: var(--border-strong);
  color: var(--text-main);
  background-color: var(--bg-card-subtle);
  font-weight: 600;
}

.btn-add-plan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background-color: var(--accent-primary);
  color: var(--text-inverse);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.btn-add-plan:hover {
  background-color: var(--accent-primary-hover);
  transform: translateY(-1px);
}

/* ------------------------------------------------------------------------------
   4. Timeline Group Sections (Today, This Week, Next Week, Later, Past)
   ------------------------------------------------------------------------------ */
.timeline-stream {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.time-group-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.group-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.group-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.group-range-hint {
  font-size: 12px;
  color: var(--text-muted);
}

/* Dual Column for User A & User B inside each group */
.group-user-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 620px) {
  .group-user-columns {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.user-subgroup {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.user-subgroup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--border-subtle);
}

.plans-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Plan Item Card */
.plan-item-card {
  padding: 10px 12px;
  background-color: var(--bg-card-subtle);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  transition: var(--transition);
}

.plan-item-card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-subtle);
}

.plan-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-secondary);
}

.plan-date-badge {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.plan-time-badge {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
}

.plan-main-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.plan-status-btn {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  transition: var(--transition);
}

.plan-status-btn:hover {
  border-color: var(--status-done);
}

.plan-item-card.is-done .plan-status-btn {
  background-color: var(--status-done);
  border-color: var(--status-done);
  color: #FFF;
}

.plan-content-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.plan-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  word-break: break-word;
}

.plan-item-card.is-done .plan-title {
  color: var(--text-muted);
  text-decoration: line-through;
}

.plan-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
}

.plan-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  opacity: 0.3;
  transition: var(--transition);
}

.plan-item-card:hover .plan-actions-row {
  opacity: 1;
}

.action-icon-btn {
  font-size: 11px;
  color: var(--text-secondary);
  padding: 2px 6px;
  border-radius: 4px;
}

.action-icon-btn:hover {
  color: var(--text-main);
  background-color: rgba(0, 0, 0, 0.05);
}

.action-icon-btn.danger:hover {
  color: var(--status-danger);
  background-color: var(--status-danger-bg);
}

.empty-subgroup-hint {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  padding: 10px 0;
  text-align: center;
}

/* ------------------------------------------------------------------------------
   5. Recent Notes Section (Bottom of Plans Home)
   ------------------------------------------------------------------------------ */
.recent-notes-section {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recent-notes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recent-notes-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.recent-notes-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.recent-notes-link:hover {
  color: var(--accent-primary);
  text-decoration: underline;
}

.recent-notes-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.recent-note-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}

.recent-note-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.recent-note-snippet {
  font-size: 13px;
  color: var(--text-main);
  white-space: pre-wrap;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ------------------------------------------------------------------------------
   6. Diary View Page
   ------------------------------------------------------------------------------ */
.diary-page-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.diary-post-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.diary-textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px 14px;
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  resize: vertical;
  font-size: 15px;
  line-height: 1.6;
  outline: none;
}

.diary-textarea:focus {
  border-color: var(--accent-primary);
  background-color: var(--bg-card);
}

.diary-post-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.diary-input-hint {
  font-size: 12px;
  color: var(--text-muted);
}

.btn-post-diary {
  padding: 8px 20px;
  background-color: var(--accent-primary);
  color: var(--text-inverse);
  font-weight: 600;
  font-size: 13px;
  border-radius: var(--radius-full);
}

.btn-post-diary:hover:not(:disabled) {
  background-color: var(--accent-primary-hover);
}

.diary-timeline-feed {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.diary-day-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.diary-date-header {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.diary-day-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.diary-entry-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.diary-entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.diary-author-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.diary-time-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.diary-edited-badge {
  font-size: 11px;
  font-style: italic;
  color: var(--text-muted);
}

.diary-entry-content {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.diary-entry-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 6px;
  border-top: 1px dashed var(--border-subtle);
}

/* ------------------------------------------------------------------------------
   7. Calendar View (Custom lightweight Month Grid)
   ------------------------------------------------------------------------------ */
.calendar-view-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calendar-month-title {
  font-size: 17px;
  font-weight: 700;
}

.calendar-nav-btn {
  padding: 6px 12px;
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
}

.calendar-nav-btn:hover {
  background-color: var(--bg-card-hover);
}

.calendar-grid-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.calendar-grid-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day-cell {
  min-height: 64px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 4px 6px;
  background-color: var(--bg-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
}

.calendar-day-cell:hover {
  border-color: var(--accent-primary);
  background-color: var(--bg-card-hover);
}

.calendar-day-cell.is-other-month {
  opacity: 0.35;
}

.calendar-day-cell.is-today {
  border-color: var(--accent-primary);
  font-weight: 700;
}

.calendar-day-cell.is-selected {
  background-color: var(--bg-card-subtle);
  box-shadow: inset 0 0 0 1px var(--accent-primary);
}

.day-number {
  font-size: 12px;
}

.day-dots-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 10px;
}

.day-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.calendar-day-detail-panel {
  margin-top: 10px;
  padding: 14px;
  background-color: var(--bg-card-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calendar-detail-header {
  font-size: 13px;
  font-weight: 600;
}

/* ------------------------------------------------------------------------------
   8. Modals (Add / Edit Plan & Delete Confirmation)
   ------------------------------------------------------------------------------ */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
  animation: fadeIn 0.15s ease-out;
}

.modal-dialog {
  width: 100%;
  max-width: 440px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-modal);
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.modal-close-btn {
  font-size: 18px;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 4px;
}

.modal-close-btn:hover {
  color: var(--text-main);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

.btn-secondary {
  padding: 9px 16px;
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.btn-secondary:hover {
  background-color: var(--border-subtle);
  color: var(--text-main);
}

.btn-danger {
  padding: 9px 16px;
  background-color: var(--status-danger);
  color: #FFF;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
}

.btn-danger:hover {
  background-color: #B53B3B;
}

/* ------------------------------------------------------------------------------
   9. Toast Notifications
   ------------------------------------------------------------------------------ */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2000;
  pointer-events: none;
}

.toast-item {
  pointer-events: auto;
  background-color: var(--accent-primary);
  color: var(--text-inverse);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  animation: toastIn 0.2s ease-out;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-item.error {
  background-color: var(--status-danger);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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