
  /* Tab system styling */
  .tab-container {
    margin: 1rem 0;
    height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
  }
  
  .tab-buttons {
    display: flex;
    gap: 0;
  }
  
  .tab-button {
    padding: 1rem 2rem;
    border: 2px solid #ddd;
    background-color: #d6d6d6;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
    margin-right: 2px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }
  
  .tab-button-content {
    font-size: 1.1rem;
    font-weight: bold;
  }
  
  .tab-score {
    font-size: 0.9rem;
    font-weight: normal;
    color: #666;
  }
  
  .tab-button:hover {
    background-color: #c0c0c0;
  }
  
  .tab-button.active {
    background-color: white;
    border-bottom-color: white;
    color: #333;
  }
  
  .tab-button.completed::after {
    content: " ✓";
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
    animation: party-check-bounce 0.8s cubic-bezier(.36,1.5,.64,1) 0s 1;
  }

  @keyframes party-check-bounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
  }
  
  .tab-content {
    background-color: white;
    border: 2px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 1rem;
    flex: 1;
    overflow-y: auto;
    min-height: 300px;
  }
  
  .tab-panel {
    display: none;
  }
  
  .tab-panel.active {
    display: block;
  }

  .theory-container {
    max-width: 800px;
    margin: 0 auto;
  }