
.admin-login-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  z-index: 100;
  font-weight: 600;
  transition: all 0.3s ease;
}

.admin-login-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}


.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.login-modal.active {
  display: flex;
}

.login-box {
  background: white;
  border-radius: 15px;
  padding: 30px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.login-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.login-header h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.close-login {
  background: none;
  border: none;
  font-size: 2em;
  color: #666;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-login:hover {
  color: #f44336;
}

.login-body p {
  color: #666;
  margin-bottom: 20px;
}

.login-body .form-group {
  margin-bottom: 20px;
}

.login-body input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

.login-body input:focus {
  border-color: #4caf50;
  outline: none;
}

.login-body .btn {
  width: 100%;
  margin-top: 10px;
}

.login-footer {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #eee;
  text-align: center;
  color: #666;
  font-size: 0.9em;
}


.admin-panel {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 15px;
  padding: 20px;
  margin: 20px 0 30px 0;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  display: none;
}

.admin-panel.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.admin-header h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-logout {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-logout:hover {
  background: white;
  color: #764ba2;
}

.admin-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.stat-card.admin {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.stat-card.admin i {
  font-size: 2em;
  color: white;
}

.stat-card.admin h4 {
  margin: 0 0 5px 0;
  font-size: 0.8em;
  opacity: 0.9;
}

.stat-card.admin p {
  margin: 0;
  font-size: 1.5em;
  font-weight: bold;
}

.admin-buttons {
  display: flex;
  gap: 10px;
}

.admin-buttons .btn {
  flex: 1;
  justify-content: center;
}


.news-form {
  background: white;
  border-radius: 15px;
  padding: 25px;
  margin: 20px 0 30px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid #4caf50;
  display: none;
}

.news-form.active {
  display: block;
}

.news-form h3 {
  margin-top: 0;
  margin-bottom: 25px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 15px;
  border-bottom: 2px solid #4caf50;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #4caf50;
  outline: none;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.form-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 25px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkbox-label span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #555;
}

.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}


.page-header {
  text-align: center;
  margin: 30px 0 40px;
}

.page-subtitle {
  font-size: 1.2em;
  color: #666;
  max-width: 600px;
  margin: 10px auto;
}


.news-filters {
  display: flex;
  gap: 10px;
  margin: 30px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 10px 20px;
  border: 2px solid #4caf50;
  background: white;
  color: #4caf50;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: #e8f5e9;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: #4caf50;
  color: white;
}


.news-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.stat-item {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #4caf50, #8bc34a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  color: white;
}

.stat-content h3 {
  margin: 0 0 5px 0;
  font-size: 0.9em;
  color: #666;
  font-weight: 500;
}

.stat-value {
  font-size: 2em;
  font-weight: bold;
  color: #333;
}


.news-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.loading-news {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.loading-news i {
  font-size: 3em;
  color: #4caf50;
  margin-bottom: 20px;
}


.news-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  border: 2px solid transparent;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border-color: #4caf50;
}


.news-card-header {
  padding: 20px 20px 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}


.news-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.news-category {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  padding: 6px 15px;
  border-radius: 20px;
  background: #f8f9fa;
  flex-shrink: 0;
}

.news-date {
  color: #666;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}


.news-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin-top: 5px;
}


.badge-important,
.badge-pinned,
.badge-new {
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.75em;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.badge-important {
  background: #ff5722;
  color: white;
}

.badge-pinned {
  background: #ffd700;
  color: #333;
}

.badge-new {
  background: #2196f3;
  color: white;
}


.news-card-content {
  padding: 0 20px;
}

.news-title {
  margin: 5px 0 15px 0;
  font-size: 1.4em;
  color: #333;
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.3s ease;
}

.news-title:hover {
  color: #4caf50;
}

.news-excerpt {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95em;
}

.news-image-container {
  margin: 20px 0;
  border-radius: 10px;
  overflow: hidden;
  display: none;
}

.news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-image:hover {
  transform: scale(1.05);
}

.news-stats {
  display: flex;
  gap: 20px;
  color: #666;
  font-size: 0.85em;
  margin: 15px 0;
}

.news-card-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-read-more {
  background: #4caf50;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-read-more:hover {
  background: #3d8b40;
  transform: translateX(5px);
}

.news-actions {
  display: flex;
  gap: 10px;
}

.btn-action {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: white;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-action:hover {
  border-color: #4caf50;
  color: #4caf50;
  transform: scale(1.1);
}


.admin-actions-news {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  gap: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.news-card:hover .admin-actions-news {
  opacity: 1;
}

.btn-admin {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.btn-admin:hover {
  transform: scale(1.1);
}

.btn-admin.edit-news:hover {
  background: #2196f3;
  color: white;
}

.btn-admin.delete-news:hover {
  background: #f44336;
  color: white;
}

.btn-admin.pin-news:hover {
  background: #ffd700;
  color: #333;
}


.sidebar {
  margin: 40px 0;
}

.sidebar-widget {
  background: white;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.sidebar-widget h3 {
  margin-top: 0;
  color: #333;
  border-bottom: 2px solid #4caf50;
  padding-bottom: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.highlighted-news {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.highlight-item {
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid #4caf50;
  transition: all 0.3s ease;
  cursor: pointer;
}

.highlight-item:hover {
  background: #e8f5e9;
  transform: translateX(5px);
}

.highlight-item h4 {
  margin: 0 0 5px 0;
  font-size: 1em;
  color: #333;
}

.highlight-item p {
  margin: 0;
  font-size: 0.85em;
  color: #666;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.subscribe-form input {
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
}

.subscribe-form button {
  white-space: nowrap;
}


.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 50px 0 30px 0;
}

.page-btn {
  padding: 10px 25px;
  border: 2px solid #4caf50;
  background: white;
  color: #4caf50;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.page-btn:hover:not(:disabled) {
  background: #4caf50;
  color: white;
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-numbers {
  display: flex;
  gap: 8px;
}

.page-number {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #ddd;
}

.page-number:hover {
  border-color: #4caf50;
  color: #4caf50;
}

.page-number.active {
  background: #4caf50;
  color: white;
  border-color: #4caf50;
}


.comments-section {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.comments-section h3 {
  margin-bottom: 20px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.comments-list {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 20px;
  padding-right: 10px;
}

.comment-item {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  border-left: 4px solid #4caf50;
  transition: all 0.3s ease;
}

.comment-item:hover {
  background: #f0f7f0;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 10px;
}

.comment-author {
  font-weight: bold;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-author i {
  color: #4caf50;
}

.comment-date {
  font-size: 0.8em;
  color: #666;
  display: flex;
  align-items: center;
  gap: 5px;
}

.comment-text {
  color: #555;
  line-height: 1.5;
  font-size: 0.95em;
  padding: 10px 0;
}

.comment-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.comment-item:hover .comment-actions {
  opacity: 1;
}

.btn-comment-delete {
  background: #f44336;
  color: white;
  border: none;
  padding: 5px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.8em;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.btn-comment-delete:hover {
  background: #d32f2f;
  transform: scale(1.05);
}

.no-comments {
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 30px 20px;
  background: #f9f9f9;
  border-radius: 10px;
  border: 2px dashed #ddd;
}

.no-comments i {
  font-size: 2em;
  margin-bottom: 10px;
  color: #ccc;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
}

.comment-form .form-group {
  margin-bottom: 0;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  transition: all 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: #4caf50;
  outline: none;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.comment-form button {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-count-badge {
  background: #4caf50;
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.8em;
  margin-left: 5px;
}


.comments-list::-webkit-scrollbar {
  width: 8px;
}

.comments-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.comments-list::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.comments-list::-webkit-scrollbar-thumb:hover {
  background: #555;
}


@media (max-width: 768px) {
  .comments-list {
    max-height: 250px;
  }

  .comment-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .comment-actions {
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .comment-form {
    padding: 15px;
  }

  .comment-form input,
  .comment-form textarea {
    padding: 10px 12px;
    font-size: 14px;
  }
}



.whatsapp-widget {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  border-radius: 15px;
  padding: 25px;
  margin-top: 15px;
}

.whatsapp-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

.whatsapp-stat {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-stat i {
  font-size: 2em;
  color: white;
}

.whatsapp-stat h4 {
  margin: 0 0 5px 0;
  font-size: 0.8em;
  opacity: 0.9;
  font-weight: 500;
}

.whatsapp-stat p {
  margin: 0;
  font-size: 1.5em;
  font-weight: bold;
}

.whatsapp-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background: white;
  color: #25d366;
  border: none;
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  min-width: 150px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp:hover {
  background: #f0f0f0;
  color: #128c7e;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-outline-whatsapp {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  min-width: 150px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-whatsapp:hover {
  background: white;
  color: #128c7e;
  transform: translateY(-3px);
}

.whatsapp-features {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-features h4 {
  margin: 0 0 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 1.1em;
}

.whatsapp-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.whatsapp-features li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-features li:last-child {
  border-bottom: none;
}

.whatsapp-features li i {
  width: 20px;
  text-align: center;
}


.whatsapp-qr-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 20px;
}

.whatsapp-qr-modal.active {
  display: flex;
}

.qr-modal-content {
  background: white;
  border-radius: 20px;
  padding: 40px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.qr-header {
  margin-bottom: 30px;
}

.qr-header h3 {
  margin: 0 0 10px 0;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.qr-header p {
  color: #666;
  margin: 0;
}

.qr-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 30px;
  padding: 15px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid #25d366;
}

.qr-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.qr-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  border: 2px solid #ddd;
  transition: all 0.3s ease;
}

.qr-link:hover {
  background: #25d366;
  color: white;
  border-color: #25d366;
}

.qr-link i {
  font-size: 1.2em;
}

.close-qr {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2em;
  color: #666;
  cursor: pointer;
  transition: color 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-qr:hover {
  color: #f44336;
  background: #f8f9fa;
}

.whatsapp-clicks {
  text-align: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9em;
}

.whatsapp-clicks strong {
  color: white;
  font-size: 1.2em;
}


@media (max-width: 768px) {
  .whatsapp-stats {
    grid-template-columns: 1fr;
  }

  .whatsapp-buttons {
    flex-direction: column;
  }

  .btn-whatsapp,
  .btn-outline-whatsapp {
    min-width: 100%;
  }

  .qr-modal-content {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .whatsapp-widget {
    padding: 20px 15px;
  }

  .whatsapp-features li {
    font-size: 0.85em;
  }
}


@media (max-width: 992px) {
  .news-container {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .news-container {
    grid-template-columns: 1fr;
  }

  .news-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .admin-buttons {
    flex-direction: column;
  }

  .news-filters {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .filter-btn {
    white-space: nowrap;
  }


  .news-meta-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .news-date {
    font-size: 0.85em;
  }
}

@media (max-width: 480px) {
  .news-stats {
    grid-template-columns: 1fr;
  }

  .stat-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .news-card-footer {
    flex-direction: column;
    gap: 15px;
  }

  .news-actions {
    width: 100%;
    justify-content: center;
  }

  .pagination {
    flex-wrap: wrap;
  }


  .news-badges {
    flex-direction: column;
    align-items: flex-start;
  }

  .badge-important,
  .badge-pinned,
  .badge-new {
    font-size: 0.7em;
    padding: 4px 10px;
  }
}


.news-stats-container {
  position: relative;
  overflow: hidden;
}

.stat-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.stat-item:hover {
  transform: translateY(-3px);
  border-color: #4caf50;
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.15);
}


@media (max-width: 768px) {
  .stat-item {
    height: 130px;
    display: flex;
    align-items: center;
    padding: 15px !important;
  }

  .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3em;
    flex-shrink: 0;
  }

  .stat-content h3 {
    font-size: 0.85em;
    margin-bottom: 8px;
  }

  .stat-value {
    font-size: 1.6em;
  }
}


.stat-item:last-child {
  margin-right: 0;
}


