/* Events Grid */
.em-events-list-title {
  font-size: 2.2em;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 30px;
  border-bottom: 3px solid #0073aa;
  display: inline-block;
}

.em-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  gap: 20px;
  justify-content: center;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Carousel View */
.em-events-carousel {
  list-style: none;
  display: grid;

  grid-auto-flow: column;
  grid-auto-columns: min(100%, 600px);
  anchor-name: --carousel;

  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 20px 0;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;

  @media (prefers-reduced-motion: no-preference) {
    scroll-behavior: smooth;
  }

  scroll-marker-group: after;

  &::scroll-marker-group {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
  }

  > li {
    scroll-snap-align: center;

    &::scroll-marker {
      content: " ";
      width: 10px;
      height: 10px;
      aspect-ratio: 1 / 1;
      border-radius: 100%;
      border: 2px solid LinkText;

      &:target-current {
        background: LinkText;
      }
    }

    &::scroll-marker:target-current {
      background: LinkText;
    }
  }

  &::scroll-button(*) {
    font-family: "Material Icons";
    /* color: LinkText; */
    cursor: pointer;
    position: fixed;
    position-anchor: --carousel;
    margin: 1rem;
    /* font: inherit; */
    font-size: xx-large;
    background: transparent;
    border: 0;
    border-radius: 4px;
    font-weight: 700;

    &:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }
  }

  &::scroll-button(right) {
    content: "\e5cc";
    position-area: center right;
  }

  &::scroll-button(left) {
    content: "\e5cb";
    position-area: center left;
  }
  /* 
  & ::scroll-button(*) {
    border: 0;
    font-size: 2rem;
    background: none;
    color: black;
    opacity: 0.7;
    cursor: pointer;

    position: absolute;
    position-anchor: --carousel;
  }

  & ::scroll-button(*):hover,
  & ::scroll-button(*):focus {
    opacity: 1;
  }

  & ::scroll-button(left) {
    content: "◄" / "Previous";
    right: calc(anchor(left) - 70px);
    bottom: calc(anchor(top) + 13px);
  }

  & ::scroll-button(right) {
    content: "►" / "Next";
    left: calc(anchor(right) - 70px);
    bottom: calc(anchor(top) + 13px);
  } */
}

.em-events-carousel .em-event-card {
  flex: 0 0 400px;
  scroll-snap-align: center;
}

.em-events-carousel::-webkit-scrollbar {
  height: 8px;
}

.em-events-carousel::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.em-events-carousel::-webkit-scrollbar-thumb {
  background: #0073aa;
  border-radius: 10px;
}

/* View Switcher */
.em-view-container {
  margin-bottom: 40px;
}

.em-view-switcher {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 20px;
}

.em-view-switcher input[type="radio"] {
  display: none;
}

.em-view-label {
  padding: 8px 16px;
  background: #f0f0f0;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9em;
  color: #666;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.em-view-label:hover {
  background: #e0e0e0;
}

/* Switcher Logic */
.em-view-input-grid:checked + .em-view-label {
  background: #0073aa;
  color: #fff;
}

.em-view-input-carousel:checked + .em-view-label {
  background: #0073aa;
  color: #fff;
}

/* Hide/Show based on radio buttons */
.em-view-input-grid:checked ~ .em-events-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.em-view-input-carousel:checked ~ .em-events-outer-wrapper .em-events-wrapper {
  display: flex;
  overflow-x: auto;
}

.em-view-input-grid:checked
  ~ .em-events-outer-wrapper
  .em-events-wrapper
  .em-event-card {
  flex: none;
}

.em-view-input-carousel:checked
  ~ .em-events-outer-wrapper
  .em-events-wrapper
  .em-event-card {
  flex: 0 0 400px;
}

/* Navigation Elements */
.em-carousel-nav {
  display: none;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.em-carousel-nav a {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.8);
  color: #0073aa;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.em-carousel-nav a:hover {
  background: #0073aa;
  color: #fff;
}

