:root {
    /* Event Card Variables */
	--tt-card-radius: 10px;
    --tt-card-radius-sm: 5px;
	--tt-card-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	--tt-card-text-color: #000000;
	--tt-card-bg: #fff;
	--tt-card-border: #e5e7eb;
    --tt-card-other-text-color: #212121;
    --tt-font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	/* Lovable Design System */
	--tt-background: #ffffff;
	--tt-foreground: #171717;
	--tt-muted: #f5f5f5;
	--tt-muted-foreground: #666666;
	--tt-border: #e5e5e5;
	--tt-primary: #171717;
	--tt-primary-foreground: #ffffff;
}

body {
    font-family: var(--tt-font-family);
}

.absolute-footer, html {
  background-color: #ffffff !important;
}

/* ============================================================
   HIDE FLATSOME THEME HEADER (all screen sizes)
   The "header header-full-width" element is removed entirely.
   Only the custom tt-desktop-header remains.
   ============================================================ */
#header,
.header-wrapper,
.header-main,
#wide-nav,
.header-full-width,
.html_nav_position_text_top,
[class*="html_nav_position_text"],
.header-top .html-element,
.top-bar .html-element,
.header-inner > .html-element {
	display: none !important;
}

/* ============================================================
   DESKTOP HEADER (Lovable Design) — shown above 800px
   Matches: fixed header, h-[60px], bg-background, border-b border-border
   ============================================================ */

/* Hidden by default (mobile-first) */
.tt-desktop-header {
	display: none;
}

