@import url('./variables.css');

/* ================= RESET E CONFIGURAÇÃO GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  min-height: 100vh;
  width: 100vw;
  background-color: #FFDBD0;
  color: #121212;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

/* ================= SIDEBAR (MENU LATERAL) ================= */
.sidebar {
  width: 250px;
  min-width: 250px;
  background-color: #42557a;
  color: #ffffff;
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.sidebar h2 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  color: #ffffff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 0.75rem;
  text-transform: uppercase;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar nav a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  display: block;
}

.sidebar nav a:hover,
.sidebar nav a.active {
  background-color: #b6231f;
  color: #ffffff !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* ================= ÁREA PRINCIPAL ================= */
.main-content {
  flex: 1;
  padding: 2.5rem;
  overflow-y: auto;
  min-height: 100vh;
  position: relative;
  background-color: #FFDBD0;
}

/* Padrão de fundo idêntico, mas sem interferir no conteúdo */
.main-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/img/pattern-carnes-flat.png');
  background-repeat: repeat;
  background-size: 220px;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}

/* ================= CARTÃO DE AJUDA 100% SÓLIDO ================= */
.help-card {
  position: relative;
  z-index: 1;
  background-color: #ffffff !important;
  opacity: 1 !important;
  border-radius: 16px;
  padding: 2.5rem;
  border: 2px solid #cbd5e1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-width: 900px;
  margin: 0 auto;
}

.help-header {
  margin-bottom: 2rem;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 1rem;
}

.help-header h1 {
  font-size: 1.8rem;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.help-header p {
  color: #64748b;
  font-size: 1rem;
}

.help-steps {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.help-step-item {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
}

.step-number-badge {
  background-color: #b6231f;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.2rem;
}

.step-text p {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}