.em-nav-prev {
  position: absolute;
  left: 10px;
}

.em-nav-next {
  position: absolute;
  right: 10px;
}

.em-carousel-markers {
  display: none;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.em-marker-dot {
  width: 12px;
  height: 12px;
  background: #ddd;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.em-marker-dot:hover {
  background: #0073aa;
}

/* Show Navigation when Carousel is active */
.em-events-carousel .em-carousel-nav {
  display: block;
}

/* Show Markers when Carousel is active in container */
.em-events-outer-wrapper:has(.em-events-carousel) .em-carousel-markers,
.em-view-input-carousel:checked
  ~ .em-events-outer-wrapper
  .em-carousel-markers {
  display: flex;
}

/* Ensure absolute positioning works for cards in carousel */
.em-events-carousel .em-event-card {
  position: relative;
}

/* Hide navigation in grid mode */
.em-events-grid .em-carousel-nav {
  display: none !important;
}

.em-events-outer-wrapper:has(.em-events-grid) .em-carousel-markers,
.em-view-input-grid:checked ~ .em-events-outer-wrapper .em-carousel-markers {
  display: none;
}

.em-event-card {
  border: 1px solid #e1e1e1;
  border-radius: 16px;
  padding: 0;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Template: Modern */
.em-card-template-modern {
  text-align: center;
}

.em-card-template-modern .em-event-image {
  position: relative;
}

.em-card-template-modern .em-event-categories {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
}

.em-card-template-modern .em-event-content {
  padding: 30px 20px;
}

.em-card-template-modern .em-event-meta {
  justify-content: center;
  gap: 20px;
}

/* Template: Compact (Horizontal) */
.em-card-template-compact {
  flex-direction: row;
  min-height: 200px;
}

.em-card-template-compact .em-event-image {
  width: 250px;
  min-width: 250px;
}

.em-card-template-compact .em-event-image img {
  height: 100%;
}

.em-card-template-compact .em-event-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.em-card-template-compact .em-event-meta {
  margin-top: auto;
}

.em-event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.em-event-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.em-event-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.em-event-title {
  margin: 0 0 12px 0;
  font-size: 1.4em;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.3;
}

.em-event-date,
.em-event-location {
  color: #555;
  font-size: 0.95em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.em-event-date .dashicons,
.em-event-location .dashicons {
  color: #0073aa;
  font-size: 18px;
  width: 18px;
  height: 18px;
}

.em-event-excerpt {
  flex-grow: 1;
  margin: 15px 0;
  font-size: 0.95em;
  color: #666;
  line-height: 1.6;
}

.em-event-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.em-event-price {
  font-size: 1.3em;
  font-weight: 800;
  color: #1a1a1a;
}

.em-event-places {
  font-size: 0.9em;
  font-weight: 700;
  color: #d63638;
}

.em-event-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.em-qty-input {
  width: 65px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-weight: 700;
  color: #1a1a1a;
  background: #f9f9f9;
}

.em-add-to-cart {
  background: #0073aa;
  color: #fff !important;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  flex-grow: 1;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 115, 170, 0.2);
}

.em-add-to-cart:hover {
  background: #005a87;
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0, 115, 170, 0.3);
}

.em-add-to-cart:disabled {
  background: #ccc;
  box-shadow: none;
  cursor: not-allowed;
}

/* Category and Tag Badges */
.em-event-categories,
.em-event-tags {
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.em-category-badge {
  display: inline-block;
  padding: 6px 14px;
  background: #0073aa;
  color: #fff !important;
  border-radius: 50px;
  font-size: 0.7em;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0, 115, 170, 0.2);
}

.em-tag-badge {
  display: inline-block;
  padding: 5px 12px;
  background: #f0f0f0;
  color: #333 !important;
  border: 1px solid #ddd;
  border-radius: 50px;
  font-size: 0.75em;
  font-weight: 600;
}

/* Cart Table */
.em-cart-wrapper {
  max-width: 900px;
  margin: 30px auto;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
    Cantarell, "Helvetica Neue", sans-serif;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.em-cart-wrapper h2 {
  font-size: 2.2em;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 25px;
  border-bottom: 3px solid #0073aa;
  display: inline-block;
  padding-bottom: 5px;
}

.em-cart-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 30px;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  overflow: hidden;
}

.em-cart-table th {
  background: #f8f9fa;
  color: #333;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85em;
  letter-spacing: 1px;
  padding: 15px;
  border-bottom: 2px solid #eee;
  text-align: left;
}

.em-cart-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  color: #444;
  font-size: 1em;
  vertical-align: middle;
}

.em-cart-table tr:last-child td {
  border-bottom: none;
}

.em-cart-table tr:hover td {
  background: #fcfcfc;
}

.em-cart-table .em-item-title {
  font-weight: 600;
  color: #1a1a1a;
}

.em-cart-total-row td {
  background: #fff;
  border-top: 1px solid #eee;
}

.em-cart-label {
  text-align: right;
  font-weight: 600;
  color: #666;
}

.em-cart-value {
  text-align: right;
  font-weight: 700;
  color: #1a1a1a;
  width: 150px;
}

.em-cart-grand-total {
  font-size: 1.4em;
  color: #0073aa !important;
}

.em-cart-actions {
  margin-top: 30px;
  text-align: right;
}

#em-checkout-button {
  background: #0073aa;
  color: #fff !important;
  padding: 15px 35px;
  font-size: 1.1em;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 115, 170, 0.3);
}

