/* ==========================================
   TENGOAPETITO - ESTILOS DE PORTAL PROFESIONAL B2B
   ========================================== */
:root {
  --bg-primary: #070a12;
  --bg-secondary: #0f1523;
  --bg-card: rgba(18, 25, 41, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 107, 0, 0.4);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-orange: #ff6b00;
  --accent-gold: #f59e0b;
  --accent-green: #10b981;
  --danger: #ef4444;
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(255, 107, 0, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 85%, rgba(245, 158, 11, 0.06) 0%, transparent 40%);
}

.portal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
}

.brand-icon {
  font-size: 2rem;
  filter: drop-shadow(0 2px 8px rgba(255, 107, 0, 0.5));
}

.brand-title {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.brand-title span {
  color: var(--accent-orange);
}

.header-tagline {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
}

.portal-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  width: 100%;
  flex: 1;
}

.hero-section {
  text-align: center;
  margin-bottom: 3rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ACCESO DIRECTO */
.admin-access-section {
  max-width: 520px;
  margin: 0 auto 3rem;
}

.access-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.access-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-gold));
}

.access-header {
  text-align: center;
  margin-bottom: 2rem;
}

.access-icon {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.access-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.access-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
}

.access-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-orange);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
}

.auth-error-box {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--danger);
  font-size: 0.85rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  display: none;
  text-align: center;
}

.btn-submit-access {
  background: linear-gradient(135deg, var(--accent-orange), #ea580c);
  color: #fff;
  border: none;
  padding: 0.95rem 1.5rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.35);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-submit-access:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.5);
}

/* PRIVACIDAD */
.privacy-notice-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.notice-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.notice-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #34d399;
  margin-bottom: 0.35rem;
}

.notice-content p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* PILARES */
.platform-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.feat-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
}

.feat-emoji {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.feat-box h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.feat-box p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.portal-footer {
  border-top: 1px solid var(--border-color);
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}
