/* Toolline Word Counter page */

.wc-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.wc-hero-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: linear-gradient(135deg, #56afff 0%, #2f82f5 100%);
  color: #fff;
  box-shadow: 0 18px 34px rgba(76, 114, 232, 0.24);
}

.wc-hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.wc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(190,201,240,0.55);
  color: #55608f;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(113,124,171,0.08);
}

.wc-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  color: #6d7395;
  font-size: 0.94rem;
}

.wc-breadcrumb a:hover { color: var(--primary); }

.wc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
}

.wc-stats-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wc-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.wc-eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7b84b2;
  margin-bottom: 8px;
}

.wc-panel h2 {
  margin: 0;
  font-family: 'Syne', Arial, sans-serif;
  font-size: clamp(1.35rem, 1.2rem + 0.4vw, 1.7rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #2d2f63;
}

.wc-textarea {
  width: 100%;
  min-height: 360px;
  resize: vertical;
  border: 1.5px solid rgba(190,201,240,0.6);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  padding: 22px 20px;
  color: var(--text);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wc-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(90,132,255,0.10);
}

.wc-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.wc-file-label,
.wc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.wc-file-label,
.wc-btn-secondary {
  background: #fff;
  border: 1.5px solid rgba(190,201,240,0.65);
  color: #55608f;
  box-shadow: 0 8px 18px rgba(113,124,171,0.07);
}

.wc-file-label:hover,
.wc-btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.wc-btn {
  border: none;
}

.wc-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wc-stat-card,
.wc-extra-box,
.wc-time-box,
.wc-related-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  border: 1px solid rgba(210,220,244,0.85);
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(113,124,171,0.07);
}

.wc-stat-card {
  min-height: 132px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.wc-stat-value {
  font-family: 'Syne', Arial, sans-serif;
  font-size: clamp(2rem, 1.75rem + 0.7vw, 2.7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #3f6fe2;
}

.wc-stat-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #7b84b2;
}

.wc-extra-grid,
.wc-time-grid,
.wc-related-grid {
  display: grid;
  gap: 14px;
}

.wc-extra-grid,
.wc-time-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.wc-extra-box,
.wc-time-box {
  padding: 18px;
}

.wc-extra-label,
.time-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7b84b2;
  font-weight: 800;
  margin-bottom: 8px;
}

.wc-extra-value,
.wc-time-value {
  font-family: 'Syne', Arial, sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.wc-extra-value {
  font-size: 1.7rem;
  color: #2d2f63;
}

.wc-time-value {
  font-size: 1.6rem;
}

.wc-time-value-primary { color: #4d70e3; }
.wc-time-value-accent { color: #13b89b; }

.wc-related {
  grid-column: 1 / -1;
}

.wc-related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wc-related-card {
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.wc-related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(130,160,255,0.55);
  box-shadow: 0 16px 30px rgba(90,132,255,0.12);
}

.wc-related-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef3ff 0%, #dfe8ff 100%);
  font-size: 1.15rem;
}

.wc-related-name {
  font-weight: 800;
  color: #2d2f63;
  line-height: 1.25;
}

.wc-footer {
  width: calc(100% - 24px);
  margin: 0 12px 32px;
  padding: 26px 28px;
  border-radius: 30px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(210,220,244,0.75);
  box-shadow: 0 12px 28px rgba(113,124,171,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: #6d7395;
}

.wc-footer p {
  margin: 0;
  font-weight: 700;
}

.wc-footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.wc-footer-links a:hover {
  color: var(--primary);
}

@media (max-width: 1100px) {
  .wc-layout {
    grid-template-columns: 1fr;
  }

  .wc-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .wc-stats-grid,
  .wc-extra-grid,
  .wc-time-grid,
  .wc-related-grid {
    grid-template-columns: 1fr;
  }

  .wc-textarea {
    min-height: 280px;
  }

  .wc-footer {
    padding: 22px 20px;
  }
}
