/* Стилове за психология на храненето */

/* Главна икона */
.psychology-main-icon {
  font-size: 4rem;
  color: #6f42c1;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Карти за поведение */
.behavior-card {
  display: flex;
  align-items: flex-start;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.behavior-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.behavior-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.behavior-content {
  flex: 1;
}

.behavior-content h5 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.behavior-content p {
  color: #5a6a7e;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.behavior-stats {
  display: flex;
  gap: 0.5rem;
}

.stat-badge {
  background: #e9ecef;
  color: #495057;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Тест за емоционално хранене */
.test-question {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid #6f42c1;
}

.test-question h5 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.answer-btn {
  border-radius: 8px !important;
  padding: 0.75rem;
}

.answer-btn.active {
  background: #6f42c1;
  color: white;
  border-color: #6f42c1;
}

/* Техники карти */
.technique-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

.technique-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.technique-number {
  position: absolute;
  top: -10px;
  left: -10px;
  background: #6f42c1;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.technique-card h5 {
  color: #2c3e50;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.technique-card p {
  color: #5a6a7e;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.technique-tip {
  background: #e7f3ff;
  padding: 0.75rem;
  border-radius: 8px;
  border-left: 3px solid #4facfe;
}

.technique-tip small {
  color: #2c3e50;
}

/* Стрес карти */
.stress-card {
  padding: 1.5rem;
  border-radius: 12px;
  height: 100%;
}

.stress-bad {
  background: linear-gradient(135deg, #ffe6e6, #ffcccc);
  border-left: 4px solid #dc3545;
}

.stress-good {
  background: linear-gradient(135deg, #e6ffe6, #ccffcc);
  border-left: 4px solid #28a745;
}

.stress-card h5 {
  color: #2c3e50;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stress-card ul {
  margin-bottom: 0;
  padding-left: 1rem;
}

.stress-card li {
  margin-bottom: 0.5rem;
  color: #5a6a7e;
}

/* Цикъл на стреса */
.stress-cycle {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 12px;
}

.cycle-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cycle-step {
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.step-number {
  width: 40px;
  height: 40px;
  background: #6f42c1;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  font-weight: bold;
}

.cycle-step p {
  color: #5a6a7e;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.cycle-arrow {
  color: #6f42c1;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Анализатор на стрес */
.analysis-results {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid #6f42c1;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
}

.result-item:last-child {
  margin-bottom: 0;
}

.result-item i {
  color: #6f42c1;
  font-size: 1.25rem;
}

/* Ресурсни карти */
.resource-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  height: 100%;
}

.resource-card h5 {
  color: #2c3e50;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.resource-card ul {
  margin-bottom: 0;
  padding-left: 1rem;
}

.resource-card li {
  margin-bottom: 0.5rem;
  color: #5a6a7e;
}

/* Адаптивни стилове */
@media (max-width: 768px) {
  .behavior-card {
    flex-direction: column;
    text-align: center;
  }
  
  .behavior-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .cycle-steps {
    flex-direction: column;
  }
  
  .cycle-arrow {
    transform: rotate(90deg);
  }
}

/* Допълнителни анимации */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.technique-card {
  animation: fadeInUp 0.6s ease-out;
}

.behavior-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Стилове за плъзгача */
.form-range::-webkit-slider-thumb {
  background: #6f42c1;
}

.form-range::-moz-range-thumb {
  background: #6f42c1;
}

.form-range:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.25);
}