
.toast-container[data-v-20f3eb0e] {
  position: fixed;
  top: 48px; /* Below TitleBar (36px + 12px padding) */
  right: 16px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.toast-item[data-v-20f3eb0e] {
  pointer-events: auto;
  min-width: 300px;
  max-width: 400px;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(22, 27, 34, 0.9); /* More opaque */
  backdrop-filter: blur(12px);
  color: #e6edf3;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left-width: 4px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.toast-item[data-v-20f3eb0e]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    background: rgba(22, 27, 34, 0.98);
}
.toast-content[data-v-20f3eb0e] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.toast-header[data-v-20f3eb0e] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}
.toast-title[data-v-20f3eb0e] {
    font-weight: 600;
    font-size: 13px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Icons for types */
.toast-success .toast-title[data-v-20f3eb0e]::before { content: '✓'; color: #2ea043;
}
.toast-error .toast-title[data-v-20f3eb0e]::before { content: '✕'; color: #f85149;
}
.toast-info .toast-title[data-v-20f3eb0e]::before { 
    content: 'ℹ'; 
    font-family: monospace;
    display: inline-flex;
    width: 16px; 
    height: 16px; 
    background: rgba(88, 166, 255, 0.2); 
    color: #58a6ff; 
    border-radius: 50%;
    align-items: center; 
    justify-content: center;
    font-size: 11px;
}
.toast-warning .toast-title[data-v-20f3eb0e]::before { content: '⚠'; color: #d29922;
}

/* Border Colors */
.toast-success[data-v-20f3eb0e] { border-left-color: #2ea043;
}
.toast-error[data-v-20f3eb0e] { border-left-color: #f85149;
}
.toast-info[data-v-20f3eb0e] { border-left-color: #58a6ff;
}
.toast-warning[data-v-20f3eb0e] { border-left-color: #d29922;
}
.toast-body[data-v-20f3eb0e] {
    font-size: 12px;
    color: #8b949e;
    line-height: 1.4;
    word-break: break-all;
}
.toast-action-btn[data-v-20f3eb0e] {
    background: transparent;
    border: none;
    color: #3fb950;
    padding: 4px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    height: 24px;
    width: 24px;
}
.toast-action-btn[data-v-20f3eb0e]:hover {
    background: rgba(46, 160, 67, 0.2);
    transform: scale(1.1);
}

/* Animations */
.toast-enter-active[data-v-20f3eb0e],
.toast-leave-active[data-v-20f3eb0e] {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast-enter-from[data-v-20f3eb0e] { opacity: 0; transform: translateX(30px) scale(0.95);
}
.toast-leave-to[data-v-20f3eb0e] { opacity: 0; transform: translateX(30px);
}

/* Global style for pages with TitleBar */
.has-titlebar {
  padding-top: 36px;
  min-height: 100vh;
}
/* Main CSS Entry Point */

/* Base Styles (Reset, Typography, etc.) */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  width: 0;
  height: 0;
  background: transparent;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;
  background-color: #1c1c1c;
  color: #f1f1f1;
  margin: 0;
  padding: 0;
}

#app {
  min-height: 100vh;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ee3f4d;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/* File Icons for Vditor Content */

/* PDF Files */

.vditor-reset a[href$=".pdf"] {
  display: inline-flex;
  align-items: center;
  color: #58a6ff !important;
  text-decoration: none;
}

.vditor-reset a[href$=".pdf"]::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e53e3e'%3E%3Cpath d='M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 7.5c0 .83-.67 1.5-1.5 1.5H9v2H7.5V7H10c.83 0 1.5.67 1.5 1.5v2.5zm5 2c0 .83-.67 1.5-1.5 1.5h-2.5V7H15c.83 0 1.5.67 1.5 1.5v3zm4-3H19v1h1.5V11H19v2h-1.5V7h3v1.5zM9 9.5h1v-1H9v1zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm10 5.5h1v-3h-1v3z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Archive Files (ZIP, RAR, GZ, 7Z, TAR) */

.vditor-reset a[href$=".zip"],
.vditor-reset a[href$=".rar"],
.vditor-reset a[href$=".gz"],
.vditor-reset a[href$=".7z"],
.vditor-reset a[href$=".tar"] {
  display: inline-flex;
  align-items: center;
  color: #58a6ff !important;
  text-decoration: none;
}

.vditor-reset a[href$=".zip"]::before,
.vditor-reset a[href$=".rar"]::before,
.vditor-reset a[href$=".gz"]::before,
.vditor-reset a[href$=".7z"]::before,
.vditor-reset a[href$=".tar"]::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  /* Cleaner archive icon (folder) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d69e2e'%3E%3Cpath d='M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-6 10h-6v-2h6v2zm0-4h-6v-2h6v2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Global Overrides (Third-party libraries) */

/* Global Overrides for Third-party Libraries */

/* --- VueDatePicker Overrides (from TodoForm.vue) --- */

.dp__menu {
    z-index: 99999 !important;
}

.dp__outer_menu_wrap {
    z-index: 99999 !important;
}

/* Hide the time toggle button in Date Picker menu */

.hide-time-toggle .dp__action_row {
    display: none !important;
}

.hide-time-toggle .dp__action_buttons {
    display: none !important;
}

.hide-time-toggle .dp__selection_preview {
    display: none !important;
}

/* --- Vditor Overrides (from BlogEditor.vue) --- */

/* Global styles for Vditor Fullscreen override to ensure it escapes all stacking contexts */

.vditor--fullscreen {
    z-index: 99999 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
}

.vditor--fullscreen .vditor-toolbar {
    z-index: 100000 !important;
    position: relative !important;
    top: 0 !important;
    width: 100% !important;
    border-bottom: 1px solid #30363d !important;
    background: #0d1117 !important;
}

.vditor--fullscreen .vditor-content {
    background: #0d1117 !important;
}

/* Page/View Specific Styles (Optional global imports, though mostly handled by components) */

/* @import './views/auth-view.css'; -- Not imported globally as it is used only in auth views */