/* Part 1 : Select */

.centered-dropdown {
  display: flex;
  justify-content: center;
  margin: 0 2rem 0 2rem;
}

.dropdown-label {
  font-size: 14px;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
}

.dropdown-list {
  margin: 0.2rem auto;
  max-width: 800px;
  height:700px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--teal);
}


.bookmark-icon {
  font-size: 12px;
}

.word-card {
  background: white;
  border-radius: 12px;
  padding: 18px;
  margin: 0 0 15px 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* Modern Word Card Styles */
.word-card {
  background: white;
  border-radius: 12px;
  padding: 18px;
  margin: 0 0 15px 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.word-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}


/*word-header*/

.word-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.word-header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.word-header-left {
  display: flex;
  align-items: center;
  gap: 10px; 
}

.word-header-right {
  display: flex;
  align-items: center;
  gap: 4px; 
}

/* ID ****************** */

.word-id {
  background: rgb(245, 243, 243);
  color: rgb(63, 65, 66);
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 500;
}


.word-text {
  /* Font styles */
  font-family: 'Arial', sans-serif;  /* Change font */
  font-size: 1.5rem;                 /* Adjust size (1.5x root font) */
  font-weight: 600;                  /* Semi-bold (400=normal, 700=bold) */
  color: #066dc1;                       /* Dark gray text color */
  
  /* Spacing */
  margin: 0;                         /* Remove default h3 margins */
  padding: 0.25em 0;                 /* Add vertical padding */

}

.phonetic {
  color: #1d1e1f;
  font-family: 'Courier New', monospace;
  background: #f8f9fa;
  padding: 1px 4px;
  border-radius: 4px;
  font-size: 0.8em;
}

.pronounce-btn {
  color: #030404;
  border: none; 
}

.pronounce-btn:hover {
  background-color: rgb(8, 212, 212);
}





