/* View Event — full-width page (no sidebar) */
.evv-body {
	background: #f3f5f6;
}

.evv-main {
	background: #f3f5f6;
}

.evv-page {
	margin-top: 25px;
	margin-bottom: 0;
	padding-bottom: 20px;
}

.evv-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
	flex-wrap: wrap;
	gap: 12px;
}

.evv-back {
	font-size: 14px;
	font-weight: 600;
	color: #374151;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.evv-back:hover {
	color: #10b981;
}

.course-purchase-options--event {
  float: none;
  width: auto;
  max-width: 420px;
  margin: 0;
  padding: 8px;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06); */
  /* background: transparent; */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
}

.evv-topbar__actions .course-purchase-options--event {
  min-width: 0;
}

.course-purchase-options--event .course-money-pay-alert {
  flex: 0 0 100%;
  margin: 0 0 4px;
  width: 100%;
}

.course-purchase-options--event .course-purchase-btn {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  padding: 6px 10px;
  margin: 0;
  border-radius: 8px;
}

.course-purchase-options--event .course-purchase-btn + .course-purchase-btn {
  margin-top: 0;
}

.course-purchase-options--event .course-purchase-btn__left {
  gap: 6px;
}

.course-purchase-options--event .course-purchase-btn__icon {
  width: 20px;
  font-size: 14px;
}

.course-purchase-options--event .course-purchase-btn__coin-img {
  width: 18px;
  height: 18px;
}

.course-purchase-options--event .course-purchase-btn__title {
  font-size: 11px;
  line-height: 1.15;
  white-space: nowrap;
}

.course-purchase-options--event .course-purchase-btn__price {
  font-size: 10px;
}

.course-purchase-options--event .course-purchase-btn__arrow {
  font-size: 14px;
  margin-left: 4px;
}

@media (max-width: 576px) {
  .evv-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .evv-topbar__actions {
    width: 100%;
    align-items: flex-start;
  }

  .evv-register-blocked {
    align-items: flex-start;
    max-width: none;
    width: 100%;
  }

  .evv-register-blocked__msg {
    text-align: left;
  }

  .course-purchase-options--event {
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    max-width: none;
    padding: 6px;
    gap: 6px;
  }

  .course-purchase-options--event .course-purchase-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 6px 8px;
  }

  .course-purchase-options--event .course-purchase-btn__left {
    gap: 4px;
    min-width: 0;
  }

  .course-purchase-options--event .course-purchase-btn__icon {
    width: 16px;
    font-size: 12px;
    flex-shrink: 0;
  }

  .course-purchase-options--event .course-purchase-btn__coin-img {
    width: 14px;
    height: 14px;
  }

  .course-purchase-options--event .course-purchase-btn__text {
    min-width: 0;
  }

  .course-purchase-options--event .course-purchase-btn__title {
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .course-purchase-options--event .course-purchase-btn__price {
    font-size: 9px;
  }

  .course-purchase-options--event .course-purchase-btn__arrow {
    font-size: 12px;
    margin-left: 2px;
    flex-shrink: 0;
  }
}

.evv-topbar__actions {
	display: flex;
	gap: 10px;
	align-items: center;
}

.evv-register-blocked {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	max-width: 320px;
}

.evv-register-blocked__msg {
	font-size: 13px;
	color: #b45309;
	background: #fffbeb;
	border: 1px solid #fcd34d;
	border-radius: 6px;
	padding: 6px 10px;
	text-align: right;
	line-height: 1.4;
}

.evv-register-blocked__msg i {
	margin-right: 4px;
}

.evv-btn {
	border-radius: 6px;
	padding: 10px 22px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	border: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
}

.evv-btn--primary {
	background: #10b981;
	color: #fff;
}

.evv-btn--primary:hover {
	background: #059669;
}

.evv-btn--outline {
	background: #fff;
	color: #374151;
	border: 1px solid #d1d5db;
}

.evv-btn--outline:hover {
	border-color: #10b981;
	color: #10b981;
}

.evv-btn--block {
	width: 100%;
	justify-content: center;
	margin-top: 14px;
}

.evv-btn--whatsapp {
	background: #25d366;
	color: #fff;
}