#em-checkout-button:hover {
  background: #005a87;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 115, 170, 0.4);
}

.em-remove-item {
  color: #d63638;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 600;
}

.em-remove-item:hover {
  color: #b32d2e;
  text-decoration: underline;
}

#em-checkout-message {
  margin-top: 20px;
}

.error {
  color: red;
}
.updated {
  color: green;
}

/* Modal Styles */
.em-modal {
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.em-modal-content {
  background-color: #fff;
  padding: 40px;
  border: none;
  width: 90%;
  max-width: 650px;
  border-radius: 16px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.em-modal-content h2 {
  font-size: 1.8em;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 25px;
  margin-top: 0;
}

.em-close {
  color: #333;
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 24px;
  font-weight: 300;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f5f5f5;
  transition: all 0.2s ease;
}

.em-close:hover {
  background: #eee;
  transform: rotate(90deg);
}

/* Form Styles */
.em-form-group {
  margin-bottom: 20px;
}

.em-form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: #333;
  font-size: 0.95em;
}

.em-form-group input[type="text"],
.em-form-group input[type="email"],
.em-form-group input[type="tel"],
.em-form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 1em;
  color: #1a1a1a;
  background: #fafafa;
  transition: all 0.2s ease;
}

.em-form-group input:focus,
.em-form-group select:focus {
  outline: none;
  border-color: #0073aa;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.em-row {
  display: flex;
  gap: 15px;
}

.em-row input {
  flex: 1;
}

.em-form-total {
  font-size: 1.5em;
  margin: 30px 0;
  padding: 20px 0;
  border-top: 2px dashed #eee;
  color: #1a1a1a;
  text-align: right;
}

.em-form-total strong {
  color: #666;
  font-weight: 600;
}

.em-form-total #em-modal-total {
  color: #0073aa;
  font-weight: 800;
  margin-left: 10px;
}

.em-form-actions {
  text-align: right;
}

.em-form-actions .button {
  background: #0073aa;
  color: #fff !important;
  padding: 15px 40px;
  font-size: 1.1em;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 115, 170, 0.3);
}

.em-form-actions .button:hover {
  background: #005a87;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 115, 170, 0.4);
}

.description {
  font-size: 0.85em;
  color: #777;
  margin-top: -15px;
  margin-bottom: 20px;
}

/* Floating Cart Widget */
#em-floating-cart {
  position: fixed;
  z-index: 99999;
}

