/* Enhanced Popular News Events Widget Styles */
.enhanced-popular-news {
  /*background-color: #fff;*/
  /*border-radius: 8px;*/
  /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);*/
  /*padding: 25px;*/
  /*margin-bottom: 30px;*/
  /*font-family: "Helvetica Neue", sans-serif;*/
  /*color: #333;*/
  /*border: 1px solid #eee;*/
}
.sidebar-title {
color: #194C9F;
    font-weight: 600;
    line-height: normal;
    font-family: "Poppins", sans-serif;
    padding: 0 !IMPORTANT;
    margin-bottom: 20px ! IMPORTANT;
     margin-top: 0px ! IMPORTANT;
}
.sidebar-title .icon-trending {
  margin-right: 10px;
  color: #e74c3c;
  font-size: 28px;
}
.sidebar-title .title-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background-color: #e74c3c;
  border-radius: 2px;
  display:none;
}
.popular-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.popular-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dotted #686868;
  transition: background-color 0.3s ease;
}
.popular-item:last-child { 
  margin-bottom: 0; 
}
.popular-item:hover {
  background-color: #fcfcfc;
  border-radius: 5px;
}
.popular-item .number {
  font-size: 2.2em;
  font-weight: 700;
  color: #ccc;
  margin-right: 15px;
  flex-shrink: 0;
  line-height: 1;
  text-align: center;
  width: 40px;
}
 
.item-content {
  display: flex;
  flex-grow: 1;
  align-items: flex-start;
}
.item-thumbnail {
  margin-right: 15px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.item-thumbnail img {
  display: block;
  width: 80px; /* Adjust as needed */
  height: 60px; /* Adjust as needed */
  object-fit: cover;
  border-radius: 4px;
}
.item-details {
  flex-grow: 1;
}
.item-title {
      font-size: 18px;
    font-weight: 400;
    font-family: "Inter", sans-serif;
    line-height: 24px;
    color: #000000 !important;
        margin: 0;
}
.item-title a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}
.item-title a:hover {
  color: #e74c3c;
}
.item-date {
  font-size: 0.85em;
  color: #7f8c8d;
  display: block;
  margin-bottom: 5px;
}
.item-excerpt {
  font-size: 0.9em;
  color: #555;
  line-height: 1.5;
  margin-top: 0;
  margin-bottom: 10px;
}
.item-meta { display:none;
}
.item-meta .views-count .icon-eye {
  margin-right: 5px;
  color: #888;
}
.no-posts {
  color: #7f8c8d;
  font-style: italic;
  padding: 15px;
  text-align: center;
  border: 1px dashed #e0e0e0;
  border-radius: 5px;
  background-color: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.no-posts .icon-info {
  margin-right: 10px;
  font-size: 1.2em;
  color: #3498db;
}
/* Newsletter Section Styling */
.newsletter-section {
  background-color: #ecf0f1;
  border-radius: 8px;
  padding: 25px;
  margin-top: 30px;
  border: 1px solid #e0e0e0;
}
.newsletter-header {
  text-align: center;
  margin-bottom: 20px;
}
.newsletter-title {
  font-size: 22px;
  color: #2c3e50;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.newsletter-title .icon-mail {
  margin-right: 10px;
  color: #3498db;
  font-size: 26px;
}
.newsletter-description {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}
.newsletter-form .form-group {
  position: relative;
  margin-bottom: 15px;
}
.newsletter-form .form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}
.newsletter-form .form-row .form-group.half-width {
  flex: 1;
  margin-bottom: 0; /* Remove bottom margin from individual groups in a row */
}
.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  outline: none;
}
.newsletter-form input[type="text"]:focus,
.newsletter-form input[type="email"]:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}
.newsletter-form label {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 16px;
  pointer-events: none;
  transition: all 0.2s ease;
  background-color: #fff;
  padding: 0 5px;
}
.newsletter-form input:focus + label,
.newsletter-form input:not(:placeholder-shown) + label {
  top: -10px;
  font-size: 12px;
  color: #3498db;
  transform: translateY(0);
}
.newsletter-form input[type="checkbox"] {
  margin-right: 10px;
  position: relative;
  top: 2px;
}
.newsletter-form .checkbox-group label {
  position: static;
  transform: none;
  display: inline-block;
  color: #555;
  font-size: 15px;
  padding: 0;
  background: none;
  vertical-align: middle;
}
.newsletter-submit {
  background-color: #3498db;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 17px;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  outline: none;
}
.newsletter-submit:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
}
.newsletter-submit:disabled {
  background-color: #95a5a6;
  cursor: not-allowed;
}
.button-loader {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  animation: spin 1s linear infinite;
  display: none; /* Hidden by default */
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.newsletter-submit .icon-arrow-right {
  font-size: 1em;
  transition: transform 0.2s ease;
}
.newsletter-submit:hover .icon-arrow-right {
  transform: translateX(5px);
}
.form-message {
  margin-top: 15px;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 15px;
  text-align: center;
  display: none; /* Initially hidden */
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: flex;
}
.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: flex;
}
.form-message .icon-check,
.form-message .icon-alert {
  font-size: 1.1em;
}
.newsletter-stats {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #7f8c8d;
  display: flex;
  align-items: center;
  justify-content: center;
}
.newsletter-stats .subscriber-count .icon-users {
  margin-right: 8px;
  color: #7f8c8d;
  font-size: 1.1em;
}
/* Admin Styles */
.newsletter-stats-dashboard {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.stat-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  flex: 1;
  min-width: 200px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.stat-card h3 {
  margin-top: 0;
  font-size: 1.1em;
  color: #555;
  margin-bottom: 10px;
}
.stat-card .stat-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #3498db;
}
.wp-list-table th,
.wp-list-table td {
  vertical-align: middle;
}
.status-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.85em;
  font-weight: 600;
}
.status-active {
  background-color: #d4edda;
  color: #155724;
}
.status-inactive {
  background-color: #f8d7da;
  color: #721c24;
}
.tablenav .actions select {
  min-width: 120px;
}
/* FontAwesome icons (assuming you have Font Awesome loaded globally or enqueue it) */
/* If not, ensure these icons are available or remove their usage */
.icon-trending:before {
  content: "\f201";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
.icon-mail:before {
  content: "\f0e0";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
.icon-arrow-right:before {
  content: "\f061";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
.icon-check:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
.icon-alert:before {
  content: "\f071";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
.icon-users:before {
  content: "\f0c0";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
.icon-info:before {
  content: "\f129";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
.icon-eye:before {
  content: "\f06e";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}



.item-content span.number {
    background: #E07B26 !important;
    border-radius: 100%;
    width: 25px;
    height: 25px;
    font-size: 20px;
    color: #Fff;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}
.item-content {
    gap: 10px;
}
.item-title a {
    color: #000 !important;
}
  