body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #07111f;
  color: #f8fafc;
}

.topbar {
  background: #0f172a;
  border-bottom: 1px solid #24324a;
  padding: 0 20px;
}

.topbar-inner {
width: 100%;
max-width: 1000px;
margin: 0 auto;
padding: 24px 0;
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
}

nav {
display: grid;
grid-template-columns: repeat(4, auto);
gap: 10px;
justify-content: end;
}

nav a,
.versions a,
.card a {
  text-decoration: none;
  color: white;
  background: #2a1f13;
  border: 1px solid #8b6b2e;
  padding: 12px 18px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
}

nav a.active,
nav a:hover,
.versions a:hover,
.card a:hover {
  background: #b8872f;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.hero {
  background: #0f1f33;
  border: 1px solid #1e3a5f;
  border-radius: 20px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  padding: 32px;
  margin-bottom: 24px;
}

.hero h2 {
  font-size: 42px;
  margin: 0 0 12px 0;
}

.hero p {
  margin: 0;
  line-height: 1.6;
  max-width: 60ch;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.hero-grid > h2,
.hero-grid > p,
.hero-grid > .versions {
  grid-column: span 2;
}

.hero-grid > .card,
.hero-grid > .versions {
  margin: 0;
}


.card,
.idea-card,
.versions {
  width: auto;
  max-width: 100%;
  background: #0f172a;
  border: 1px solid #26354f;
  border-radius: 20px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  padding: 24px;
  box-sizing: border-box;
}

.card h3,
.idea-card h3,
.versions h3 {
  color: #facc15;
  margin-top: 0;
}

.card p,
.idea-card p,
.versions p {
  line-height: 1.5;
}

.hero-store-link {
  padding-top: 24px;
}

.hero-store-link .card-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}

.hero-store-link .dashboard-button {
  margin-top: auto;
  align-self: flex-start;
}


.btn-toggle,
.idea-form-actions button,
.idea-actions button {
  background: #facc15;
  color: #111827;
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: bold;
  cursor: pointer;
}

.btn-secondary {
  background: #24324a;
  color: #f8fafc;
  border: 1px solid #475569;
}

.btn-danger {
  background: #7f1d1d;
  color: #f8fafc;
}

.form-desplegable {
  display: none;
  margin-top: 12px;
}

.form-desplegable input,
.form-desplegable textarea {
  width: 100%;
  box-sizing: border-box;
  background: #07111f;
  color: #f8fafc;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 12px 14px;
}

.form-desplegable textarea {
  min-height: 110px;
  resize: vertical;
}

.idea-form-actions,
.idea-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.idea-meta {
  color: #cbd5e1;
  font-size: 13px;
}

.idea-body {
  flex: 1;
  line-height: 1.5;
}

@media (max-width: 720px) {
.topbar-inner {
width: 100%;
max-width: 1000px;
margin: 0 auto;
padding: 24px 0;
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
}

  .container {
    padding: 16px;
  }

  .hero {
    padding: 24px;
  }

  .hero h2 {
    font-size: 32px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid > h2,
  .hero-grid > p,
  .hero-grid > .versions {
    grid-column: span 1;
  }

  .ideas-card-header {
    flex-direction: column;
    align-items: stretch;
  }
}

img.logo-header {
  width: 42px !important;
  height: auto !important;
}

.brand .sat-logo-icon {
  width: 34px !important;
  height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  margin-right: 0 !important;
  border-radius: 6px !important;
}

/* HEADER LOGO FINAL */
.brand .logo {
  font-size: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand .logo img {
  width: 34px;
  height: 34px;
  max-width: 34px;
  max-height: 34px;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}

.subheader-nav {
  width: 100%;
  padding: 14px 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(8,16,32,0.95);
}

.subheader-nav .nav-btn {
  text-decoration: none;
  color: #fff;
  background: #2a2118;
  border: 1px solid #9b6a1f;
  padding: 10px 18px;
  border-radius: 12px;
}

.subheader-nav .nav-btn:hover {
  background: #c9932f;
  color: #111;
}

.topbar-inner {
width: 100%;
max-width: 1000px;
margin: 0 auto;
padding: 24px 0;
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
}

@media (max-width: 720px) {
.topbar-inner {
flex-direction: column;
align-items: flex-start;
}

nav {
grid-template-columns: repeat(4, auto);
justify-content: start;
}
}

.oculto {
  display: none !important;
}

.btn-guardar {
  width: 90px;
  height: 34px;
  background: #f4c430;
  color: #111827;
  border: none;
  border-radius: 9px;
  font-weight: 800;
}



/* COD header stack | logo real + SATVIRTUAL debajo */
.brand {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 8px;
}

.brand > div:last-child {
  text-align: center;
}

.brand h1 {
  margin: 0;
}

.brand p {
  margin: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  display: block;
}
