/* emotions.css */

/* Base variables (derived from SadHappy.html) */
:root {
    --primary-color: #5c6bc0;   /* You can adjust if needed */
    --secondary-color: #8e24aa; /* You can adjust if needed */
    --light-bg: #f5f7ff;
    --dark-text: #333;
    --light-text: #666;
    --accent: #ffc107;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
  }
  
  /* Basic reset */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  /* Body styling */
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    /* Neutral background across all pages */
    background: linear-gradient(135deg, #e8eaf6, #f5f5f5);
    margin: 0;
    padding: 0;
  }
  
  /* Header styling */
  header {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem 0;
    text-align: center;
    box-shadow: var(--box-shadow);
  }
  
  h1 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: 600;
  }
  
  /* Container and content blocks */
  .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
  }
  
  .content {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  /* Back link */
  .back-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: var(--transition);
  }
  
  .back-link:hover {
    color: var(--secondary-color);
  }
  
  .back-link svg {
    margin-right: 0.5rem;
  }
  
  /* Headings */
  h2 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
    font-size: 1.5rem;
  }
  
  /* Paragraphs, lists */
  p, ul {
    margin-bottom: 1.5rem;
    color: var(--light-text);
  }
  ul {
    padding-left: 1.5rem;
  }
  li {
    margin-bottom: 0.75rem;
  }
  
  /* Spectrum container + tags */
  .emotion-spectrum {
    display: flex;
    flex-direction: column;
    margin: 2rem 0;
  }
  
  .spectrum-container {
    position: relative;
    height: 3rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
  }
  
  .emotions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  
  .emotion-tag {
    background: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: var(--transition);
  }
  
  .emotion-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  /* Optional color-coded tags (from SadHappy.html example) */
  .emotion-sad {
    border-color: #3949ab;
    color: #3949ab;
  }
  .emotion-neutral {
    border-color: #9e9e9e;
    color: #757575;
  }
  .emotion-happy {
    border-color: #ffa000;
    color: #ff8f00;
  }
  
  /* Unique gradient classes for each page's color bar */
  .spectrum-sad-happy {
    /* Matches SadHappy.html gradient from sad (blue) to happy (yellow) */
    background: linear-gradient(to right, #3949ab, #7986cb, #c5cae9, #ffecb3, #ffd54f, #ffb300);
  }
  
  .spectrum-fear-trust {
    /* Matches FearTrust.html gradient from fear (dark) to trust (light blue) */
    background: linear-gradient(to right, #212121, #64b5f6);
  }
  
  .spectrum-hate-love {
    /* Matches HateLove.html gradient from hate (purple) to love (pink) */
    background: linear-gradient(to right, #4a148c, #f8bbd0);
  }
  
  .spectrum-anger-zen {
    /* Matches AngerZen.html gradient from anger (red) to zen (white) */
    background: linear-gradient(to right, #b71c1c, #ffffff);
  }
  
  .spectrum-bad-good {
    /* Matches BadGood.html gradient from bad (darkblue) to good (lightcoral) */
    background: linear-gradient(to right, darkblue, lightcoral);
  }

  .spectrum-defensive-open {
    /* Defensiveness to openness gradient */
    background: linear-gradient(to right, #ff8f00, #26c6da);
  }
  
  /* Resources box (if needed) */
  .resources {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 2rem;
  }
  .resources h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
  }

  .checklist {
    list-style: none;
    padding-left: 0;
  }

  .checklist li {
    margin-bottom: 0.75rem;
  }

  .checklist label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .checklist input {
    margin-top: 0.2rem;
    accent-color: var(--primary-color);
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .container {
      padding: 1rem;
    }
    .content {
      padding: 1.5rem;
    }
    h1 {
      font-size: 2rem;
    }
  }
      
