* {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #4f46e5, #0f172a 50%, #020617);
    color: #e5e7eb;
    min-height: 100vh;
  }
  
  .app-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px 16px 32px;
  }
  
  
  .app-header {
    text-align: center;
    margin-bottom: 24px;
  }
  
  .app-header h1 {
    margin: 0;
    font-size: 28px;
    letter-spacing: 0.03em;
  }
  
  .subtitle {
    margin: 6px 0 0;
    font-size: 14px;
    color: #9ca3af;
  }
  
  
  .card {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 16px;
    padding: 18px 20px 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }
  
  .card h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 20px;
  }
  
  
  .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
  }
  
  .form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .form-field.full-width {
    grid-column: 1 / -1;
  }
  
  label {
    font-size: 13px;
    color: #9ca3af;
  }
  
  input,
  textarea {
    border-radius: 10px;
    border: 1px solid #4b5563;
    background: #020617;
    padding: 8px 10px;
    color: #e5e7eb;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  }
  
  input::placeholder,
  textarea::placeholder {
    color: #6b7280;
  }
  
  input:focus,
  textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.5);
    background: #020617;
  }
  
  
  button {
    border: none;
    border-radius: 999px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #f9fafb;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
  }
  
  button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.45);
  }
  
  button:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
  }
  
  .controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  
  .controls button {
    background: #1f2937;
  }
  
  .controls button:hover {
    background: #111827;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.7);
  }
  
  .btn-accent {
    background: linear-gradient(135deg, #22c55e, #16a34a);
  }
  
  .btn-accent:hover {
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.45);
  }
  
  
  .form-actions {
    margin-top: 6px;
  }
  
  .form-actions.full-width {
    grid-column: 1 / -1;
  }
  
  
  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
  
  .badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.2);
    color: #a5f3fc;
    border: 1px solid rgba(34, 211, 238, 0.4);
  }
  
  .note-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  
  .notes-list {
    margin-top: 10px;
  }
  
  .notes-list > div {
    background: #020617;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 8px;
    border: 1px solid #111827;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .notes-list p {
    margin: 0;
    font-size: 14px;
  }
  
  .notes-list p:nth-child(2) {
    font-size: 12px;
    color: #9ca3af;
  }
  
  .notes-list button {
    margin-top: 6px;
    margin-right: 6px;
    padding-inline: 10px;
    font-size: 12px;
  }
  
  .notes-list button:last-child {
    background: #b91c1c;
  }
  
  .notes-list button:last-child:hover {
    background: #991b1b;
  }
  
  
  #loadQuote {
    margin-bottom: 8px;
  }
  
  .quote-block {
    margin: 0;
    font-size: 14px;
    color: #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    background: #020617;
  }
  
  
  .app-footer {
    margin-top: 20px;
    font-size: 12px;
    text-align: center;
    color: #6b7280;
  }
  
  
  @media (max-width: 600px) {
    .form-grid {
      grid-template-columns: 1fr;
    }
  
    .app-wrapper {
      padding: 16px 12px 24px;
    }
  }
  