/* Hero */
.evv-hero {
	display: grid;
	grid-template-columns: 1fr 420px;
	gap: 28px;
	background: #fff;
	border: 1px solid #e8ecec;
	border-radius: 4px;
	padding: 28px;
	margin-bottom: 20px;
	align-items: start;
}

.evv-badge {
	display: inline-block;
	background: #ecfdf5;
	color: #10b981;
	font-size: 12px;
	font-weight: 700;
	padding: 5px 14px;
	border-radius: 20px;
	margin-bottom: 12px;
}

.evv-title {
	font-size: 28px;
	font-weight: 700;
	color: #111827;
	margin: 0 0 14px;
	line-height: 1.3;
}

.evv-summary {
	font-size: 14px;
	color: #4b5563;
	line-height: 1.65;
	margin-bottom: 16px;
}

.evv-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
}

.evv-tag {
	font-size: 13px;
	font-weight: 600;
	color: #10b981;
	border: 1px solid #a7f3d0;
	border-radius: 6px;
	padding: 6px 16px;
	background: #fff;
	line-height: 1.3;
}

a.evv-tag {
	text-decoration: none;
	display: inline-block;
}

a.evv-tag:hover {
	background: #ecfdf5;
	color: #059669;
}

.evv-meta {
	display: flex;
	align-items: center;
	gap: 0;
	margin-top: 4px;
}

.evv-meta__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 4px 28px 4px 0;
}

.evv-meta__item:last-child {
	padding: 4px 0 4px 28px;
}

.evv-meta__divider {
	width: 1px;
	height: 40px;
	background: #e5e7eb;
	flex-shrink: 0;
}

.evv-meta__icon {
	font-size: 26px;
	color: #10b981;
	line-height: 1;
}

.evv-meta__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.evv-meta__label {
	font-size: 12px;
	color: #9ca3af;
	font-weight: 400;
	line-height: 1.3;
}

.evv-meta__value {
	font-size: 15px;
	font-weight: 700;
	color: #111827;
	line-height: 1.3;
}

.evv-hero__banner img {
	width: 100%;
	height: 100%;
	min-height: 240px;
	max-height: 280px;
	object-fit: cover;
	border-radius: 8px;
}

/* Sections */
.evv-section {
	background: #fff;
	border: 1px solid #e8ecec;
	border-radius: 4px;
	padding: 24px 28px;
	margin-bottom: 20px;
}

.evv-section__title {
	font-size: 17px;
	font-weight: 700;
	color: #111827;
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid #f0f0f0;
}

/* Description */
.evv-desc-text {
	font-size: 14px;
	color: #374151;
	line-height: 1.75;
	margin-bottom: 18px;
}

.evv-desc-text p {
	margin-bottom: 12px;
}

.evv-desc-text p:last-child {
	margin-bottom: 0;
}

.evv-share-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 4px;
	border-top: none;
	border-bottom: none;
}

.evv-share-bar span {
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	margin-right: 4px;
}

.evv-share-bar a {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid #e5e7eb;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #6b7280;
	font-size: 16px;
	text-decoration: none;
	background: #fff;
}

.evv-share-bar a:hover {
	border-color: #10b981;
	color: #10b981;
}

/* Event details grid */
.evv-details-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.evv-detail-card {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	border: 1px solid #f0f0f0;
	border-radius: 8px;
	padding: 16px;
	background: #fafafa;
}

.evv-detail-card__icon {
	font-size: 22px;
	color: #10b981;
	flex-shrink: 0;
	margin-top: 2px;
}

.evv-detail-card__label {
	display: block;
	font-size: 12px;
	color: #6b7280;
	margin-bottom: 4px;
}

.evv-detail-card strong {
	font-size: 14px;
	color: #111827;
	font-weight: 700;
}

/* Rules */
.evv-rules-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}

.evv-rules-box .evv-section__title {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 10px;
}

.evv-rules-box p {
	font-size: 14px;
	color: #4b5563;
	margin: 0;
	line-height: 1.65;
}

/* Prize */
.evv-prize-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.evv-prize-card {
	text-align: center;
	border: 1px solid #f0f0f0;
	border-radius: 8px;
	padding: 24px 16px;
	background: #fafafa;
}

