  body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f9fa;
    transition: background-color 0.3s, color 0.3s;
  }
  .dark-mode {
    background-color: #121212 !important;
    color: #f1f1f1 !important;
  }
  .navbar {
    background: linear-gradient(90deg, #ffc107 0%, #ff9800 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  .note-card {
    border-left: 5px solid #ffc107;
    background: #fff;
    cursor: pointer;
    min-height: 140px;
    transition: all 0.2s ease-in-out;
    border-radius: 8px;
    padding: 15px;
    position: relative;
    animation: fadeIn 0.4s ease;
  }
  .note-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    background-color: #fff8dc;
    transform: scale(1.02);
  }
  .dark-mode .note-card {
    background-color: #1e1e1e;
    border-left-color: #ffca2c;
    color: #fff;
  }
  .dark-mode .note-card:hover {
    background-color: #2c2c2c;
  }
  .note-label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-right: 6px;
    margin-bottom: 5px;
    font-weight: 600;
  }
  .note-label[data-color="yellow"] { background: #fff9c4; color: #b8860b; }
  .note-label[data-color="red"] { background: #ffcdd2; color: #c62828; }
  .note-label[data-color="green"] { background: #c8e6c9; color: #388e3c; }
  .note-label[data-color="blue"] { background: #bbdefb; color: #1565c0; }
  .note-label[data-color="purple"] { background: #e1bee7; color: #6a1b9a; }
  .note-pin {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.3rem;
    color: #ff9800;
    cursor: pointer;
  }
  .note-timestamp {
    font-size: 0.75rem;
    color: #888;
    margin-top: 6px;
  }
  .btn-darkmode,
  .settings-btn {
    position: fixed;
    top: 20px;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    z-index: 1000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  .btn-darkmode { right: 20px; }
  .settings-btn { top: 80px; right: 20px; background: #fff; }
  .search-bar {
    max-width: 480px;
    margin: 0 auto 1.5rem auto;
  }
  .toast-container {
    position: fixed;
    top: 80px;
    right: 30px;
    z-index: 2000;
  }
  .empty-illustration {
    display: block;
    margin: 2rem auto;
    max-width: 200px;
    opacity: 0.7;
  }
  .form-select,
  .form-control,
  .btn {
    border-radius: 6px !important;
  }
  .note-actions button {
    width: 100%;
  }
  @keyframes fadeIn {
    0% {opacity: 0; transform: translateY(20px);}
    100% {opacity: 1; transform: translateY(0);}
  }