.creativ-comments-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.creativ-comments-header {
  margin-bottom: 30px;
  text-align: center;
}

.creativ-comments-header h3 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px 0;
}

.creativ-credits {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.creativ-credits strong {
  color: #2271b1;
  font-weight: 600;
}

.creativ-comment-form {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 16px;
}

.creativ-comment-form input[type="text"],
.creativ-comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.creativ-comment-form input[type="text"]:focus,
.creativ-comment-form textarea:focus {
  outline: none;
  border-color: #2271b1;
  box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

.creativ-comment-form textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  background: #2271b1;
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.submit-btn:hover {
  background: #135e96;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.creativ-comments-list {
  margin-top: 30px;
}

.no-comments {
  text-align: center;
  color: #666;
  padding: 40px 20px;
  font-size: 16px;
}

.comment-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  margin-bottom: 16px;
  transition: all 0.2s ease;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.comment-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #d0d0d0;
}

.comment-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2271b1, #135e96);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.comment-content {
  flex: 1;
  min-width: 0;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.comment-author {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 15px;
}

.comment-time {
  color: #666;
  font-size: 13px;
}

.comment-text {
  color: #333;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  word-wrap: break-word;
}

.success-message {
  background: #d4edda;
  color: #155724;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  border: 1px solid #c3e6cb;
}

.error-message {
  background: #f8d7da;
  color: #721c24;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
  .creativ-comments-container {
    padding: 15px;
    margin: 20px auto;
  }

  .creativ-comments-header h3 {
    font-size: 24px;
  }

  .creativ-credits {
    font-size: 13px;
  }

  .creativ-comment-form {
    padding: 20px;
  }

  .creativ-comment-form input[type="text"],
  .creativ-comment-form textarea {
    padding: 10px 14px;
    font-size: 14px;
  }

  .submit-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
  }

  .comment-item {
    gap: 12px;
    padding: 16px;
  }

  .comment-avatar {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .comment-author {
    font-size: 14px;
  }

  .comment-time {
    font-size: 12px;
  }

  .comment-text {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .creativ-comments-container {
    padding: 10px;
    margin: 15px auto;
  }

  .creativ-comments-header h3 {
    font-size: 20px;
  }

  .creativ-comment-form {
    padding: 16px;
  }

  .comment-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .comment-avatar {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .comment-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

@media (max-width: 600px) {
  .creativ-comments-container {
    padding: 15px;
  }

  .comment-item {
    gap: 12px;
    padding: 16px;
  }

  .comment-avatar {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

/* Estilos para la paginación */
.comments-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.pagination-btn {
  min-width: 40px;
  height: 40px;
  padding: 8px 12px;
  border: 1px solid #d0d0d0;
  background: #ffffff;
  color: #333;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-btn:hover {
  background: #f5f5f5;
  border-color: #2271b1;
  color: #2271b1;
}

.pagination-btn.active {
  background: #2271b1;
  color: white;
  border-color: #2271b1;
  cursor: default;
}

.pagination-btn.active:hover {
  background: #2271b1;
  color: white;
}

.pagination-dots {
  color: #666;
  padding: 0 4px;
  font-weight: 600;
}

/* Responsive para paginación */
@media (max-width: 480px) {
  .comments-pagination {
    gap: 6px;
    margin-top: 20px;
  }

  .pagination-btn {
    min-width: 36px;
    height: 36px;
    padding: 6px 10px;
    font-size: 13px;
  }
}