/* Show on desktop (>= 1024px) */
@media (min-width: 1024px) {
	.tt-desktop-header {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		height: 60px;
		background: var(--tt-background, #ffffff);
		border-bottom: 1px solid var(--tt-border, #e5e5e5);
		z-index: 9999;
	}

	.tt-desktop-header__inner {
		height: 100%;
		max-width: 1050px;
		margin: 0 auto;
		padding: 0 24px;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.tt-desktop-header__logo {
		display: flex;
		align-items: center;
		gap: 8px;
		text-decoration: none !important;
	}

	.tt-desktop-header__logo img {
		height: 32px;
		width: auto;
	}

	.tt-desktop-header__nav {
		display: flex;
		align-items: center;
		gap: 4px;
	}

	.tt-desktop-header__nav-item {
		display: flex;
		align-items: center;
		gap: 8px;
		padding: 8px 16px;
		border-radius: 999px;
		font-size: 14px;
		font-weight: 500;
		color: var(--tt-muted-foreground, #666666);
		text-decoration: none !important;
		transition: all 0.15s ease;
	}

	/* Hover + active: same light-grey pill, dark text. */
	.tt-desktop-header__nav-item:hover,
	.tt-desktop-header__nav-item--active {
		background: var(--tt-secondary, #f4f4f5);
		color: var(--tt-foreground, #171717);
	}

	.tt-desktop-header__nav-item--active:hover {
		background: var(--tt-border, #e5e5e5);
	}

	.tt-desktop-header__nav-item i {
		font-size: 16px;
		width: 16px;
		height: 16px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.tt-desktop-header__nav-icon {
		width: 16px;
		height: 16px;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
	}

	.tt-desktop-header__nav-icon svg {
		width: 16px;
		height: 16px;
		display: block;
	}

	.tt-desktop-header__nav-item--active i {
		font-weight: 900;
	}

	.tt-desktop-header__nav-item--logout {
		color: #dc2626 !important;
	}

	.tt-desktop-header__nav-item--logout:hover {
		background: rgba(220, 38, 38, 0.1);
		color: #b91c1c !important;
	}

	.tt-desktop-header__nav-item--logout i {
		color: inherit;
	}

	/* ── Profile dropdown animations (Lovable: fade + zoom-in-95 + slide-from-top) ── */
	@keyframes tt-dropdown-in {
		from {
			opacity: 0;
			transform: scale(0.95) translateY(-8px);
		}
		to {
			opacity: 1;
			transform: scale(1) translateY(0);
		}
	}

	@keyframes tt-dropdown-out {
		from {
			opacity: 1;
			transform: scale(1) translateY(0);
		}
		to {
			opacity: 0;
			transform: scale(0.95) translateY(-8px);
		}
	}

	/* ── Profile dropdown menu ─────────────────────────────────── */
	.tt-profile-menu {
		position: relative;
		margin-left: 4px;
	}

	.tt-profile-menu__btn {
		width: 36px !important;
		height: 36px !important;
		min-width: 0 !important;
		min-height: unset !important;
		border-radius: 50% !important;
		background: var(--tt-muted, #f5f5f5) !important;
		background-color: var(--tt-muted, #f5f5f5) !important;
		border: none !important;
		outline: none !important;
		box-shadow: none !important;
		cursor: pointer !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		overflow: hidden !important;
		transition: box-shadow 0.15s ease !important;
		padding: 0 !important;
		margin: 0 !important;
		line-height: 1 !important;
		font-size: inherit !important;
		text-transform: none !important;
		letter-spacing: normal !important;
		color: var(--tt-foreground, #171717) !important;
		vertical-align: middle !important;
	}

	.tt-profile-menu__btn:hover {
		background: var(--tt-muted, #f5f5f5) !important;
		background-color: var(--tt-muted, #f5f5f5) !important;
		box-shadow: 0 0 0 2px rgba(23, 23, 23, 0.3) !important;
	}

	/* Ring for keyboard focus only — plain :focus also fired on mouse click
	   and the ring stuck to the avatar until the next click elsewhere. */
	.tt-profile-menu__btn:focus {
		outline: none !important;
		box-shadow: none !important;
	}
	.tt-profile-menu__btn:focus-visible {
		box-shadow: 0 0 0 2px rgba(23, 23, 23, 0.3) !important;
	}

	.tt-profile-menu__avatar {
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
	}

	.tt-profile-menu__icon {
		display: flex;
		align-items: center;
		justify-content: center;
		color: var(--tt-foreground, #171717);
		font-size: 16px;
	}

	.tt-profile-menu__icon svg {
		width: 16px;
		height: 16px;
		display: block;
	}

	.tt-profile-menu__dropdown {
		display: none;
		position: absolute !important;
		top: calc(100% + 8px) !important;
		right: 0 !important;
		width: 200px !important;
		background: var(--tt-background, #ffffff) !important;
		border: 1px solid var(--tt-border, #e5e5e5) !important;
		border-radius: 8px !important;
		padding: 4px !important;
		box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
		z-index: 10000 !important;
		list-style: none !important;
		margin: 0 !important;
	}

	.tt-profile-menu__dropdown--open {
		display: block !important;
		animation: tt-dropdown-in 0.15s ease forwards;
		transform-origin: top right;
	}

	.tt-profile-menu__dropdown--closing {
		display: block !important;
		animation: tt-dropdown-out 0.15s ease forwards;
		transform-origin: top right;
	}

	.tt-profile-menu__item {
		display: flex !important;
		align-items: center !important;
		gap: 12px !important;
		width: 100% !important;
		padding: 8px 12px !important;
		border-radius: 6px !important;
		font-size: 14px !important;
		font-weight: 400 !important;
		line-height: 1.4 !important;
		color: var(--tt-foreground, #171717) !important;
		text-decoration: none !important;
		background: transparent !important;
		border: none !important;
		transition: background 0.12s ease !important;
		cursor: pointer !important;
		box-shadow: none !important;
		letter-spacing: normal !important;
		text-transform: none !important;
	}

	.tt-profile-menu__item:hover {
		background: var(--tt-muted, #f5f5f5) !important;
		color: var(--tt-foreground, #171717) !important;
		text-decoration: none !important;
		box-shadow: none !important;
	}

	.tt-profile-menu__item--destructive,
	.tt-profile-menu__item--destructive:visited {
		color: #dc2626 !important;
	}

	.tt-profile-menu__item--destructive:hover {
		background: rgba(220, 38, 38, 0.08) !important;
		color: #b91c1c !important;
	}

	.tt-profile-menu__item-icon {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 16px;
		height: 16px;
		flex-shrink: 0;
		font-size: 16px;
	}

	.tt-profile-menu__item-icon svg {
		width: 16px;
		height: 16px;
		display: block;
	}

	.tt-profile-menu__divider {
		height: 1px;
		background: var(--tt-border, #e5e5e5);
		margin: 4px 0;
	}

	/* Add padding to main content for fixed header */
	#main {
		padding-top: 60px;
	}

	/* WordPress Admin Bar offset */
	body.admin-bar .tt-desktop-header {
		top: 32px;
	}

	/* (removed: .row.row-main.event-listing-row / .tt-single-event-row /
	   event_listing_* normalizers — that Flatsome-era markup is gone; home
	   and single-event both use .tt-page-shell now.) */
}

/* ============================================================
   MOBILE (<= 1023px): Hide header, show bottom nav
   ============================================================ */
@media (max-width: 1023px) {
	/* Hide custom desktop header on mobile */
	.tt-desktop-header {
		display: none !important;
	}

	/* Remove any top spacing from header */
	body,
	body.admin-bar {
		padding-top: 0 !important;
		margin-top: 0 !important;
	}

	#main,
	#content,
	.page-wrapper {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}
}

/* ============================================================
   MARKETING HEADER (About / Locations / Contact)
   Standalone blurred nav bar shown on the info pages in place of
   the app header + bottom nav. Same look as .tt-desktop-header,
   but visible on every breakpoint; on mobile the menu collapses
   to a single "Events →" link (matches the Lovable design).
   ============================================================ */
.tt-marketing-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 60px;
	background: rgba(255, 255, 255, 0.8);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(229, 229, 229, 0.6);
	z-index: 9999;
}

.tt-marketing-header__inner {
	height: 100%;
	max-width: 1050px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.tt-marketing-header__logo {
	display: flex;
	align-items: center;
	text-decoration: none !important;
}

.tt-marketing-header__logo img {
	height: 32px;
	width: auto;
	display: block;
}

.tt-marketing-header__nav {
	display: flex;
	align-items: center;
	gap: 32px;
}

.tt-marketing-header__nav-item {
	font-size: 14px;
	font-weight: 500;
	color: var(--tt-muted-foreground, #666666);
	text-decoration: none !important;
	transition: color 0.15s ease;
}

.tt-marketing-header__nav-item:hover {
	color: var(--tt-foreground, #171717);
}

.tt-marketing-header__nav-item.is-active {
	color: var(--tt-foreground, #171717);
	font-weight: 600;
}

.tt-marketing-header__back {
	display: none;
	align-items: center;
	padding: 0;
	border: 0;
	background: none;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	color: var(--tt-muted-foreground, #666666);
	text-decoration: none !important;
	cursor: pointer;
	transition: color 0.15s ease;
}

.tt-marketing-header__back:hover {
	color: var(--tt-foreground, #171717);
}

/* Offset the page content below the fixed bar (both breakpoints). */
body.tt-marketing-page #main {
	padding-top: 60px !important;
}

/* WordPress admin bar offset — only ≥1024px, where the bar is shown
   (it's hidden below 1024px, so the header sits flush at top: 0 there). */
@media (min-width: 1024px) {
	body.admin-bar .tt-marketing-header {
		top: 32px;
	}
}

/* Mobile: hide the menu, show the single "Events →" link. */
@media (max-width: 767px) {
	.tt-marketing-header__nav {
		display: none;
	}
	.tt-marketing-header__back {
		display: inline-flex;
	}
}

/* ============================================================
   FOOTER (Lovable Design - Site-wide)
   Matches: bg-muted border-t border-border py-8 px-[15px]
   ============================================================ */

/* Hide existing Flatsome footer CONTENT but keep wrapper visible for our footer */
.footer-wrapper > .footer,
.footer-wrapper > .absolute-footer,
.footer-wrapper .footer-widgets,
.footer-wrapper .absolute-footer-wrap,
#footer > .footer,
#footer > .absolute-footer {
	display: none !important;
}

/* Reset the footer wrapper to be visible and full-width */
.footer-wrapper,
#footer.footer-wrapper {
	display: block !important;
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* ============================================================
   MOBILE BOTTOM NAVIGATION BAR (Lovable Design)
   Shown at <= 1023px. Matches: fixed bottom-0, h-[50px],
   bg-background/80, backdrop-blur-xl, border-t, z-50
   ============================================================ */

/* Hidden by default (desktop) */
.tt-bottom-nav {
	display: none;
}

/* Show at <= 1023px */
@media (max-width: 1023px) {
	/* Floating rounded pill, not a full-width bar — matches the design
	   reference (Lovable BottomNav.tsx: mx-auto max-w-md px-3 pb-2, then
	   rounded-full + border + shadow on the nav itself).
	   left/right + margin-inline: auto centres it and caps it at 448px
	   (max-w-md); the 12px insets are the px-3 gutter. */
	.tt-bottom-nav {
		display: flex;
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: calc(8px + env(safe-area-inset-bottom, 0px));
		margin-inline: auto;
		max-width: 448px;
		padding: 6px 8px;
		background: rgba(255, 255, 255, 0.90);
		backdrop-filter: blur(24px);
		-webkit-backdrop-filter: blur(24px);
		border: 1px solid rgba(229, 229, 229, 0.6);
		border-radius: 999px;
		box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
		z-index: 9999;
		justify-content: space-between;
		align-items: center;
		gap: 4px;
		box-sizing: border-box;
		animation: tt-bottom-nav-slide-up 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
	}

	@keyframes tt-bottom-nav-slide-up {
		from {
			transform: translateY(100%);
			opacity: 0;
		}
		to {
			transform: translateY(0);
			opacity: 1;
		}
	}

	/* Nav item — each is its own rounded pill so the active one can carry a
	   filled background (Lovable: rounded-full + bg-secondary when active). */
	.tt-bottom-nav__item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2px;
		flex: 1;
		padding: 6px 4px;
		border-radius: 999px;
		text-decoration: none !important;
		-webkit-tap-highlight-color: transparent;
		transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	}

	.tt-bottom-nav__item:active {
		transform: scale(0.92);
	}

	/* Icon */
	.tt-bottom-nav__icon {
		display: flex;
		align-items: center;
		justify-content: center;
		transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	}

	.tt-bottom-nav__icon svg {
		width: 22px;
		height: 22px;
		stroke-width: var(--tt-nav-stroke, 1.8);
		transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	}

	/* Label */
	.tt-bottom-nav__label {
		font-size: 10.5px;
		letter-spacing: 0.01em;
		font-weight: 500;
		line-height: 1;
		transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	}

	/* Default state (inactive) */
	.tt-bottom-nav__item {
		color: var(--tt-muted-foreground, #666666);
	}

	/* Active state — filled pill behind the icon+label. */
	.tt-bottom-nav__item--active {
		color: var(--tt-primary, #171717);
		background: var(--tt-secondary, #f4f4f5);
	}

	.tt-bottom-nav__item--active .tt-bottom-nav__label {
		font-weight: 600;
	}
}

.tt-single-page-tags-container {
	margin: 15px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tt-hidden {
	display: none;
}

.tt-tag-box {
    border-radius: 10px;
    white-space: nowrap;
    background: #f9f9f9;
    padding: 2px 15px;
    margin-right: 5px;
    /* color: #000000; */
    border: 1px solid #eeeeee;
}

.venue_google_map_link {
    cursor: pointer;
}

/* Wrapper */
.tt-card-header-tags-wrapper {
	display: flex;
	align-items: center;
    justify-content: space-between;
    width: 90%;
}

.tt-card-header-tags {
    display: flex;
    flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

/* (removed: .tt-card-header-tags-wrapper/.tt-recurring-row .todo-actions —
   dead wrappers, that markup renders nowhere. The .todo-actions component
   itself lives in my_event.css; My Events' recurring modal is its only
   consumer.) */

/* Base tag */
.tt-card-header-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: normal;
	line-height: 1;
	border-radius: 10px;
	white-space: nowrap;
    height: 24px;
    padding: 0 10px;
    align-items: center;
    justify-content: center;
}

/* Icon */
.tt-card-header-tag i {
	font-size: 12px;
}

/* Primary (Red filled) */
.tt-card-header-tag-primary {
	background-color: #ff4d3f;
	color: #ffffff;
}

/* Outline tags */
.tt-card-header-tag-outline {
	background-color: #f5f5f5;
	color: #000000;
	border: 1px solid #e0e0e0;
}

.tt-card-header-tag-text {
    line-height: 24px;
}

.tt-highlights-card-header-tags-wrapper {
    /* position: absolute;
    top: 190px; */
}

/* Recurring Event Popup - Overlay Style (matches td-popup-overlay) */
#my-recurring-event-popup.td-popup-overlay {
    z-index: 9999;
}

#my-recurring-event-popup .td-popup-card--recurring {
    background: #f9f9f9;
    width: min(720px, 94vw);
    max-height: 85vh;
}

@media (max-width: 768px) {
    #my-recurring-event-popup .td-popup-card {
        width: 100% !important;
        max-width: 100% !important;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }
}

/* Sidebar overlay backdrop */
.append_slideout {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10000;
    top: 0;
    left: 0;
    background: #00000080;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.tt-popup-panel {
    padding: 0 10px 10px 10px;
    flex: 1;
    overflow: auto;
    min-height: 0;
}

.tt-popup-loading {
    padding: 100px 0;
    text-align: center;
}

.tt-recurring-event-tag {
    color: #1c7ce2;
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	/* Hide first tag on mobile */
    .tt-highlighted-tag {
        display: none !important;
    }

    .new_home_featured_tag {
        display: block !important;
    }

	/* Slightly smaller tags on mobile */
	.tt-card-header-tag {
		font-size: 11px;
		padding: 5px 9px;
	}
}


/* Vertical Event Card Styles */
.tt-v-card {
	color: var(--tt-card-text-color);
	width: 100%;
	max-width: 100%;
	background: var(--tt-card-bg);
	border: 1px solid var(--tt-card-border);
	border-radius: var(--tt-card-radius);
	/* box-shadow: var(--tt-card-shadow); */
}
.tt-v-card-media {
	position: relative;
	background: #fff;
}
.tt-v-card-media .tt-v-card-media-image {
	width: 100%;
	height: 170px;
	object-fit: cover;
	display: block;
    border-radius: var(--tt-card-radius);
}
.tt-v-card-media-topbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}
.tt-v-card-topbar-status {
    padding: 4px 10px;
    /* background: #03a9f4; */
    /* color: #fff; */
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: var(--tt-card-radius-sm);
    /* border: 1px solid #fff; */
}
.tt-v-card-topbar-more-menu {
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 1px solid #bdbdbd;
    font-size: 10px;
}
.tt-more-popup {
    position: absolute;
    top: 50px;
    right: 5px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    min-width: 130px;
    display: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    z-index: 1000;
}

.tt-more-popup ul {
    margin: 0;
    padding: 5px 0;
    list-style: none;
}

.tt-more-popup ul li {
    padding: 5px 14px;
    cursor: pointer;
    margin-bottom: 0;
    transition: background 0.2s ease;
    font-size: 12px;
}

.tt-more-popup ul li:hover {
    background: #f7f7f7;
}
.tt-more-popup-arrow {
    position: absolute;
    top: -6px;
    right: 12px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
    transform: rotate(45deg);
}

.tt-v-card-media-bottombar {
    padding: 15px;
}

.tt-event-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
}

.tt-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.4;
}

.tt-badge-walkin {
  background: #c6f0bb;
  color: #424242;
  border: 1px solid #c9e5c3;
}

.tt-badge-online-tickets {
    background: #000000;
    color: #ffffff;
    border: 1px solid #000000;
}

.tt-badge-booking-recommended {
    background: #3f51b5;
    color: #ffffff;
    border: 1px solid #3f51b5;
}

.tt-badge-booking-required {
    background: #3f51b5;
    color: #ffffff;
    border: 1px solid #3f51b5;
}

.tt-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid #d6d6d6;
  font-size: 12px;
  color: #4a4a4a;
  background: #ffffff;
}

.tt-v-card-reccurring-icon {
    width: 10px;
    height: 10px;
}

.tt-v-card-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #212121;
    display: -webkit-box;
    -webkit-line-clamp: 2;     /* limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tt-v-card-small-icon {
    width: 14px;
    height: 14px;
}

.tt-v-card-icon-text-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tt-v-card-icon-text {
    font-size: 14px;
    color: var(--tt-card-other-text-color);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tt-tag-item {
    background: #fff;
    border: 1px solid #212121;
    border-radius: 5px;
    padding: 2px 10px;
    font-weight: 600;
    font-size: 12px;
    color: #212121;
    white-space: nowrap;
    flex-shrink: 0;
    opacity: 0.8;
}

.tt-tag-container {
    position: absolute;
    left: 0;
    top: 130px;
    margin: 8px;

    display: flex;
    flex-wrap: nowrap;          /* keep in a single row */
    gap: 8px;

    max-width: 100%;            /* avoid overflowing page */
    padding-right: 8px;         /* so last tag isn't cut off */

    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;      /* Firefox: hide scrollbar */
    -ms-overflow-style: none;   /* IE/Edge legacy: hide scrollbar */

    cursor: grab;
}

/* Chrome / Safari: hide scrollbar */
.tt-tag-container::-webkit-scrollbar {
    display: none;
}

.tt-tag-item {
    flex: 0 0 auto;             /* make each tag stay its size */
    white-space: nowrap;        /* keep text on one line */
}

/* Optional: nicer feedback while dragging */
.tt-tag-container:active {
    cursor: grabbing;
}

.tt-recurring-span {
    background: #ffffff;
    color: #000000;
    border: 1px solid #bdbdbd;
    cursor: pointer;
    display: inline-block;
    position: relative;      /* ✅ Important for the tooltip */
}

.tooltip-text {
    visibility: hidden;
    width: max-content;
    max-width: 250px;
    background-color: #000;
    color: #fff;
    text-align: left;
    padding: 10px;
    border-radius: 6px;
    position: fixed;
    z-index: 9999;           /* bump it just in case */
    top: 140%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    white-space: normal;
    font-size: 13px;
    line-height: 19px;
    pointer-events: none;    /* optional: avoid hover flicker */
}

.tt-recurring-span:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.event-reaction_sp {
    position: absolute;
    right: 15px;
    left: auto;
    top: 15px;
    width: 28px;
    height: 28px;
    background: #ffffff;
    border-radius: 50%;
    border: #212121 2px solid;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 4px;
    display: none !important;
}

.event-reaction_sp_featured {
    bottom: 15px;
    top: auto;
}

/* my-events-page */
.tt-my-event-header-container {
    background-color: #ffffff;
    padding: 15px 0px;
    border-bottom: 1px solid #e0e0e0;
}

.tt-my-event-header {
    max-width: 1050px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 20px;
}

.tt-add-event-btn {
	text-transform: capitalize;
    border-radius: 5px;
    background: #000000;
    margin: 0;
    line-height: 1.5;
    font-size: 12px;
    font-weight: 400;
    padding: 5px 8px;
}
.tt-add-event-btn {
	box-shadow: none;
    color: #ffffff;
}

.tt-header-title {
    margin: 0;
	color: #212121;
	font-weight: normal;
	font-size: 20px;
}

.tt-header-subtitle {
    font-size: 14px;
    color: #6b6f76;
    margin: auto;
    max-width: 1050px;
}

/* Header container - NEW */
.tt-tabs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 0 0 20px 0;
}

/* Your original tabs wrap CSS - UNCHANGED */
.tt-tabs-wrap {
    width: 55%;
    margin: 0; /* Remove bottom margin since header has it */
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 6px;
    border-radius: 15px;
    display: flex;
    gap: 6px;
    box-sizing: border-box;
    position: relative;
}

/* Sliding background indicator - NEW */
.tt-tabs-wrap::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    width: calc(50% - 9px);
    height: calc(100% - 12px);
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Move background when second tab is active - NEW */
.tt-tabs-wrap:has(.tt-tab-btn:nth-child(2).active)::before {
    transform: translateX(calc(100% + 6px));
}

/* Your original tab button CSS - UNCHANGED */
.tt-tab-btn {
    width: 50%;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #212121;
    transition: all 0.2s ease;
    white-space: nowrap;
    margin: 0;
    position: relative; /* Added for z-index */
    z-index: 1; /* Added for slide animation */
}

/* Hover effect - NEW */
.tt-tab-btn:hover:not(.active) {
    background: rgba(245, 245, 245, 0.5);
}

/* Your original active state - UNCHANGED */
.tt-tab-btn.active {
    background: transparent; /* Changed to transparent for slide animation */
    border: 1px solid transparent; /* Changed to transparent for slide animation */
    font-weight: 600; /* Added bold */
}

/* Add Event Button - NEW */
.tt-add-event-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tt-add-event-btn:hover {
    background: #000000;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0);
}

.tt-add-event-btn:active {
    transform: translateY(0);
}

@media (max-width: 400px) {
    .tt-add-event-btn {
        padding: 5px 5px !important;
        gap: 0px !important;
    }
    .tt-header-subtitle {
        font-size: 12px !important;
    }
    .tt-header-title {
        font-size: 18px !important;
    }
}

.tt-plus-icon {
    font-size: 20px;
    line-height: 1;
    font-weight: 600;
}

.tt-btn-text {
    line-height: 1;
}

.todo-font-italic {
    font-style: italic;
}

.tt-show-recurring-icon {
    display: none !important;
    margin-left: 2px;
}

/* ============================================================
   AREA NAME VISIBILITY
   - Desktop: show area name in all sections
   - Mobile: hide area name in all sections
   - Today's Top Picks / Tomorrow's Top Picks: hide on both devices
   ============================================================ */

/* Show area name on desktop only (default for all sections) */
.tt-desktop-only {
    display: inline;
}

/* Hide area name on mobile for all sections */
@media (max-width: 1024px) {
    .tt-desktop-only {
        display: none;
    }
}

/* Hide area name in Today's Top Picks / Tomorrow's Top Picks sections on ALL devices */
.event_data_higlight .tt-desktop-only {
    display: none !important;
}

.event_data_higlight .tt-home-star-icon {
    margin-right: 5px;
}

/* Base title style */
.event-card__header {
    width: 100%;
}

.event-card__title {
    padding: 0;
    margin: 10px 0;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

/* Desktop: show desktop title, hide mobile */
.event-card__title--desktop {
    display: -webkit-box;
    width: 85%;
    font-size: 16px;
}

.event_data_higlight_box .event-card__title--desktop {
    width: 100%;
}

.event-card__title--mobile {
    display: none;
}

/* Mobile: hide desktop title, show mobile */
@media (max-width: 768px) {
    .event-card__title--desktop {
        display: none;
    }

    .event-card__title--mobile {
        display: -webkit-box;
        width: 95%;
        font-size: 14px;
    }

    .event_data_higlight_box .event-card__title--mobile {
        width: 100%;
    }
}

/* Your original mobile CSS - UPDATED for new layout */
@media (max-width: 775px) {
    .tt-tabs-header {
        flex-direction: row;
        gap: 10px;
    }
    
    .tt-tabs-wrap {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .tt-tab-btn {
        font-size: 13px;
    }
    .tt-show-recurring-icon {
        display: inline-block !important;
    }
    .tt-home-card-header-recurring-tag {
        display: none !important;
    }
}
/* Mobile styles for recurring popup handled in main #my-recurring-event-popup block */
@media (max-width: 400px) {
    .tt-tab-btn {
        font-size: 12px;
    }
}


/* ═══════════════════════════════════════════════════════════
   TODO.TODAY — Welcome Page Styles
   ═══════════════════════════════════════════════════════════ */

/* Hide default header on welcome page */
.home header#header {
    display: none;
}

.home footer#footer {
    display: none;
}

/* Hide mobile bottom nav on welcome page */
.home .tt-bottom-nav {
    display: none;
}

/* ─── Reset (scoped) ─── */
.tdtd-welcome,
.tdtd-welcome *,
.tdtd-welcome *::before,
.tdtd-welcome *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ─── Variables ─── */
.tdtd-welcome {
  --bg: #fafafa;
  --bg-hero-mobile: #000000;
  --text: #212121;
  --text-light: #6b6b6b;
  --text-white: #ffffff;
  --accent: #000000;
  --card-radius: 16px;
  --section-gap: 36px;
  --ring-color: #000000;
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  line-height: 1.5;
}

.home header.tt-desktop-header {
  display: none;
}

.home #main {
  padding-top: 0 !important;
}

/* ═══════════════════════════════════════
   LAYOUT — Desktop side-by-side
   ═══════════════════════════════════════ */
.tdtd-wrap {
  display: flex;
  min-height: 100vh;
  max-width: 1050px;
  margin: 0 auto;
  padding: 48px 16px;
  gap: 64px;
}

/* ═══════════════════════════════════════
   HERO PANEL (left sticky)
   ═══════════════════════════════════════ */
.tdtd-hero {
  flex: 0 0 340px;
  position: sticky;
  top: 48px;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Logo */
.tdtd-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: inherit;
  margin-bottom: 10px;
}

.tdtd-logo-image {
    height: 40px;
}

.tdtd-logo:hover {
  color: inherit;
  text-decoration: none;
}

.tdtd-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  font-family: var(--font-body);
}

/* Headline */
.tdtd-headline {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* Subtitle */
.tdtd-sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 300px;
}

/* Stats row */
.tdtd-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.tdtd-stat-num {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: block;
  line-height: 1.2;
}

.tdtd-stat-label {
  font-size: 13px;
  color: var(--text-light);
  display: block;
  margin-top: 2px;
}

.tdtd-stats-divider {
  width: 1px;
  height: 40px;
  background: #ddd;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   CTA BUTTON
   ═══════════════════════════════════════ */
.tdtd-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 24px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.01em;
  text-decoration: none;
  line-height: 1.4;
}

.tdtd-cta:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  color: #fff;
  text-decoration: none;
}

.tdtd-cta:disabled,
.tdtd-cta[disabled] {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  color: #fff;
}

.tdtd-cta-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.tdtd-cta:not(:disabled):hover .tdtd-cta-icon {
  transform: translateX(3px);
}

/* ═══════════════════════════════════════
   CHANNELS PANEL (right scrollable)
   ═══════════════════════════════════════ */
.tdtd-channels {
  flex: 1;
  min-width: 0;
}

.tdtd-channels-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.tdtd-channels-subtitle {
  display: none;
}

/* ═══════════════════════════════════════
   COUNTRY SECTION
   ═══════════════════════════════════════ */
.tdtd-country {
  margin-bottom: var(--section-gap);
  animation: tdtdFadeUp 0.5s ease both;
}

.tdtd-country:nth-child(2) { animation-delay: 0.07s; }
.tdtd-country:nth-child(3) { animation-delay: 0.14s; }
.tdtd-country:nth-child(4) { animation-delay: 0.21s; }
.tdtd-country:nth-child(5) { animation-delay: 0.28s; }
.tdtd-country:nth-child(6) { animation-delay: 0.35s; }

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

.tdtd-country-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.tdtd-country-flag {
  width: 24px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.tdtd-country-name {
  font-weight: 700;
  font-size: 17px;
}

.tdtd-country-count {
  font-size: 14px;
  color: var(--text-light);
}

/* ═══════════════════════════════════════
   CHANNEL GRID
   ═══════════════════════════════════════ */
.tdtd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}

/* ═══════════════════════════════════════
   CHANNEL CARD
   ═══════════════════════════════════════ */
.tdtd-card {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: 3px solid transparent;
  outline-offset: 3px;
  background: #2a1a0e;
}

.tdtd-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.tdtd-card.selected {
  outline-color: var(--ring-color);
}

.tdtd-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tdtd-card:hover img {
  transform: scale(1.06);
}

/* Gradient overlay */
.tdtd-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.18) 50%,
    rgba(0, 0, 0, 0.04) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Card info */
.tdtd-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tdtd-card-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.tdtd-card-name .tdtd-emoji {
  font-size: 16px;
  line-height: 1;
}

.tdtd-card-events {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
}

/* ═══════════════════════════════════════
   CHECKMARK BADGE
   ═══════════════════════════════════════ */
.tdtd-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tdtd-card.selected .tdtd-check {
  opacity: 1;
  transform: scale(1);
}

.tdtd-check svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

/* ═══════════════════════════════════════
   MOBILE LAYOUT (≤ 768px)
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
  .tdtd-wrap {
    flex-direction: column;
    padding: 0;
    gap: 0;
  }

  /* Hero becomes full-width dark header */
  .tdtd-hero {
    position: relative;
    top: 0;
    flex: none;
    width: 100%;
    background: var(--bg-hero-mobile);
    color: var(--text-white);
    padding: 44px 24px 36px;
    text-align: center;
    align-items: center;
    gap: 18px;
    border-radius: 0;
  }

  .tdtd-headline {
    color: var(--text-white);
    font-size: 28px;
    line-height: 1.2;
  }

  .tdtd-sub {
    color: rgba(255, 255, 255, 0.7);
    max-width: 320px;
  }

  .tdtd-stat-label {
    color: rgba(255, 255, 255, 0.6);
  }

  .tdtd-stats-divider {
    background: rgba(255, 255, 255, 0.2);
  }

  /* Hide desktop CTA on mobile */
  .tdtd-hero .tdtd-cta {
    display: none;
  }

  /* Channels section */
  .tdtd-channels {
    padding: 28px 20px 80px;
  }

  .tdtd-channels-title {
    font-size: 22px;
    text-align: center;
    margin-bottom: 15px;
  }

  .tdtd-channels-subtitle {
    display: block;
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
  }

  .tdtd-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .tdtd-card {
    aspect-ratio: 1 / 1;
  }

  .tdtd-card-events {
    font-size: 12px;
  }
}

/* ═══════════════════════════════════════
   MOBILE STICKY CTA
   ═══════════════════════════════════════ */
.tdtd-mobile-cta {
  display: none;
}

@media (max-width: 768px) {
  .tdtd-mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 20px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 100;
  }

  .tdtd-mobile-cta .tdtd-cta {
    border-radius: 60px;
    width: 100%;
  }
}

/* ═══════════════════════════════════════
   SCROLLBAR (webkit)
   ═══════════════════════════════════════ */
.tdtd-welcome ::-webkit-scrollbar {
  width: 6px;
}

.tdtd-welcome ::-webkit-scrollbar-track {
  background: transparent;
}

.tdtd-welcome ::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

/* ═══════════════════════════════════════
   LOADING SKELETON (optional)
   ═══════════════════════════════════════ */
.tdtd-card-skeleton {
  background: linear-gradient(
    110deg,
    #e8e8e8 8%,
    #f5f5f5 18%,
    #e8e8e8 33%
  );
  background-size: 200% 100%;
  animation: tdtdShimmer 1.5s linear infinite;
  border-radius: var(--card-radius);
  aspect-ratio: 4 / 3;
}

@keyframes tdtdShimmer {
  to {
    background-position-x: -200%;
  }
}

@media (max-width: 768px) {
  .tdtd-card-skeleton {
    aspect-ratio: 1 / 1;
  }
}

p.tt-field-error:empty {
  display: none !important;
}

/* ═══════════════════════════════════════
   RECURRING INSTANCES MODAL (single event page)
   ═══════════════════════════════════════ */

.tt-single-recurring-count--clickable {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tt-single-recurring-count--clickable:hover {
  opacity: 0.75;
}
.tt-single-recurring-count--clickable:focus-visible {
  outline: 2px solid var(--tt-primary, #171717);
  outline-offset: 2px;
  border-radius: 3px;
}

.tt-recurring-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

@media (min-width: 640px) {
  .tt-recurring-modal {
    align-items: center;
    padding: 24px;
  }
}

.tt-recurring-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.tt-recurring-modal__panel {
  position: relative;
  background: #fff;
  border-radius: 20px 20px 0 0;
  width: 100%;
  height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: clip;
  z-index: 1;
}

@media (min-width: 640px) {
  .tt-recurring-modal__panel {
    border-radius: 15px;
    max-width: 480px;
    height: auto;
    max-height: 72vh;
  }
}

.tt-recurring-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  flex-shrink: 0;
  border-bottom: 1px solid #f0f0f0;
  gap: 8px;
}

@media (min-width: 640px) {
  .tt-recurring-modal__head {
    padding: 16px 20px 12px;
  }
}

.tt-recurring-modal__title {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #171717 !important;
  margin: 0 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-family: inherit !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

@media (min-width: 640px) {
  .tt-recurring-modal__title {
    font-size: 16px !important;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
}

.tt-recurring-modal__close {
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  color: #737373;
  font-size: 22px !important;
  line-height: 1 !important;
  padding: 4px 6px !important;
  border-radius: 6px !important;
  margin: 0 !important;
  transition: color 0.15s;
}
.tt-recurring-modal__close:hover {
  color: #171717;
}

.tt-recurring-modal__body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px;
  flex: 1;
  min-height: 0;
}
.tt-recurring-modal__body::-webkit-scrollbar {
  width: 5px;
}
.tt-recurring-modal__body::-webkit-scrollbar-track {
  background: transparent;
  margin: 12px 0;
}
.tt-recurring-modal__body::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}
.tt-recurring-modal__body::-webkit-scrollbar-button {
  display: none;
}

.tt-recurring-modal__loading,
.tt-recurring-modal__empty,
.tt-recurring-modal__error {
  text-align: center;
  padding: 32px 0;
  font-size: 14px;
  text-transform: none !important;
  margin: 0;
}
.tt-recurring-modal__loading { color: #737373; }
.tt-recurring-modal__empty   { color: #737373; }
.tt-recurring-modal__error   { color: #dc2626; }

/* Parent event card */
.tt-recurring-parent {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #f9f9f9;
  border: 1px solid #e5e5e5;
  margin-bottom: 16px;
}

.tt-recurring-parent__thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tt-recurring-parent__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tt-recurring-parent__thumb-placeholder {
  color: #a3a3a3;
}
.tt-recurring-parent__thumb-placeholder .tt-icon {
  width: 28px;
  height: 28px;
}

.tt-recurring-parent__content {
  flex: 1;
  min-width: 0;
  padding: 2px 0;
}

.tt-recurring-parent__title {
  font-size: 14px !important;
  font-weight: 600 !important;
  margin: 0 0 3px !important;
  color: #171717 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-family: inherit !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tt-recurring-parent__meta {
  font-size: 12px;
  color: #737373;
  margin: 0 0 2px;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.tt-recurring-parent__heart {
  flex-shrink: 0;
  align-self: center;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 6px !important;
  color: #d1d5db;
  border-radius: 6px !important;
  display: flex;
  align-items: center;
  transition: color 0.15s;
  margin: 0 0 0 8px !important;
}
.tt-recurring-parent__heart .tt-icon {
  width: 20px;
  height: 20px;
}
.tt-recurring-parent__heart:hover {
  color: #ef4444;
}
.tt-recurring-parent__heart.tt-recurring-inst__heart--liked {
  color: #ef4444 !important;
}

.tt-recurring-modal__section-label {
  font-size: 12px;
  color: #737373;
  font-weight: 500;
  margin: 0 0 8px;
  padding: 0 4px;
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* Instance row */
.tt-recurring-inst {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #fbfbfb;
  margin-bottom: 6px;
  border: 2px solid transparent;
}

.tt-recurring-inst__icon {
  color: #737373;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.tt-recurring-inst__icon .tt-icon {
  width: 16px;
  height: 16px;
}

.tt-recurring-inst__content {
  flex: 1;
  min-width: 0;
}

.tt-recurring-inst__date {
  font-size: 14px;
  font-weight: 500;
  color: #171717;
  margin: 0 0 2px;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.tt-recurring-inst__meta {
  font-size: 12px;
  color: #737373;
  margin: 0;
  text-transform: none !important;
  letter-spacing: normal !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Heart button */
.tt-recurring-inst__heart {
  flex-shrink: 0;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 6px !important;
  color: #d1d5db;
  border-radius: 6px !important;
  display: flex;
  align-items: center;
  transition: color 0.15s;
  margin: 0 !important;
}
.tt-recurring-inst__heart .tt-icon {
  width: 18px;
  height: 18px;
}
.tt-recurring-inst__heart:hover {
  color: #ef4444;
}
.tt-recurring-inst__heart--liked {
  color: #ef4444 !important;
}

body.tt-modal-open {
  overflow: hidden;
}

/* ============================================================
   intl-tel-input — shared site-wide overrides
   The country dropdown is used on /join/, add-mobile, the v3 event
   form and account-settings. Keep the default look; only make the
   injected search box a comfortable size (it renders too short by
   default, especially on mobile). One place → consistent everywhere.
   ============================================================ */
.iti__search-input {
  box-sizing: border-box !important;
  height: auto !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
}