.evv-prize-card__icon {
	font-size: 30px;
	color: #10b981;
	display: block;
	margin-bottom: 10px;
}

.evv-prize-card__label {
	display: block;
	font-size: 12px;
	color: #6b7280;
	margin-bottom: 6px;
}

.evv-prize-card strong {
	font-size: 16px;
	color: #111827;
	font-weight: 700;
}

/* Timeline */
.evv-timeline {
	display: flex;
	justify-content: space-between;
	position: relative;
	padding: 10px 0 4px;
}

.evv-timeline::before {
	content: '';
	position: absolute;
	top: 30px;
	left: 10%;
	right: 10%;
	height: 2px;
	background: #10b981;
	z-index: 0;
}

.evv-timeline__item {
	text-align: center;
	flex: 1;
	position: relative;
	z-index: 1;
}

.evv-timeline__icon {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #ecfdf5;
	color: #10b981;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	margin-bottom: 10px;
	border: 2px solid #fff;
	box-shadow: 0 0 0 2px #10b981;
}

.evv-timeline__label {
	display: block;
	font-size: 11px;
	color: #6b7280;
	margin-bottom: 4px;
	max-width: 130px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.3;
}

.evv-timeline__date {
	font-size: 13px;
	color: #111827;
	font-weight: 600;
}

/* Eligibility + WhatsApp */
.evv-info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}

.evv-table {
	width: 100%;
	border-collapse: collapse;
}

.evv-table td {
	padding: 14px 16px;
	font-size: 14px;
	border: 1px solid #f0f0f0;
}

.evv-table td:first-child {
	color: #6b7280;
	width: 45%;
	background: #fafafa;
}

.evv-table td:last-child {
	color: #111827;
	font-weight: 600;
}

.evv-whatsapp__box {
	border: 1px solid #f0f0f0;
	border-radius: 8px;
	padding: 24px;
	text-align: center;
	background: #fafafa;
}

.evv-whatsapp__icon {
	font-size: 40px;
	color: #25d366;
	display: block;
	margin-bottom: 12px;
}

.evv-whatsapp__box p {
	font-size: 14px;
	color: #4b5563;
	margin-bottom: 16px;
	line-height: 1.6;
}

/* Event reviews — match course comment-sec layout */
.evv-reviews-card .comment-sec {
	margin-top: 0;
	float: none;
}

.evv-reviews-card .comment-sec > ul > li:last-child {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}

.evv-reviews-card .date-comment a {
	float: right;
	color: #888;
}

/* Reviews */
.evv-reviews .evv-section__title--plain {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 20px;
}

.evv-reviews__layout {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 28px;
	align-items: start;
}

.evv-rating-summary {
	border: 1px solid #e8ecec;
	border-radius: 8px;
	padding: 28px 20px;
	text-align: center;
	background: #fff;
}

.evv-rating-score {
	font-size: 48px;
	font-weight: 700;
	color: #111827;
	line-height: 1;
	margin-bottom: 10px;
}

.evv-stars--summary {
	font-size: 18px;
	margin-bottom: 8px;
}

.evv-rating-count {
	font-size: 13px;
	color: #9ca3af;
	margin: 0;
}

.evv-stars {
	color: #d1d5db;
	font-size: 18px;
	line-height: 1;
}

.evv-stars--inline {
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	gap: 1px;
}

.evv-star--filled {
	color: #ff9800;
}

.evv-review-list {
	border: 1px solid #f0f0f0;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}

.evv-reviews__main {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.evv-review-empty {
	margin: 0;
	padding: 28px 20px;
	text-align: center;
	font-size: 14px;
	color: #9ca3af;
}

.evv-review-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	border-bottom: 1px solid #f0f0f0;
}

.evv-review-card:last-of-type {
	border-bottom: none;
}

.evv-review-card__avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.evv-review-card__content {
	flex: 1;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	min-width: 0;
}

.evv-review-card__name {
	font-size: 15px;
	font-weight: 700;
	color: #111827;
}

.evv-review-card__text {
	font-size: 14px;
	color: #374151;
	line-height: 1.4;
}

.evv-review-card__date {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	color: #9ca3af;
	white-space: nowrap;
	margin-left: auto;
}

.evv-review-card__date i {
	font-size: 14px;
}

.evv-reviews__footer {
	padding: 16px 0 0;
}

.evv-write-review {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: #ff9800;
	text-decoration: none;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
}

.evv-write-review i {
	font-size: 16px;
}

.evv-view-more-wrap {
	text-align: center;
	margin-top: 18px;
}

.evv-btn--orange {
	background: #ff9800;
	color: #fff;
	border: none;
	padding: 10px 32px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
}

.evv-btn--orange:hover {
	background: #f57c00;
}

/* CTA bar — above site footer */
.evv-sticky-footer {
	background: #fff;
	border-top: 1px solid #e8ecec;
	padding: 16px 0;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.04);
}