#em-floating-cart a {
  display: block;
  width: 60px;
  height: 60px;
  background-color: #0073aa;
  color: white;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  position: relative;
  transition:
    transform 0.2s,
    background-color 0.2s;
}

#em-floating-cart a:hover {
  background-color: #005177;
  transform: scale(1.05);
}

#em-floating-cart .dashicons {
  /* margin-top: -25px; */
  font-size: 32px;
  width: 32px;
  height: 32px;
  line-height: 60px; /* Vertically center icon */
}

#em-floating-cart .em-cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #d63638;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: bold;
  border: 2px solid #fff;
}

/* Floating Cart Styles */
.em-floating-cart {
  position: fixed;
  z-index: 99999;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.em-floating-cart.em-position-bottom-right {
  bottom: 30px;
  right: 30px;
}
.em-floating-cart.em-position-bottom-left {
  bottom: 30px;
  left: 30px;
}
.em-floating-cart.em-position-top-right {
  top: 30px;
  right: 30px;
}
.em-floating-cart.em-position-top-left {
  top: 30px;
  left: 30px;
}

.em-floating-cart-icon {
  width: 65px;
  height: 65px;
  background: #0073aa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 115, 170, 0.4);
  transition: all 0.3s ease;
}

.em-floating-cart-icon:hover {
  background: #005a87;
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 115, 170, 0.5);
}

.em-floating-cart-icon .dashicons {
  color: #fff !important;
  font-size: 32px;
  width: 32px;
  height: 32px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.em-cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #d63638;
  color: #fff;
  border-radius: 50%;
  min-width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.em-floating-cart-content {
  position: absolute;
  bottom: 85px;
  right: 0;
  width: 320px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.em-floating-cart.em-position-bottom-left .em-floating-cart-content {
  right: auto;
  left: 0;
}

.em-floating-cart.em-position-top-right .em-floating-cart-content,
.em-floating-cart.em-position-top-left .em-floating-cart-content {
  bottom: auto;
  top: 85px;
}

.em-floating-cart-content h4 {
  margin: 0 0 15px 0;
  font-size: 18px;
  font-weight: 800;
  color: #1a1a1a;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
}

.em-floating-cart-items {
  margin-bottom: 20px;
}

.em-floating-cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
}

.em-item-title {
  font-weight: 700;
  color: #333;
  font-size: 14px;
}

.em-item-qty {
  color: #888;
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  margin: 0 10px;
}

.em-item-price {
  font-weight: 800;
  color: #0073aa;
  font-size: 14px;
}

.em-floating-cart-actions {
  padding-top: 15px;
}

.em-view-cart-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 18px 10px 10px 6px;
  background: #0073aa;
  color: #fff !important;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.em-view-cart-btn:hover {
  background: #005a87;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .em-floating-cart.em-position-bottom-right,
  .em-floating-cart.em-position-bottom-left {
    bottom: 10px;
  }

  .em-floating-cart.em-position-bottom-right {
    right: 10px;
  }

  .em-floating-cart.em-position-bottom-left {
    left: 10px;
  }

  .em-floating-cart.em-position-top-right,
  .em-floating-cart.em-position-top-left {
    top: 10px;
  }

  .em-floating-cart.em-position-top-right {
    right: 10px;
  }

  .em-floating-cart.em-position-top-left {
    left: 10px;
  }

  .em-floating-cart-content {
    width: 280px;
  }
}

/* Calendar Styles */
.em-calendar {
  margin: 20px 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.em-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #eee;
  flex-wrap: wrap;
  gap: 15px;
}

.em-calendar-title {
  font-size: 24px;
  margin: 0;
  color: #333;
}

.em-calendar-nav {
  display: flex;
  gap: 10px;
}

.em-calendar-nav a {
  padding: 8px 15px;
  background: #f5f5f5;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: background 0.3s ease;
}

.em-calendar-nav a:hover {
  background: #0073aa;
  color: #fff;
}

.em-calendar-view-switcher {
  display: flex;
  gap: 5px;
  background: #f5f5f5;
  border-radius: 4px;
  padding: 4px;
}

