/* ===================================================
   SantaApp Contratos — Additional Responsive Styles
   =================================================== */

/* ── ADMIN MOBILE ── */
@media (max-width: 768px) {
  .admin-layout {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    min-width: auto;
    display: block;
    height: auto;
  }

  .sidebar-nav {
    display: none;
  }
  
  .sidebar.open .sidebar-nav {
    display: block;
  }

  .admin-main {
    min-height: calc(100vh - 64px);
  }
  
  .admin-content {
    padding: 1rem;
  }
  
  .kanban-board {
    flex-direction: column;
  }
  
  .kanban-col {
    min-width: auto;
    max-width: 100%;
  }

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

/* ── PRICING MOBILE ── */
@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .contract-signatures {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ── IMPROVED CARD STYLES ── */
.card-section {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: white;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.card-section-header {
  padding: 1rem 1.5rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-section-header h3 {
  font-size: 14px;
  font-weight: 700;
}

.card-section-body {
  padding: 1.5rem;
}

/* ── GRADIENT HERO ── */
.hero-gradient {
  background: linear-gradient(135deg, #1C1C1E 0%, #3A3A3C 60%, #F5C518 100%);
  color: white;
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* ── STAT CARD ── */
.stat-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.25rem;
  transition: all 0.2s;
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

/* ── NUMBERED LIST ── */
.numbered-list {
  list-style: none;
  counter-reset: item;
}

.numbered-list li {
  counter-increment: item;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
  font-size: 14px;
}

.numbered-list li::before {
  content: counter(item);
  min-width: 28px;
  height: 28px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 0;
}

/* ── PULSE ANIMATION ── */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.pulse {
  animation: pulse 2s infinite;
}

/* ── BANNER ── */
.banner {
  background: var(--primary-dark);
  color: white;
  padding: 12px 1.5rem;
  font-size: 13px;
  text-align: center;
}

.banner a {
  color: var(--primary-light);
  font-weight: 600;
}

/* ── CHECKBOX CARD ── */
.checkbox-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-card:hover {
  border-color: var(--primary);
  background: var(--primary-xlight);
}

.checkbox-card.selected {
  border-color: var(--accent);
  background: var(--primary-xlight);
}

/* ── SCROLLBAR CUSTOM ── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ── HELP TEXT ── */
.help-text {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
  line-height: 1.4;
}

/* ── STICKY HEADER IN WIZARD ── */
.wizard-header {
  position: sticky;
  top: 64px;
  background: var(--gray-50);
  z-index: 50;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

/* ── PAYMENT SUMMARY STICKY ── */
@media (min-width: 768px) {
  .payment-sidebar {
    position: sticky;
    top: 84px;
  }
}

/* ── BADGE SIZES ── */
.badge-lg {
  padding: 6px 14px;
  font-size: 13px;
}

/* ── FORM SECTION ── */
.form-section {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: 1.25rem;
}

.form-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  margin-bottom: 1rem;
}