.evv-sticky-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.evv-sticky-footer__left {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #374151;
}

.evv-sticky-footer__left i {
	font-size: 24px;
	color: #25d366;
}

/* Responsive */
@media (max-width: 991px) {
	.evv-hero {
		grid-template-columns: 1fr;
	}

	.evv-hero__banner {
		order: -1;
	}

	.evv-details-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.evv-rules-grid,
	.evv-info-grid,
	.evv-prize-grid {
		grid-template-columns: 1fr;
	}

	.evv-reviews__layout {
		grid-template-columns: 1fr;
	}

	.evv-review-card {
		flex-wrap: wrap;
		align-items: flex-start;
	}

	.evv-review-card__date {
		width: 100%;
		margin-left: 58px;
		margin-top: 4px;
		white-space: normal;
	}

	.evv-timeline {
		flex-direction: column;
		gap: 20px;
	}

	.evv-timeline::before {
		display: none;
	}

	.evv-sticky-footer__inner {
		flex-direction: column;
		text-align: center;
	}

	.evv-meta {
		flex-wrap: wrap;
		gap: 12px;
	}

	.evv-meta__divider {
		display: none;
	}

	.evv-meta__item,
	.evv-meta__item:last-child {
		padding: 0;
	}

	.evv-main .column.evv-page {
		margin-top: 18px;
		padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
	}
}

@media (max-width: 575px) {
	.evv-details-grid {
		grid-template-columns: 1fr;
	}

	.evv-title {
		font-size: 22px;
	}
}

/* Registration modal — matches signup popup (550px, scrollable body) */
.ev-review-popup-box {
	z-index: 9999;
}

.ev-register-popup-box {
	z-index: 9999;
}

.ev-register-popup-box .account-popup.ev-register-popup {
	display: flow-root;
	flex-direction: column;
	float: none;
	width: 550px;
	max-width: calc(100vw - 24px);
	margin: 25px auto 60px;
	left: auto;
	padding: 36px 50px 24px;
	max-height: calc(100vh - 50px);
	overflow: visible;
	position: relative;
	box-sizing: border-box;
	text-align: left;
	background: #ffffff;
}

.ev-register-popup-box .account-popup.ev-register-popup > .close-popup {
	position: absolute;
	top: -20px;
	right: -8px;
	width: 50px !important;
	height: 50px !important;
	float: none !important;
	margin: 0 !important;
	margin-top: 0 !important;
	text-align: center;
	line-height: 50px;
	color: #ffffff;
	font-size: 20px;
	border-radius: 50%;
	cursor: pointer;
	z-index: 2;
	background-color: #38cf59;
}

.ev-register-popup-box .account-popup.ev-register-popup > h3.ev-register-popup__title {
	float: none !important;
	width: 100%;
	text-align: center;
	margin: 0 0 14px;
	padding: 0 36px 0 0;
	font-family: Quicksand, sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5 !important;
	color: #222222;
}

.ev-register-summary {
	flex-shrink: 0;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 6px 8px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 8px;
	padding: 10px 12px;
	margin-bottom: 16px;
}

.ev-register-summary__item {
	min-width: 0;
}

.ev-register-form {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	margin: 0;
	padding: 0;
	float: none !important;
	text-align: left;
}

