/* DFT Reviews — Front-end Styles v1.0.0 */
.dft-rev * { margin: 0; padding: 0; box-sizing: border-box; }
.dft-rev {
  font-family: 'Poppins', sans-serif;
  max-width: 1800px; margin: 0 auto; padding: 40px 24px 60px;
  background: #ffffff;
}

/* Loading */
.dft-rev-loading { text-align: center; padding: 80px 20px; color: #8a94a6; font-size: 14px; }
.dft-rev-spinner {
  width: 36px; height: 36px; margin: 0 auto 16px;
  border: 3px solid #e8f1fb; border-top-color: #5b9bd5;
  border-radius: 50%; animation: dft-spin 0.8s linear infinite;
}
@keyframes dft-spin { to { transform: rotate(360deg); } }

/* Title */
.dft-rev-title {
  font-family: 'Poppins', sans-serif; font-size: 32px; font-weight: 700;
  color: #0a2540; letter-spacing: -0.02em; margin-bottom: 36px;
}
.dft-rev-title span { color: #5b9bd5; }

/* Top layout */
.dft-rev-top { display: flex; gap: 48px; margin-bottom: 36px; flex-wrap: wrap; }

/* Summary card */
.dft-rev-summary {
  flex-shrink: 0; width: 260px;
  background: linear-gradient(145deg, #0a2540, #0f3460);
  border-radius: 20px; padding: 32px; color: #fff;
  position: relative; overflow: hidden;
}
.dft-rev-summary::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(91,155,213,0.15);
}
.dft-rev-summary::after {
  content: ''; position: absolute; bottom: -20px; left: -20px;
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(91,155,213,0.08);
}
.dft-rev-big-num {
  font-family: 'Poppins', sans-serif; font-size: 64px; font-weight: 700;
  line-height: 1; margin-bottom: 6px; position: relative;
}
.dft-rev-stars-big { display: flex; gap: 3px; margin-bottom: 8px; position: relative; }
.dft-rev-stars-big svg { width: 22px; height: 22px; }
.dft-rev-total { font-size: 14px; color: rgba(255,255,255,0.6); position: relative; }
.dft-rev-total strong { color: #fff; font-weight: 600; }

/* Breakdown bars */
.dft-rev-breakdown { margin-top: 24px; position: relative; }
.dft-rev-bar-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
  cursor: pointer; transition: opacity 0.2s;
}
.dft-rev-bar-row:hover { opacity: 0.8; }
.dft-rev-bar-label { font-size: 13px; width: 48px; color: rgba(255,255,255,0.7); }
.dft-rev-bar-track {
  flex: 1; height: 8px; border-radius: 100px;
  background: rgba(255,255,255,0.1); overflow: hidden;
}
.dft-rev-bar-fill {
  height: 100%; border-radius: 100px; background: #5b9bd5;
  transition: width 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
}
.dft-rev-bar-pct { font-size: 12px; width: 40px; text-align: right; color: rgba(255,255,255,0.5); }

/* Controls */
.dft-rev-controls { flex: 1; min-width: 0; }
.dft-rev-mentions-label { font-size: 12px; font-weight: 600; color: #8a94a6; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.dft-rev-mentions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.dft-rev-mention {
  padding: 7px 16px; border-radius: 100px; font-size: 13px; font-weight: 500;
  font-family: 'Poppins', sans-serif;
  background: #f4f6f9; color: #0a2540; border: 1.5px solid transparent;
  cursor: pointer; transition: all 0.2s ease;
}
.dft-rev-mention:hover { background: #e8f1fb; border-color: #5b9bd5; }
.dft-rev-mention.active { background: #0a2540; color: #fff; border-color: #0a2540; }

/* Search */
.dft-rev-search-wrap { position: relative; margin-bottom: 16px; }
.dft-rev-search-wrap svg {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: #8a94a6; pointer-events: none;
}
.dft-rev-search {
  width: 100%; padding: 12px 16px 12px 44px; border-radius: 12px;
  border: 2px solid #e8f1fb; font-size: 14px;
  font-family: 'Poppins', sans-serif; background: #f8fafd;
  color: #0a2540; outline: none; transition: all 0.25s ease;
}
.dft-rev-search:focus { background: #fff; border-color: #5b9bd5; box-shadow: 0 0 0 4px rgba(91,155,213,0.1); }

/* Filters */
.dft-rev-filter-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.dft-rev-filter-label { font-size: 13px; color: #8a94a6; font-weight: 500; }
.dft-rev-select {
  padding: 9px 32px 9px 14px; border-radius: 10px;
  border: 1.5px solid #e8f1fb; font-size: 13px; font-weight: 500;
  font-family: 'Poppins', sans-serif; color: #0a2540;
  background: #f8fafd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%238a94a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  outline: none; transition: all 0.2s ease;
}
.dft-rev-select:focus { border-color: #5b9bd5; box-shadow: 0 0 0 3px rgba(91,155,213,0.1); }

/* Count bar */
.dft-rev-count-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; flex-wrap: wrap; gap: 8px;
}
.dft-rev-showing { font-size: 13px; color: #8a94a6; }
.dft-rev-showing strong { color: #0a2540; }

/* Review cards */
.dft-rev-list { display: flex; flex-direction: column; gap: 16px; }
.dft-rev-card {
  background: #fff; border: 1.5px solid #eef2f7; border-radius: 16px;
  padding: 28px; transition: all 0.3s ease; position: relative;
  opacity: 0; transform: translateY(12px);
}
.dft-rev-card.visible { opacity: 1; transform: translateY(0); }
.dft-rev-card:hover { border-color: #d6e4f0; box-shadow: 0 4px 24px rgba(10,37,64,0.06); }
.dft-rev-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; flex-wrap: wrap; gap: 12px; }
.dft-rev-card-user { display: flex; align-items: center; gap: 14px; }
.dft-rev-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: #ffffff; border: 2px solid #d6dce6;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 15px; color: #8a94a6; flex-shrink: 0;
  letter-spacing: 0.02em;
}
.dft-rev-name { font-weight: 600; font-size: 15px; color: #0a2540; }
.dft-rev-verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; color: #22a56b;
  background: #e8f8f0; padding: 2px 8px; border-radius: 100px;
  margin-left: 8px;
}
.dft-rev-verified svg { width: 12px; height: 12px; }
.dft-rev-lang-pair { font-size: 12.5px; color: #8a94a6; margin-top: 2px; }
.dft-rev-stars { display: flex; gap: 2px; }
.dft-rev-stars svg { width: 18px; height: 18px; }
.dft-rev-text { font-size: 14.5px; color: #3a4a5c; line-height: 1.65; margin-bottom: 14px; }
.dft-rev-card-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.dft-rev-date { font-size: 12px; color: #8a94a6; display: flex; align-items: center; gap: 6px; }
.dft-rev-source {
  font-size: 11px; font-weight: 600; color: #5b9bd5;
  background: #eef4fb; padding: 3px 10px; border-radius: 100px;
}
.dft-rev-helpful {
  display: flex; align-items: center; gap: 6px; font-size: 12px; color: #8a94a6;
  cursor: pointer; padding: 5px 12px; border-radius: 8px; border: 1px solid #eef2f7;
  background: #fff; transition: all 0.2s ease; font-family: 'Poppins', sans-serif;
}
.dft-rev-helpful:hover { border-color: #5b9bd5; color: #5b9bd5; background: #f0f6fc; }
.dft-rev-helpful.liked { border-color: #5b9bd5; color: #5b9bd5; background: #eef4fb; }
.dft-rev-helpful svg { width: 14px; height: 14px; }

/* Load more */
.dft-rev button.dft-rev-load,
.dft-rev button.dft-rev-load:link,
.dft-rev button.dft-rev-load:visited {
  display: block !important; margin: 32px auto 0 !important; padding: 14px 40px !important;
  border-radius: 12px !important; font-size: 14px !important; font-weight: 600 !important;
  font-family: 'Poppins', sans-serif !important;
  background: #0a2540 !important; color: #fff !important; border: none !important; cursor: pointer !important;
  transition: all 0.3s ease !important; text-transform: none !important; letter-spacing: normal !important;
  line-height: 1.4 !important; box-shadow: none !important; outline: none !important;
  -webkit-appearance: none !important; appearance: none !important;
}
.dft-rev button.dft-rev-load:hover,
.dft-rev button.dft-rev-load:focus,
.dft-rev button.dft-rev-load:active {
  background: #5b9bd5 !important; color: #fff !important;
  transform: translateY(-2px) !important; box-shadow: 0 8px 24px rgba(91,155,213,0.3) !important;
}

/* Empty */
.dft-rev-empty { text-align: center; padding: 60px 20px; color: #8a94a6; }
.dft-rev-empty-icon { font-size: 42px; margin-bottom: 12px; opacity: 0.4; }
.dft-rev-empty-title { font-size: 17px; font-weight: 600; color: #0a2540; margin-bottom: 6px; }

/* Responsive */
@media (max-width: 768px) {
  .dft-rev-top { flex-direction: column; }
  .dft-rev-summary { width: 100%; }
  .dft-rev-title { font-size: 26px; }
  .dft-rev-filter-row { width: 100%; }
  .dft-rev-select { flex: 1; }
  .dft-rev-card-top { flex-direction: column; }
}
