:root {
  --primary-color: #2c5aa0;
  --secondary-color: #f8f9fa;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --info-color: #17a2b8;
}

body {
  background: linear-gradient(135deg, #ff8c00 0%, #ffa500 50%, #ffd700 100%);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
}

.main-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  margin: 20px auto;
  max-width: 1200px;
}

.header {
  background: linear-gradient(135deg, var(--primary-color), #3d6cb0);
  color: white;
  padding: 2rem;
  border-radius: 20px 20px 0 0;
  text-align: center;
}

.block-container {
  margin: 2rem 0;
  border: 2px solid #e9ecef;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.block-header {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  padding: 1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-container {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-content {
  padding: 2rem;
  background: white;
}

.question-card {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.question-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.question-title {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.form-check {
  margin-bottom: 0.8rem;
  padding: 0.5rem;
  border-radius: 5px;
  transition: background-color 0.2s ease;
}

.form-check:hover {
  background-color: rgba(40, 167, 69, 0.1);
}

.form-check-input:checked + .form-check-label {
  color: var(--success-color);
  font-weight: 600;
}

.report-container {
  display: none;
  margin-top: 3rem;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.report-header {
  background: linear-gradient(135deg, var(--primary-color), #3d6cb0);
  color: white;
  padding: 2rem;
  text-align: center;
}

.level-badge {
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.level-inicial {
  background-color: var(--danger-color);
  color: white;
}

.level-desarrollo {
  background-color: var(--warning-color);
  color: #212529;
}

.level-consolidado {
  background-color: var(--success-color);
  color: white;
}

.block-result {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.progress-bar-custom {
  height: 10px;
  border-radius: 5px;
  background: #e9ecef;
  overflow: hidden;
  margin: 1rem 0;
}

.progress-fill {
  height: 100%;
  transition: width 0.5s ease;
  border-radius: 5px;
}

.personal-info {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.summary-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.summary-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.btn-generate {
  background: linear-gradient(135deg, var(--success-color), #20c997);
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-generate:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
  color: white;
}

.recommendations-card {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-left: 5px solid var(--primary-color);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 5px;
}

@media print {
  body {
    background: white !important;
  }
  .no-print {
    display: none !important;
  }
}
