/* Ogólne style */
.blog-app {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
  }
  
  .blog-app h1 {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 24px;
  }
  
  .blog-app h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
  }
  
  .blog-app h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
  }
  
  /* Menu nawigacyjne */
  .tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 24px;
  }
  
  .tab-btn {
    padding: 8px 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: #718096;
  }
  
  .tab-btn.active {
    color: #3182ce;
    border-bottom: 2px solid #3182ce;
  }
  
  /* Pola formularza */
  .form-group {
    margin-bottom: 24px;
  }
  
  .form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 4px;
  }
  
  .form-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
  }
  
  .form-input:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.2);
  }
  
  /* Przyciski */
  .btn {
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
  }
  
  .btn-primary {
    background-color: #3182ce;
    color: white;
  }
  
  .btn-primary:hover {
    background-color: #2c5282;
  }
  
  .btn-success {
    background-color: #48bb78;
    color: white;
  }
  
  .btn-success:hover {
    background-color: #38a169;
  }
  
  .btn-danger {
    background-color: #f56565;
    color: white;
  }
  
  .btn-danger:hover {
    background-color: #e53e3e;
  }
  
  .btn-icon {
    margin-right: 8px;
  }
  
  /* Tagi słów kluczowych */
  .keyword-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
  }
  
  .keyword-tag {
    background-color: #ebf8ff;
    padding: 4px 12px;
    border-radius: 16px;
    display: flex;
    align-items: center;
  }
  
  .keyword-tag button {
    background: none;
    border: none;
    color: #f56565;
    cursor: pointer;
    margin-left: 8px;
  }
  
  /* Sekcja badania słów kluczowych */
  .research-section {
    background-color: #ebf8ff;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
  }
  
  .insight-list {
    list-style: none;
    padding: 0;
  }
  
  .insight-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
  }
  
  .insight-icon {
    color: #3182ce;
    margin-right: 8px;
    margin-top: 4px;
  }
  
  .trend-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 12px;
  }
  
  .trend-item {
    background-color: white;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
  }
  
  .trend-label {
    font-weight: 500;
  }
  
  .trend-value {
    font-size: 14px;
    color: #718096;
    margin-top: 4px;
  }
  
  /* Sugestie tematów */
  .suggestion-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .suggestion-item {
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Zawartość bloga */
  .content-box {
    background-color: #f7fafc;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
    white-space: pre-line;
  }
  
  /* Zapisane tematy */
  .saved-topic {
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 16px;
  }
  
  .topic-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  
  .topic-title {
    font-weight: bold;
  }
  
  .topic-date {
    font-size: 14px;
    color: #718096;
  }
  
  .topic-audience {
    font-size: 14px;
    color: #4a5568;
    margin-top: 4px;
  }
  
  .topic-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
  }
  
  .topic-keyword {
    background-color: #ebf8ff;
    padding: 2px 8px;
    border-radius: 16px;
    font-size: 12px;
  }
  
  .topic-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
  }
  
  .action-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 14px;
  }
  
  .action-btn.edit {
    color: #3182ce;
  }
  
  .action-btn.delete {
    color: #f56565;
  }
  
  .action-icon {
    margin-right: 4px;
  }
  
  /* Flex utilities */
  .flex {
    display: flex;
  }
  
  .flex-col {
    flex-direction: column;
  }
  
  .flex-1 {
    flex: 1;
  }
  
  .space-x-4 > * + * {
    margin-left: 16px;
  }
  
  .mt-6 {
    margin-top: 24px;
  }