::selection {
  background-color: #04644b;
  color: #fff;
}
::-moz-selection {
  background-color: #04644b;
  color: #fff;
}

h1, h2, h3 {
  font-family: 'Rubik', sans-serif;
}

button {
  font-family: 'Poppins', sans-serif;
}

input,
textarea,

#note-content {
  font-family: 'Lora', serif;
}

.customization-container {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.customization-select {
  appearance: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: rgb(55 65 81);
  color:rgb(3 166 120);
  cursor: pointer;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}

.customization-select:focus {
  outline: none;
  border-color: #4a5568;
  box-shadow: 0 0 0 3px rgba(74, 85, 104, 0.2);
}

.column-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  border-radius: 80%;
  -webkit-border-radius: 80%;
  -moz-border-radius: 80%;
  -ms-border-radius: 80%;
  -o-border-radius: 80%;
}

.copy-btn {
  background-color:  rgb(55 65 81);
  border: none;
  color: rgb(3 166 120);
  width: 30px;
  height: 30px;
  border-radius: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  -webkit-border-radius: 20%;
  -moz-border-radius: 20%;
  -ms-border-radius: 20%;
  -o-border-radius: 20%;
}

.copy-btn:hover {
  background-color:  rgb(55 65 81);
}

.copy-btn i {
  font-size: 16px;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 20px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: rgb(3 166 120);
  transition: 0.4s;
  border-radius: 50%;
}

.input-container label {
  color: #9ba2ae;
}

.input-container input,
.input-container textarea {
  background-color: rgb(30 41 59);
  color: #9ba2ae;
  border-color: rgb(51 65 85);
  box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.character-count {
  font-size: 0.75rem;
  color: #d1d5db;
  background-color: rgb(30 41 59);
  border-radius: 0.5rem;
  padding: 0.25rem 0.5rem;
}

.button-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

button {
  border-radius: 0.375rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  border: 1px solid;
  border-color: rgb(55 65 81);
  background-color: rgb(27 31 41);
  color: rgb(3 166 120);
  transition-duration: 0.15s;
  transition-property: color, background-color, border-color, box-shadow, transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

button:hover {
  background-color: rgb(55 65 81);
  color: rgb(3 166 120);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.column {
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 1rem 0;
  border-radius: 8px;
  resize: both;
  overflow: auto;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.word {
  opacity: 0;
  animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  background-color: #1B1F29;
  color: #9ba2ae;
}

.column {
  background-color: #1B1F29;
  box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
}

input,
textarea {
  background-color: #1B1F29;
  color: #9ba2ae;
}

.hidden {
  display: none;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid rgb(3 166 120);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}
  
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#note-content {
  white-space: pre-wrap;
}

.cornell-notes {
  display: flex;
  gap: 20px;
}

.cornell-notes-left {
  flex: 1;
}

.cornell-notes-right {
  flex: 2;
}

.cue ul {
  list-style-type: disc;
  margin-left: 20px;
}

.notes h4 {
  margin-top: 10px;
  margin-bottom: 5px;
}

.notes ul {
  list-style-type: disc;
  margin-left: 20px;
}

.word {
  opacity: 0;
  animation: fadeIn 0.5s ease-in-out forwards;
}

.statistics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgb(55, 65, 81);
  background-color: rgb(27, 31, 41);
  margin-top: 1rem;
}

.statistic {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.statistic .label {
  color: #a1a1aa;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.statistic .value {
  color: #9ba2ae;
  font-size: 1rem;
  font-weight: bold;
}

/* MCQ output */
#mcq-output {
  margin-top: 2rem;
}

#mcq-output h2 {
  font-family: 'Rubik', sans-serif;
  color: #333;
  margin-bottom: 1rem;
}

#mcq-content {
  font-family: 'Poppins', sans-serif;
  color: #333;
}

.mcq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.question {
  box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.question p {
  font-family: 'Rubik', sans-serif;
  color: #e0e0e0;
  margin-bottom: 10px;
}

.question p, .option {
  color: #e0e0e0;
}

.option {
  display: block;
  margin-bottom: 5px;
  font-family: 'Lora', serif;
  color: #9ba2ae;
}

#mcq-content .option input[type="radio"] {
  margin-right: 0.5rem;
}

#answers-output {
  margin-top: 2rem;
}

#answers-output h2 {
  font-family: 'Rubik', sans-serif;
  color: #333;
  margin-bottom: 1rem;
}

#answers-content {
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.question p, .option {
  color: #e0e0e0;
}

.answer {
  background-color: rgb(55, 65, 81);
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 8px;
  color: #e0e0e0;
}

.answer.correct {
  color: rgb(3 166 120);
}

.answer.wrong {
  color:   rgb(3 166 120);
}

/* Spinner */
#loading-spinner {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#loading-spinner .spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #007bff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Horizontal listboxes */
.mb-4 select {
  appearance: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: rgb(55 65 81);
  color:rgb(3 166 120);
  cursor: pointer;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}

.hidden {
  display: none;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  font-family: 'Poppins', sans-serif;
}

.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color:rgb(3 166 120);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

body {
  font-family: 'Poppins', sans-serif;
}

.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: rgb(3 166 120);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.flashcard {
  perspective: 1000px;
}

.flashcard-inner {
  position: relative;
  width: 100%;
  height: 200px;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flashcard:hover .flashcard-inner {
  transform: rotateY(180deg);
}

.flashcard-front,
.flashcard-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
}

.flashcard-back {
  transform: rotateY(180deg);
  background:rgb(55 65 81);
}

.flashcard-front {
  background:rgb(55 65 81);
}

#flashcards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

/* Styles for Mindmap Page */
#mindmap-container {
  width: 100%;
  height: 80vh; /* Make the container responsive */
  position: relative;
}

.mindmap-wrapper {
  width: 100%;
  height: 100vh;
  overflow: auto;
}

.input-container textarea {
  background-color: #1B1F29;
  color: #9ba2ae;
  border-color: rgb(51 65 85);
  box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.button-container button {
  border-radius: 0.375rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  border: 1px solid;
  border-color: rgb(55 65 81);
  background-color: rgb(27 31 41);
  color: rgb(3 166 120);
  transition-duration: 0.15s;
  transition-property: color, background-color, border-color, box-shadow, transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.button-container button:hover {
  background-color: rgb(55 65 81);
  color: rgb(3 166 120);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

#notification {
  background-color: rgb(55 65 81);
  color: rgb(3 166 120);
}

.hidden {
  display: none;
}

.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top: 4px solid rgb(3 166 120);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
