/* Events Calendar Styles */

.simple-events-calendar-wrapper {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.simple-events-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.simple-events-calendar-title h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 5px 0;
}

.simple-events-calendar-subtitle {
  color: #718096;
  font-size: 14px;
  margin: 0;
}

.simple-events-calendar-view-toggle {
  display: flex;
  gap: 10px;
  background: #f7fafc;
  padding: 4px;
  border-radius: 8px;
}

.simple-events-view-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  background: var(--calendar-view-btn-bg, transparent);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  color: var(--calendar-view-btn-text, #4a5568);
  
}


.simple-events-view-btn.active {
  background: var(--calendar-view-btn-active-bg, #111827);
  color: var(--calendar-view-btn-active-text, white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Calendar View */
.simple-events-calendar-view {
  display: none;
}

.simple-events-calendar-view.active {
  display: block;
}

.simple-events-calendar-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.simple-events-calendar-month {
  font-size: 20px;
  font-weight: 600;
  color: #1a202c;
  margin: 0;
}

/* Made navigation arrows much more prominent with larger size, bold icons, and stronger styling */
.simple-events-calendar-prev,
.simple-events-calendar-next {
  border: 3px solid var(--calendar-nav-border, #111827);
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  
  color: var(--calendar-nav-text, #111827);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 0;
}

/* Ensure SVG icons inside buttons are visible and styled properly */
.simple-events-calendar-prev svg,
.simple-events-calendar-next svg {
  display: block;
  width: 24px;
  height: 24px;
  stroke: var(--calendar-nav-text, #111827);
  stroke-width: 3;
  fill: none;
  
}


.simple-events-calendar-prev:active,
.simple-events-calendar-next:active {
  
}

.simple-events-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.simple-events-calendar-day-header {
  background: var(--calendar-header-bg, #111827);
  color: var(--calendar-header-text, white);
  padding: 15px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

.simple-events-calendar-day {
  background: white;
  padding: 15px;
  min-height: 80px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.simple-events-calendar-day:hover {
  background: #f7fafc;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.simple-events-calendar-day:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}


.simple-events-calendar-day.other-month {
  background: #f7fafc;
  color: #cbd5e0;
}

.simple-events-calendar-day.has-events {
  background: #edf2f7;
  font-weight: 700;
  position: relative;
}

.simple-events-calendar-day.has-events:hover {
  background: #e2e8f0;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.simple-events-calendar-day.has-events::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--calendar-header-bg, #111827);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { 
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  50% { 
    opacity: 0.6;
    transform: translateX(-50%) scale(1.3);
  }
}

.simple-events-calendar-day.selected {
  background: var(--calendar-header-bg, #111827);
  color: white;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 5;
}

.simple-events-calendar-day.selected::after {
  background: white;
}

/* Events List for Selected Date */
.simple-events-calendar-events-list {
  margin-top: 30px;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.simple-events-events-date-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1a202c;
}

.simple-events-event-card-mini {
  padding: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 15px;
  
}


.simple-events-event-card-mini h5 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.simple-events-event-card-mini h5 a {
  color: #1a202c;
  text-decoration: none !important;
}

.simple-events-event-card-mini h5 a:hover,
.simple-events-event-card-mini h5 a:focus,
.simple-events-event-card-mini h5 a:active {
  text-decoration: none !important;
}


.simple-events-event-mini-meta {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: #718096;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.simple-events-event-mini-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.simple-events-btn-details-small,
.simple-events-btn-register-small {
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  
}

.simple-events-btn-details-small {
  background: #e2e8f0;
  color: #2d3748;
}


.simple-events-btn-register-small {
  background: var(--calendar-header-bg, #111827);
  color: white;
}


/* List View */
.simple-events-list-view {
  display: none;
}

.simple-events-list-view.active {
  display: block;
}

.simple-events-events-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.simple-events-event-list-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  
}


.simple-events-event-date-badge {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background: var(--calendar-header-bg, #111827);
  color: white;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.simple-events-badge-month {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.simple-events-badge-day {
  font-size: 28px;
  font-weight: 700;
}

.simple-events-event-list-content {
  flex: 1;
}

.simple-events-event-list-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.simple-events-event-list-title a {
  color: #1a202c;
  text-decoration: none;
}


.simple-events-event-list-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #718096;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.simple-events-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.simple-events-event-list-excerpt {
  color: #4a5568;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.simple-events-event-list-actions {
  display: flex;
  gap: 10px;
}

/* No Events Message */
.simple-events-no-events-message {
  text-align: center;
  padding: 60px 20px;
  color: #718096;
}

.simple-events-no-events-message svg {
  margin-bottom: 20px;
}

.simple-events-no-events-message h3 {
  font-size: 24px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 10px;
}

/* Stripe Checkout Button */
.simple-events-stripe-checkout-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #635bff;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  
}


.simple-events-stripe-checkout-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
  .simple-events-calendar-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .simple-events-calendar-day {
    min-height: 60px;
    padding: 10px;
    font-size: 14px;
  }

  .simple-events-calendar-day-header {
    padding: 10px;
    font-size: 12px;
  }

  .simple-events-event-list-item {
    flex-direction: column;
  }

  .simple-events-event-date-badge {
    width: 60px;
    height: 60px;
  }
}

/* Card View Styles */
.simple-events-cards-view {
    display: none;
    padding: 30px 0;
}

.simple-events-cards-view.active {
    display: block;
}

.simple-events-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.simple-events-event-card-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    
    cursor: pointer;
    display: flex;
    flex-direction: column;
}


.simple-events-card-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* 1:1 square ratio for 1080x1080 images */
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.simple-events-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.simple-events-event-card-item:hover .simple-events-card-image img {
    transform: scale(1.08);
}


.simple-events-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #28A745;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.simple-events-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.simple-events-card-date {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 12px;
}

.simple-events-card-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.simple-events-card-title a {
    color: #1F2937;
    text-decoration: none;
    
}


.simple-events-card-venue {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 12px;
}

.simple-events-card-excerpt {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.simple-events-card-button {
    display: inline-block;
    padding: 12px 24px;
    background: #28A745;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    
}


/* Hover Popup Styles */
.simple-events-hover-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.simple-events-hover-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.simple-events-hover-popup-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    z-index: 1;
}

.simple-events-hover-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    
    z-index: 2;
}


.simple-events-hover-popup-inner {
    padding: 30px;
}

.simple-events-popup-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.simple-events-popup-category {
    display: inline-block;
    background: #28A745;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.simple-events-popup-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.2;
    color: #1F2937;
}

.simple-events-popup-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #E5E7EB;
}

.simple-events-popup-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #6B7280;
}

.simple-events-popup-meta-item svg {
    width: 18px;
    height: 18px;
    color: #28A745;
}

.simple-events-popup-excerpt {
    font-size: 16px;
    color: #4B5563;
    line-height: 1.7;
    margin-bottom: 25px;
}

.simple-events-popup-button {
    display: block;
    width: 100%;
    padding: 16px;
    background: #28A745;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    
}


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        
    }
    to { 
        opacity: 1;
        
    }
}

@media (max-width: 768px) {
    .simple-events-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .simple-events-hover-popup-content {
        max-width: 100%;
        margin: 20px;
    }
    
    .simple-events-popup-title {
        font-size: 22px;
    }
}

/* ========================================
   CARD VIEW - GREEN THEME
   ======================================== */

.simple-events-cards-view {
    display: none;
}

.simple-events-cards-view.active {
    display: block;
}

.simple-events-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 30px 0;
}

.simple-events-event-card-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    
    cursor: pointer;
}


.simple-events-card-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* 1:1 square ratio for 1080x1080 images */
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.simple-events-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.simple-events-event-card-item:hover .simple-events-card-image img {
    transform: scale(1.08);
}


.simple-events-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #28A745;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.simple-events-card-content {
    padding: 25px;
}

.simple-events-card-date {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 12px;
}

.simple-events-card-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.simple-events-card-title a {
    color: #1F2937;
    text-decoration: none;
    
}


.simple-events-card-venue {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 12px;
}

.simple-events-card-excerpt {
    color: #6B7280;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.simple-events-card-link {
    display: inline-block;
    padding: 12px 24px;
    background: #28A745;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    
}


/* ========================================
   HOVER CARD MODAL (for Calendar & List Views)
   ======================================== */

.simple-events-hover-card {
    position: fixed;
    top: 50%;
    left: 50%;
    
    width: 90%;
    max-width: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    
    overflow: hidden;
}

.simple-events-hover-card.active {
    opacity: 1;
    visibility: visible;
    
}

.simple-events-hover-card-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    
    backdrop-filter: blur(4px);
}

.simple-events-hover-card-overlay.active {
    opacity: 1;
    visibility: visible;
}

.simple-events-hover-card-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    
}