.ev-register-popup__scroll {
	flex: 1 1 auto;
	min-height: 0;
	max-height: min(380px, calc(100vh - 340px));
	overflow-x: hidden;
	overflow-y: auto;
	padding-right: 6px;
	margin-right: -2px;
	-webkit-overflow-scrolling: touch;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ev-register-popup__scroll::-webkit-scrollbar {
	width: 6px;
}

.ev-register-popup__scroll::-webkit-scrollbar-track {
	background: #f3f4f6;
	border-radius: 3px;
}

.ev-register-popup__scroll::-webkit-scrollbar-thumb {
	background: #9ca3af;
	border-radius: 3px;
}

.ev-register-popup__scroll::-webkit-scrollbar-thumb:hover {
	background: #6b7280;
}

.ev-register-popup-box .ev-register-field,
.ev-register-popup-box .ev-register-label,
.ev-register-popup-box .ev-register-options,
.ev-register-popup-box .ev-register-rules,
.ev-register-popup-box .ev-register-warning,
.ev-register-popup-box .ev-register-error,
.ev-register-popup-box .ev-register-empty {
	float: none !important;
	width: 100%;
	clear: both;
}

.ev-register-summary__label {
	display: block;
	font-size: 10px;
	color: #6b7280;
	margin-bottom: 2px;
	line-height: 1.2;
}

.ev-register-summary__item strong {
	font-size: 11px;
	font-weight: 700;
	color: #111827;
	display: block;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ev-register-summary__item strong.ev-register-summary__value--inline {
	display: inline-flex;
	align-items: center;
	gap: 3px;
}

.ev-register-summary__coin {
	height: 14px;
	width: auto;
	flex-shrink: 0;
}

.ev-register-field {
	margin: 0;
}

.ev-register-label {
	display: block !important;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	margin: 0 0 8px !important;
	padding: 0 !important;
	line-height: 1.35 !important;
	position: static;
	height: auto !important;
	min-height: 0 !important;
	cursor: default;
}

/* Global style.css adds fake checkbox ::before on every label — disable in register modal */
.ev-register-popup-box .ev-register-form label.ev-register-label::before,
.ev-register-popup-box .ev-register-form label.ev-register-label::after {
	content: none !important;
	display: none !important;
}

.ev-register-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 2px;
}

.ev-register-option {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #374151;
	margin: 0;
	cursor: pointer;
	line-height: 1.4;
	position: relative;
	padding: 0 !important;
	height: auto !important;
}

.ev-register-popup-box .ev-register-form label.ev-register-option::before,
.ev-register-popup-box .ev-register-form label.ev-register-option::after {
	content: none !important;
	display: none !important;
}

.ev-register-popup-box .ev-register-form label.ev-register-option input[type="checkbox"],
.ev-register-popup-box .ev-register-form label.ev-register-option input[type="radio"],
.ev-register-popup-box .ev-register-form label.ev-register-rules input[type="checkbox"] {
	position: static;
	opacity: 1;
	z-index: auto;
	width: 14px;
	height: 14px;
	min-width: 14px;
	min-height: 14px;
	margin: 0;
	flex-shrink: 0;
	cursor: pointer;
	accent-color: #10b981;
	vertical-align: middle;
}

.ev-register-rules {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #374151;
	margin: 0;
	cursor: pointer;
	line-height: 1.4;
	position: static;
	padding: 0 !important;
	height: auto !important;
}

.ev-register-popup-box .ev-register-form label.ev-register-rules::before,
.ev-register-popup-box .ev-register-form label.ev-register-rules::after {
	content: none !important;
	display: none !important;
}

.ev-register-warning {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	background: #fef3c7;
	border: 1px solid #fcd34d;
	color: #92400e;
	border-radius: 6px;
	padding: 10px 12px;
	font-size: 13px;
	margin: 0;
	line-height: 1.4;
}

.ev-register-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
	border-radius: 6px;
	padding: 10px 12px;
	font-size: 13px;
	margin: 0;
	line-height: 1.4;
}

.ev-register-actions {
	flex-shrink: 0;
	display: flex;
	justify-content: stretch;
	gap: 10px;
	margin-top: 0;
	padding-top: 16px;
	border-top: 1px solid #e5e7eb;
	width: 100%;
}

.ev-register-popup-box .ev-register-form .ev-register-actions button {
	float: none !important;
	flex: 1 1 0;
	min-width: 0;
	width: auto !important;
	height: 60px !important;
	margin-top: 0 !important;
	padding: 0 12px !important;
	font-size: 17px !important;
	font-weight: bold !important;
	letter-spacing: 0.3px !important;
	border-radius: 8px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	cursor: pointer;
	line-height: 1.2 !important;
	box-sizing: border-box;
}

