form {
	max-width: 90%;
	margin: auto !important;
}

.event-item h3,
.event-title {
	font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-bottom: 8px;
  line-height: 1.25;
}

.event-description-wrap {
  position: relative;
  max-height: 3.2em;
  overflow: hidden;
  margin-bottom: 10px;
}

.event-description-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.2em;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(12, 16, 24, 0), rgba(12, 16, 24, 0.98));
}

.event-description {
  margin: 0;
  color: #afbad0;
  font-size: 12px;
  line-height: 1.35;
}

form input {
	margin-bottom: 10px
}

.publisher-pic {
  overflow: visible;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-flow: wrap;
  width: 100%;
}

.publisher-pic img {
	object-fit: contain;
	max-height: 100%;
	max-width: 100%;
}

.event-item-details {
    padding: 12px 12px 14px;
    background: rgba(12, 16, 24, 0.96);
    border-radius: 0 0 14px 14px;
    overflow: hidden;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

h1 {
	margin: 0;
}

h3 {
	text-shadow: 0 0 4px rgba(0, 0, 0, 0.55);
}

.event-item {
  max-width: 400px;
  border-radius: 3px;
  position: relative;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  margin:auto;
}

.half-border-element {
    padding-right:2px;
    box-shadow: -1px -1px 7px rgb(0 0 0 / 40%);
    position: relative;
    min-height: 100%;
    margin:auto;
    aspect-ratio: 1 / 1;
}

.half-border-element::after, 
.half-border-element::before {
	width: 100%;
	content: '';
  position: absolute;
}

.half-border-element::after {
  height: 2px; 
  bottom: 0;
  right: 0;
	background: radial-gradient(circle at right, var(--glow-color), transparent 70%);
}

.half-border-element::before {
  height: 100%;
  width: 2px;
  bottom: 0;
  right: 0;
	background: radial-gradient(circle at bottom, var(--glow-color), transparent 70%);
}

.event-item h3 a {
	position: relative;
  max-width: 40%;
  text-decoration: none;
  cursor: pointer;
  z-index: 1;
}

.event-item img {
	border-radius: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-item h3 {
	width: 100%;
}

.event-item h3 {
	color: white;
}

.card-deck {
	float: right;
	/* min-width: 158px; */
}

.card-body {
	padding: 0px;
}

.card {
	border: none !important;
	background: linear-gradient(180deg, #00000054, #000000, #00000000);
}

.event-status-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0px 5px 3px 5px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  text-transform: capitalize;
  background: #555;
  z-index: 2;
  border-radius:5px;
}

.event-status-badge.uploading {
  background: #3b82f6;
}

.event-status-badge.processing {
  background: #facc15;
  color: #000;
}

.event-status-badge.ready {
  background: #22c55e;
}

.event-status-badge.live {
  background: #10b981;
}

.event-status-badge.error {
  background: #ef4444;
}

.event-status-badge.rejected {
  background: #6b7280;
}

.event-item-container {
    border-radius: 14px;
    max-width: 100%;
    position: relative;
    margin: auto;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(8, 10, 16, 0.6);
}

.event-item-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.event-item-container {
  cursor: pointer;
}


/* center the whole list as a block, keep text left */
.event-item-specifics{
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 6px 0 2px 0;
  padding-left: 0;
  list-style: none !important;
}

/* tidy items and set purple bullets */
.event-item-specifics li{
  margin: 0;
  padding: 0;
  text-align: left;
  color: #cdd6e5;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.event-spec-icon {
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  position: relative;
  top: -1px;
}

.event-spec-value {
  color: #f2f4ff;
  font-weight: 600;
}

.event-spec-label {
  color: #9fb7d3;
  font-size: 11px;
}

.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.event-tag {
  font-size: 11px;
  color: #9fb0c9;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  text-decoration: none;
}

.event-tag:hover {
  color: #d7e2f5;
  text-decoration: underline;
}


.event-item {
  transition: transform 0.2s ease-in-out;
}

.event-item:hover {
  animation: shake 0.3s ease-in-out;
}

/* Subtle shake animation */
@keyframes shake {
  0%   { transform: translateX(0); }
  25%  { transform: translateX(-2px); }
  50%  { transform: translateX(2px); }
  75%  { transform: translateX(-2px); }
  100% { transform: translateX(0); }
}