.simple-events-hover-card-close svg {
    width: 20px;
    height: 20px;
    stroke: #1F2937;
}

.simple-events-hover-card-image {
    position: relative;
    height: 200px;
    background: #F3F4F6;
    overflow: hidden;
}

.simple-events-hover-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.simple-events-hover-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #28A745;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.simple-events-hover-card-content {
    padding: 30px;
}

.simple-events-hover-card-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.3;
    color: #1F2937;
}

.simple-events-hover-card-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.simple-events-hover-card-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #6B7280;
}

.simple-events-hover-card-meta-item svg {
    width: 20px;
    height: 20px;
    color: #28A745;
    flex-shrink: 0;
}

.simple-events-hover-card-excerpt {
    color: #6B7280;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.simple-events-hover-card-button {
    display: block;
    width: 100%;
    padding: 16px;
    background: #28A745;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    
}


/* Make calendar and list items clickable */
.simple-events-calendar-grid .simple-events-calendar-day.has-event,
.simple-events-list-item {
    cursor: pointer;
    
}

    
    .simple-events-hover-card {
        width: 95%;
        max-width: none;
    }
    
    .simple-events-hover-card-content {
        padding: 20px;
    }
}

/* ========================================
   BELOW-CALENDAR EVENTS SECTION (With Smooth Scroll)
   ======================================== */

