/* ======== Additional Enhancements ======== */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background: #3498db;
  color: white;
}

/* Focus styles for accessibility */
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #3498db;
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #95a5a6;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #7f8c8d;
}

/* Print styles */
@media print {
  .btn,
  .modal,
  .modal-overlay,
  #Plus,
  #Minus,
  #Delete,
  #deleteNoteBtn {
    display: none !important;
  }
  
  body {
    background: white;
  }
  
  .Subject,
  .Note {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* Loading animation (optional) */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
  /* Uncomment to enable dark mode
  body {
    background: #1a1a1a;
    color: #e0e0e0;
  }
  
  .Subject,
  .Note,
  .modal {
    background: #2d2d2d;
    border-color: #444;
  }
  
  .form-group input,
  .form-group select {
    background: #333;
    border-color: #444;
    color: #e0e0e0;
  }
  */
}