@tailwind base;
@tailwind components;
@tailwind utilities;

html {
  --cursor-color: #333
}

html.dark-mode {
  --cursor-color: #fff
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  width: 400px;
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.modal-content h3 {
  margin-bottom: 15px;
}

.modal-content button {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.modal-content button:hover {
  background-color: #0056b3;
}

::-webkit-scrollbar {
  width: 12px;
}

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

::-webkit-scrollbar-thumb {
  background-color: #000000;
  border-radius: 10px;
  border: 3px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
  background: #a2a2a2;
}

/* Dark Theme Scrollbar */
body.dark-mode ::-webkit-scrollbar {
  width: 12px;
}

body.dark-mode ::-webkit-scrollbar-track {
  background: #000000;
  /* Black track */
}

body.dark-mode ::-webkit-scrollbar-thumb {
  background-color: #ffffff;
  /* White thumb */
  border-radius: 10px;
  border: 3px solid #1a1a1a;
  /* Dark border for the thumb */
}

body.dark-mode ::-webkit-scrollbar-thumb:hover {
  background: #e5e5e5;
  /* Lighter color on hover */
}