.simple-events-calendar-events-list {
  margin-top: 40px;
  padding: 30px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 3px solid var(--calendar-header-bg, #111827);
  position: relative;
  animation: slideInUp 0.4s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Attention pulse animation */
@keyframes pulse-attention {
  0%, 100% { 
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--calendar-header-bg, #111827);
  }
  50% { 
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4);
    border-color: #10b981;
  }
}

.simple-events-calendar-events-list.pulse-attention {
  animation: pulse-attention 1s ease-in-out 2;
}

/* Events list header */
.simple-events-events-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 3px solid #e5e7eb;
  flex-wrap: wrap;
  gap: 15px;
}

.simple-events-events-date-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.simple-events-events-date-title svg {
  color: var(--calendar-header-bg, #111827);
  flex-shrink: 0;
}

.simple-events-clear-selection {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #fee2e2;
  border: 2px solid #fecaca;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #991b1b;
  transition: all 0.2s;
}

.simple-events-clear-selection:hover {
  background: #fecaca;
  border-color: #fca5a5;
  transform: translateY(-2px);
}

.simple-events-clear-selection svg {
  width: 14px;
  height: 14px;
}

/* Event cards */
.simple-events-events-for-date {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 380px));
  gap: 20px;
  justify-content: start;
}

.simple-events-event-card-mini {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  max-width: 380px; /* Limit card width for smaller boxes */
}