.ev-register-popup-box .ev-register-form .ev-register-actions button.ev-register-pay-btn--hidden {
	display: none !important;
}

.ev-register-popup-box .ev-register-form .ev-register-actions .evv-btn--primary {
	background-color: #141f72 !important;
	color: #ffffff !important;
	border: none !important;
}

.ev-register-popup-box .ev-register-form .ev-register-actions .ev-register-coins-btn {
	flex-direction: column !important;
	gap: 2px;
}

.ev-register-coins-btn__line {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
}

.ev-register-coins-btn__line--fee {
	gap: 6px;
}

.ev-register-coins-btn__coin {
	height: 18px;
	width: auto;
	display: block;
}

.ev-register-popup-box .ev-register-form .ev-register-actions .evv-btn--primary:hover {
	background-color: #26fb23 !important;
	color: #ffffff !important;
}

.ev-register-popup-box .ev-register-form .ev-register-actions .evv-btn--outline {
	background-color: #141f72 !important;
	color: #ffffff !important;
	border: none !important;
}

.ev-register-popup-box .ev-register-form .ev-register-actions .evv-btn--outline:hover {
	background-color: #26fb23 !important;
	color: #ffffff !important;
}

.ev-register-empty {
	font-size: 14px;
	color: #6b7280;
	margin-bottom: 0;
	line-height: 1.4;
}

.ev-register-form .ev-req {
	color: #ef4444;
}

.ev-register-form .ev-control {
	width: 100%;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
	padding: 10px 12px;
	font-size: 14px;
	background: #fff;
	box-sizing: border-box;
	min-height: 42px;
}

@media (max-width: 575px) {
	/* Overlay: room above for signup-style close button */
	.ev-register-popup-box {
		display: flex;
		align-items: center;
		justify-content: center;
		overflow-x: hidden;
		overflow-y: auto;
		padding: 40px 14px 20px;
		box-sizing: border-box;
	}

	.ev-register-popup-box .account-popup.ev-register-popup {
		display: flex;
		flex-direction: column;
		width: 100%;
		max-width: calc(100vw - 28px);
		max-height: 70vh;
		margin: 0 auto;
		padding: 24px 16px 14px;
		overflow: visible; /* don't clip close button */
		box-sizing: border-box;
	}

	/* Same corner position as signup / login modal */
	.ev-register-popup-box .account-popup.ev-register-popup > .close-popup {
		top: -20px;
		right: -8px;
	}

	.ev-register-popup-box .account-popup.ev-register-popup > h3.ev-register-popup__title {
		font-size: 16px;
		line-height: 1.5 !important;
		padding-right: 28px;
		flex-shrink: 0;
	}

	.ev-register-summary,
	.ev-register-actions {
		flex-shrink: 0;
	}

	.ev-register-form {
		display: flex;
		flex-direction: column;
		flex: 1 1 auto;
		min-height: 0;
		overflow: hidden; /* scroll lives in .ev-register-popup__scroll */
	}

	/* Middle content scrolls; buttons stay visible */
	.ev-register-popup__scroll {
		flex: 1 1 auto;
		min-height: 0;
		max-height: none;
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 6px;
	}

	.ev-register-summary {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.ev-register-actions {
		flex-direction: column-reverse;
		margin-top: 4px;
		padding-top: 12px;
		gap: 10px;
	}

	/* Slightly less vertical padding on Cancel / Register */
	.ev-register-popup-box .ev-register-form .ev-register-actions button {
		flex: 0 0 auto !important;
		width: 100% !important;
		height: auto !important;
		min-height: 48px !important;
		padding: 10px 16px !important;
		justify-content: center;
	}

	.ev-register-popup-box .ev-register-form .ev-register-actions #ev-register-cancel {
		padding-top: 12px !important;
		padding-bottom: 12px !important;
	}

	.ev-register-popup-box .ev-register-form .ev-register-actions .ev-register-coins-btn {
		min-height: 52px !important;
		padding-top: 10px !important;
		padding-bottom: 10px !important;
	}
}
