/* === RESET & CONTAINER === */
.gau-tool-container {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  line-height: 1.6;
  color: #1e293b;
}

.gau-tool-container *, .gau-tool-container *::before, .gau-tool-container *::after {
  box-sizing: border-box;
}

/* === HEADER === */
.gau-header {
  background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%);
  padding: 32px 32px 28px;
  text-align: center;
}

.gau-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  margin-bottom: 16px;
}

.gau-icon {
  width: 26px;
  height: 26px;
  color: #fff;
}

.gau-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.gau-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* === FORM === */
.gau-form {
  padding: 28px 32px 24px;
}

.gau-selector-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.gau-selector-group {
  flex: 1;
  min-width: 160px;
}

.gau-selector-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 6px;
}

.gau-select-wrap {
  position: relative;
}

.gau-select-wrap select {
  width: 100%;
  padding: 12px 40px 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  color: #1e293b;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.gau-select-wrap select:hover {
  border-color: #94a3b8;
}

.gau-select-wrap select:focus {
  outline: none;
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
  background: #fff;
}

.gau-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #94a3b8;
  pointer-events: none;
}

/* === BUTTON === */
.gau-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1a73e8, #1557b0);
  color: #fff;
  border: none;
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

.gau-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 115, 232, 0.4);
}

.gau-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(26, 115, 232, 0.3);
}

/* === RESULTS === */
.gau-results {
  padding: 0 32px;
}

.gau-results-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #e2e8f0;
}

.gau-results-count {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
}

.gau-results-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1a73e8;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  min-width: 24px;
  height: 24px;
  border-radius: 12px;
  padding: 0 8px;
}

/* === RESULT CARD === */
.gau-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: gauFadeUp 0.4s ease-out forwards;
  opacity: 0;
}

.gau-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

@keyframes gauFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.gau-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.gau-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.gau-badge-core {
  background: #dcfce7;
  color: #166534;
}

.gau-badge-spam {
  background: #fee2e2;
  color: #991b1b;
}

.gau-badge-review {
  background: #fef3c7;
  color: #92400e;
}

.gau-badge-other {
  background: #e0e7ff;
  color: #3730a3;
}

.gau-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.gau-badge-core .gau-badge-dot { background: #166534; }
.gau-badge-spam .gau-badge-dot { background: #991b1b; }
.gau-badge-review .gau-badge-dot { background: #92400e; }
.gau-badge-other .gau-badge-dot { background: #3730a3; }

.gau-card-date {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

.gau-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
  line-height: 1.35;
}

.gau-card-desc {
  font-size: 0.92rem;
  color: #475569;
  margin-bottom: 16px;
  line-height: 1.65;
}

.gau-card-rollout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.82rem;
  color: #475569;
  margin-bottom: 14px;
}

.gau-card-rollout svg {
  flex-shrink: 0;
}

.gau-card-links {
  border-top: 1px solid #e2e8f0;
  padding-top: 14px;
}

.gau-card-links-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 8px;
}

.gau-card-link {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 5px 0;
  color: #1a73e8;
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.45;
  transition: color 0.2s;
}

.gau-card-link:hover {
  color: #1557b0;
  text-decoration: underline;
}

.gau-card-link svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* === NO RESULTS === */
.gau-no-results {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  animation: gauFadeUp 0.4s ease-out forwards;
}

.gau-no-results-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.gau-no-results h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #92400e;
  margin: 0 0 10px;
}

.gau-no-results p {
  font-size: 0.9rem;
  color: #a16207;
  margin: 0 0 14px;
}

.gau-no-results-reasons {
  text-align: left;
  max-width: 380px;
  margin: 0 auto;
}

.gau-no-results-reason {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 0.88rem;
  color: #78350f;
}

.gau-no-results-reason span {
  color: #f59e0b;
}

/* === VALIDATION === */
.gau-validation {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #991b1b;
  animation: gauShake 0.4s ease;
}

@keyframes gauShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* === FOOTER === */
.gau-footer {
  padding: 16px 32px 24px;
}

.gau-footer p {
  font-size: 0.8rem;
  color: #94a3b8;
  text-align: center;
  margin: 0;
}

/* === RESPONSIVE === */
@media (max-width: 540px) {
  .gau-header {
    padding: 24px 20px 22px;
  }
  .gau-title {
    font-size: 1.25rem;
  }
  .gau-form {
    padding: 22px 20px 18px;
  }
  .gau-results {
    padding: 0 20px;
  }
  .gau-selector-row {
    flex-direction: column;
  }
  .gau-card {
    padding: 18px;
  }
  .gau-footer {
    padding: 14px 20px 20px;
  }
}
