﻿:root {
  --bg: #f7f1e8;
  --panel: #ffffff;
  --ink: #1a1a1d;
  --muted: #5f6368;
  --accent: #0f6f5c;
  --accent-strong: #0b5a4b;
  --accent-alt: #f59d52;
  --border: #e4ddd2;
  --shadow: 0 24px 60px rgba(20, 24, 28, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #fff9f1 0%, #f7f1e8 52%, #f0e8de 100%);
  min-height: 100vh;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 157, 82, 0.22), rgba(245, 157, 82, 0));
  z-index: -1;
  animation: float 12s ease-in-out infinite;
}

body::before {
  top: -150px;
  right: -130px;
}

body::after {
  bottom: -180px;
  left: -120px;
  background: radial-gradient(circle, rgba(15, 111, 92, 0.2), rgba(15, 111, 92, 0));
  animation-delay: 3s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(16px);
  }
  100% {
    transform: translateY(0px);
  }
}

.page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px 24px 56px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.hero-brand {
  display: flex;
  gap: 18px;
  align-items: center;
}

.hero-brand img {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: #fff;
}

.hero-kicker {
  margin: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.hero h1 {
  margin: 6px 0 8px;
  font-size: 2.4rem;
  line-height: 1.1;
}

.hero-status {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: 16px;
  min-width: 220px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.status-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.status-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.layout {
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
  gap: 28px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-strong);
  margin-bottom: 18px;
}

.section {
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border);
  margin-bottom: 20px;
}

.section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.section h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15, 111, 92, 0.12);
  color: var(--accent-strong);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

label {
  font-size: 0.85rem;
  color: var(--muted);
}

input,
select,
textarea {
  font-family: "Noto Sans SC", "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fffdfa;
  width: 100%;
}

.input-with-select {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fffdfa;
  overflow: hidden;
}

.input-with-select input,
.input-with-select select {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 10px 12px;
  width: 100%;
}

.input-with-select select {
  cursor: pointer;
  padding: 0;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%236b6f76' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

.input-with-select:focus-within {
  border-color: rgba(15, 111, 92, 0.6);
  box-shadow: 0 0 0 3px rgba(15, 111, 92, 0.15);
}

textarea {
  resize: vertical;
}

.actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

button {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 10px 14px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 20px rgba(15, 111, 92, 0.25);
}

button.secondary {
  background: #f7f1e7;
  color: var(--accent-strong);
  border: 1px solid rgba(15, 111, 92, 0.3);
}

button.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.tab {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #f6f1e8;
  color: var(--muted);
}

.tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.content-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.content-header h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.content-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-content {
  padding-top: 4px;
}

.tab-content textarea {
  min-height: 320px;
}

.translation {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

.translation h4 {
  margin: 0 0 8px;
}

.product-rows {
  display: grid;
  gap: 16px;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: #fffdfa;
}

.product-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.product-card-header span {
  font-weight: 600;
}

.product-card-grid {
  display: grid;
  gap: 10px;
}

@media (min-width: 720px) {
  .product-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-status {
    width: 100%;
  }
}
