/* Mine arrangementer under WooCommerce Min konto */
.cpm-my-events-account {
  display: grid;
  gap: 1.15rem;
  margin: 0 0 2rem;
}

.cpm-my-events-header {
  padding: clamp(1.1rem, 2.5vw, 1.55rem);
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #f7f9ff 100%);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.cpm-my-events-header__eyebrow {
  display: inline-flex;
  margin-bottom: .35rem;
  color: #2059f5;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cpm-my-events-header h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.035em;
}

.cpm-my-events-header p {
  max-width: 700px;
  margin: .55rem 0 0;
  color: #64748b;
  line-height: 1.65;
}

.cpm-my-events-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.cpm-my-events-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 2.55rem;
  padding: .55rem .95rem;
  border: 1px solid #dbe5f3;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-weight: 800;
  text-decoration: none;
}

.cpm-my-events-tabs a:hover,
.cpm-my-events-tabs a:focus {
  border-color: rgba(37, 99, 235, .25);
  background: #eef4ff;
  color: #1d4ed8;
}

.cpm-my-events-section {
  display: grid;
  gap: .85rem;
}

.cpm-my-events-section h3 {
  margin: .25rem 0 0;
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 850;
}

.cpm-my-events-list {
  display: grid;
  gap: .85rem;
}

.cpm-my-event-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .055);
}

.cpm-my-event-card__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: .82rem;
  font-weight: 850;
  white-space: nowrap;
}

.cpm-my-event-card__main h3 {
  margin: 0 0 .45rem;
  color: #0f172a;
  font-size: 1.12rem;
  font-weight: 850;
}

.cpm-my-event-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.cpm-my-event-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: .25rem .62rem;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-size: .84rem;
  font-weight: 700;
}

.cpm-my-event-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .45rem;
}

.cpm-my-event-card__button,
.woocommerce .cpm-my-event-card__button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: .55rem .85rem;
  border: 1px solid #dbe5f3;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.cpm-my-event-card__button--primary,
.woocommerce .cpm-my-event-card__button--primary.button {
  border-color: #2059f5;
  background: #2059f5;
  color: #fff;
}

.cpm-my-events-empty {
  padding: 1rem;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  background: #f8fafc;
  color: #64748b;
  font-weight: 700;
}

@media (max-width: 820px) {
  .cpm-my-event-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cpm-my-event-card__status {
    justify-self: start;
  }

  .cpm-my-event-card__actions {
    justify-content: stretch;
  }

  .cpm-my-event-card__button,
  .woocommerce .cpm-my-event-card__button.button {
    width: 100%;
  }
}
