:root {
  --sidebar-bg: #2b2b2f;
  --sidebar-text: #c7c9cd;
  --sidebar-text-muted: #9a9ca1;
  --accent-green: #35c780;
  --accent-green-dark: #2ba86a;
  --accent-red: #e2504f;
  --content-bg: #eceef1;
  --header-bg: #ffffff;
  --card-from: #e2504f;
  --card-to: #b6488a;
  --text-dark: #2b2b2f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--content-bg);
  color: var(--text-dark);
}

.layout {
  display: flex;
  min-height: 100vh;
}

/* ---------- Sidebar ---------- */
.sidebar {
  width: 250px;
  flex-shrink: 0;
  background: var(--sidebar-bg);
  padding: 22px 0;
  display: flex;
  flex-direction: column;
}

.sidebar .logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px 28px;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.sidebar .logo svg { flex-shrink: 0; }
.sidebar .logo .logo-eduardo { color: var(--accent-red); }

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  color: var(--sidebar-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-left: 3px solid transparent;
}

.sidebar nav a svg { flex-shrink: 0; opacity: 0.85; }

.sidebar nav a.active {
  color: var(--accent-green);
  border-left-color: var(--accent-green);
  background: rgba(53, 199, 128, 0.08);
}

.sidebar nav a.active svg { opacity: 1; }

.sidebar nav a:hover:not(.active) {
  color: #ffffff;
}

/* ---------- Header ---------- */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.header {
  height: 64px;
  background: var(--header-bg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 0 28px;
}

.header .icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b6f76;
}

.header .flag {
  width: 26px;
  height: 18px;
  border-radius: 3px;
  overflow: hidden;
}

/* ---------- Content ---------- */
.content {
  padding: 32px 36px;
}

.content h1 {
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 24px;
  color: var(--text-dark);
}

/* ---------- Practice zone card ---------- */
.card {
  max-width: 380px;
  border-radius: 10px;
  padding: 22px 24px 26px;
  background: linear-gradient(135deg, var(--card-from) 0%, var(--card-to) 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(180, 60, 100, 0.25);
}

.card .card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
}

.card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 20px;
}

.btn-row {
  display: flex;
  gap: 10px;
}

/* Shared button base */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: 6px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}

/* "New simulation" style button (also used for "Go to practicezone") */
.btn-green {
  background: var(--accent-green);
  color: #ffffff;
}

.btn-green:hover { background: var(--accent-green-dark); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

/* ---------- Practice zone launch section ---------- */
.practicezone-section {
  margin-top: 30px;
  max-width: 380px;
}

.practicezone-section h2 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text-dark);
}

.practicezone-section .hint {
  font-size: 12px;
  color: #6b6f76;
  margin: 0 0 14px;
}

form.practicezone-form { margin: 0; }
