/* ==========================================================================
   KAMUS AKUNTANSI / DICTIONARY STYLES
   Searchable Glossary, Interactive Term Cards, Education Modules
   ========================================================================== */

.dictionary-search-container {
  margin-bottom: 24px;
}

.search-input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-box svg {
  position: absolute;
  left: 16px;
  color: var(--md-sys-color-on-surface-variant);
}

.search-input-box input {
  padding-left: 48px;
  height: 52px;
  border-radius: var(--md-sys-shape-corner-large);
  font-size: 1rem;
}

.dictionary-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.dictionary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.term-card {
  background-color: var(--md-sys-color-surface);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-large);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--md-sys-motion-duration-short);
}

.term-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--md-sys-elevation-2);
  border-color: var(--md-sys-color-primary);
}

.term-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.term-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
}

.term-definition {
  font-size: 0.9rem;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.5;
}

.term-example-box {
  background-color: var(--md-sys-color-surface-container-low);
  border-radius: var(--md-sys-shape-corner-medium);
  padding: 12px 14px;
  font-size: 0.82rem;
  border-left: 3px solid var(--md-sys-color-primary);
  margin-top: auto;
}

.term-example-title {
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