.em-calendar-view-switcher a {
  padding: 6px 12px;
  text-decoration: none;
  color: #666;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.em-calendar-view-switcher a.active,
.em-calendar-view-switcher a:hover {
  background: #0073aa;
  color: #fff;
}

/* Month View */
.em-calendar-grid {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.em-calendar-grid th {
  padding: 12px;
  background: #f9f9f9;
  font-weight: 600;
  text-align: center;
  border: 1px solid #eee;
  color: #666;
  text-transform: uppercase;
  font-size: 12px;
}

.em-calendar-day {
  border: 1px solid #eee;
  padding: 8px;
  vertical-align: top;
  min-height: 100px;
  background: #fff;
  transition: background 0.2s ease;
}

.em-calendar-day:hover {
  background: #f9f9f9;
}

.em-calendar-day.em-empty {
  background: #fafafa;
}

.em-calendar-day.em-today {
  background: #e7f3ff;
  border-color: #0073aa;
}

.em-day-number {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 5px;
  color: #333;
}

.em-calendar-day.em-today .em-day-number {
  color: #0073aa;
}

.em-day-events {
  margin-top: 5px;
}

.em-calendar-event {
  padding: 4px 6px;
  margin: 2px 0;
  background: #0073aa;
  border-radius: 3px;
  font-size: 11px;
}

.em-calendar-event a {
  color: #fff;
  text-decoration: none;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.em-calendar-event:hover {
  background: #005a87;
}

/* Week View */
.em-week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.em-week-day {
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 15px;
  background: #fff;
  min-height: 200px;
}

.em-week-day.em-today {
  background: #e7f3ff;
  border-color: #0073aa;
}

.em-week-day-header {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 2px solid #eee;
}

.em-day-name {
  font-weight: 600;
  font-size: 14px;
  color: #333;
  display: block;
}

.em-day-date {
  font-size: 12px;
  color: #666;
  display: block;
  margin-top: 2px;
}

.em-week-day-events {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.em-week-event {
  padding: 8px;
  background: #f5f5f5;
  border-left: 3px solid #0073aa;
  border-radius: 4px;
}

.em-week-event a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
}

.em-week-event:hover {
  background: #e7f3ff;
}

.em-event-time {
  font-size: 11px;
  color: #666;
  display: block;
  margin-bottom: 4px;
}

.em-no-events {
  color: #999;
  font-style: italic;
  font-size: 13px;
  text-align: center;
  margin: 20px 0;
}

/* Day View */
.em-day-grid {
  margin-top: 20px;
}

.em-day-event {
  padding: 20px;
  margin-bottom: 15px;
  background: #fff;
  border: 1px solid #eee;
  border-left: 4px solid #0073aa;
  border-radius: 6px;
  transition: box-shadow 0.3s ease;
}

.em-day-event:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.em-day-event .em-event-time {
  font-size: 14px;
  color: #0073aa;
  font-weight: 600;
  margin-bottom: 10px;
}

.em-day-event .em-event-title {
  margin: 0 0 10px 0;
  font-size: 20px;
}

.em-day-event .em-event-title a {
  color: #333;
  text-decoration: none;
}

.em-day-event .em-event-title a:hover {
  color: #0073aa;
}

.em-day-event .em-event-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.em-day-event .em-event-location {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #666;
  margin-bottom: 10px;
  font-size: 14px;
}

.em-day-event .em-event-price {
  font-size: 18px;
  font-weight: 600;
  color: #0073aa;
  margin-bottom: 15px;
}

.em-day-event .em-event-actions {
  margin-top: 15px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .em-calendar-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .em-calendar-title {
    font-size: 20px;
  }

  .em-week-grid {
    grid-template-columns: 1fr;
  }

  .em-calendar-grid th,
  .em-calendar-day {
    font-size: 12px;
    padding: 5px;
    min-height: 80px;
  }

  .em-day-number {
    font-size: 12px;
  }

  .em-calendar-event {
    font-size: 10px;
  }
}