.simple-events-event-card-mini:hover {
  border-color: var(--calendar-header-bg, #111827);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transform: translateY(-6px);
}

.simple-events-event-mini-image {
  width: 100%;
  height: 0;
  padding-bottom: 100%; /* Back to 1:1 square for 1080x1080 */
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  flex-shrink: 0;
}

.simple-events-event-mini-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.simple-events-event-card-mini:hover .simple-events-event-mini-image img {
  transform: scale(1.1);
}

.simple-events-event-mini-content {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.simple-events-event-card-mini h5 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.simple-events-event-card-mini h5 a {
  color: #111827;
  text-decoration: none !important;
  transition: color 0.2s;
}

.simple-events-event-card-mini h5 a:hover {
  color: var(--calendar-header-bg, #111827);
  text-decoration: none !important;
}

.simple-events-event-mini-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 10px;
}

.simple-events-event-mini-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.simple-events-event-mini-meta svg {
  flex-shrink: 0;
  color: var(--calendar-header-bg, #111827);
}

.event-category-badge {
  background: #10b981 !important;
  color: white !important;
  padding: 4px 10px !important;
  border-radius: 12px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}

.simple-events-event-mini-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px; /* Adjusted margin since no description */
}

.simple-events-btn-details-small,
.simple-events-btn-register-small {
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  min-height: 38px; /* Touch target size */
}

.simple-events-btn-details-small svg,
.simple-events-btn-register-small svg {
  flex-shrink: 0;
  transition: transform 0.3s;
}

.simple-events-btn-details-small {
  background: #f3f4f6;
  color: #1f2937;
  border: 2px solid #e5e7eb;
}

.simple-events-btn-details-small:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.simple-events-btn-details-small:hover svg {
  transform: translateX(-3px);
}

.simple-events-btn-register-small {
  background: var(--calendar-header-bg, #111827);
  color: white;
  border: 2px solid var(--calendar-header-bg, #111827);
}

.simple-events-btn-register-small:hover {
  background: #000000;
  border-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.simple-events-btn-register-small:hover svg {
  transform: scale(1.1);
}

/* Mobile responsive - ENHANCED */
@media (max-width: 768px) {
  .simple-events-calendar-events-list {
    margin-top: 32px;
    padding: 24px 16px;
    border-width: 3px;
    border-radius: 16px;
  }
  
  .simple-events-events-list-header {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 24px;
    padding-bottom: 20px;
    gap: 14px;
  }
  
  .simple-events-events-date-title {
    font-size: 20px;
    gap: 10px;
    line-height: 1.3;
  }
  
  .simple-events-events-date-title svg {
    width: 20px;
    height: 20px;
  }
  
  .simple-events-clear-selection {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 16px;
    min-height: 52px; /* Larger touch target */
    font-weight: 700;
  }
  
  .simple-events-clear-selection svg {
    width: 16px;
    height: 16px;
  }
  
  .simple-events-events-for-date {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .simple-events-event-card-mini {
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  }
  
  .simple-events-event-card-mini:active {
    transform: scale(0.98);
  }
  
  .simple-events-event-mini-image {
    padding-bottom: 100%; /* Keep 1:1 ratio on mobile */
  }
  
  .simple-events-event-card-mini {
    max-width: 100%; /* Full width on mobile */
  }
  
  .simple-events-event-mini-content {
    padding: 24px 18px;
  }
  
  .simple-events-event-card-mini h5 {
    font-size: 19px;
    margin-bottom: 14px;
    line-height: 1.4;
    font-weight: 700;
  }
  
  .simple-events-event-mini-meta {
    font-size: 14px;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
  }
  
  .simple-events-event-mini-meta span {
    gap: 7px;
  }
  
  .simple-events-event-mini-meta svg {
    width: 15px;
    height: 15px;
  }
  
  .event-category-badge {
    font-size: 12px !important;
    padding: 6px 12px !important;
    font-weight: 700 !important;
  }
  
  .simple-events-event-mini-actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 16px; /* Adjusted for no description */
  }
  
  .simple-events-btn-details-small,
  .simple-events-btn-register-small {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    min-height: 54px;
    font-weight: 700;
    border-radius: 12px;
  }
  
  .simple-events-btn-details-small svg,
  .simple-events-btn-register-small svg {
    width: 17px;
    height: 17px;
  }
  
  .simple-events-btn-details-small:active,
  .simple-events-btn-register-small:active {
    transform: scale(0.97);
  }
}

/* Extra small mobile devices - ENHANCED */
@media (max-width: 480px) {
  .simple-events-calendar-events-list {
    margin-top: 28px;
    padding: 20px 14px;
  }
  
  .simple-events-events-date-title {
    font-size: 18px;
  }
  
  .simple-events-clear-selection {
    padding: 14px 20px;
    font-size: 15px;
    min-height: 50px;
  }
  
  .simple-events-events-for-date {
    gap: 20px;
  }
  
  .simple-events-event-card-mini {
    border-radius: 16px;
  }
  
  .simple-events-event-mini-content {
    padding: 20px 16px;
  }
  
  .simple-events-event-card-mini h5 {
    font-size: 18px;
  }
  
  .simple-events-event-mini-meta {
    font-size: 13px;
    gap: 12px;
  }
  
  .simple-events-btn-details-small,
  .simple-events-btn-register-small {
    padding: 14px 20px;
    font-size: 15px;
    min-height: 52px;
  }
}

/* Tablet - OPTIMIZED */
@media (min-width: 769px) and (max-width: 1024px) {
  .simple-events-events-for-date {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
  }
  
  .simple-events-event-card-mini {
    border-radius: 16px;
  }
  
  .simple-events-event-mini-content {
    padding: 22px;
  }
  
  .simple-events-btn-details-small,
  .simple-events-btn-register-small {
    min-height: 48px;
  }
}

/* Large screens - OPTIMIZED GRID */
@media (min-width: 1400px) {
  .simple-events-events-for-date {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
  }
  
  .simple-events-event-mini-content {
    padding: 26px;
  }
}
