/* Escort Manager – report and manage pages (uses the theme's .btn / .form-group styles) */
.em-panel { max-width: 640px; }
.em-muted { color: #5c636a; font-size: 0.9rem; }
.em-sublabel { display: block; margin: 1rem 0 0.4rem; font-weight: 600; }

.em-manage-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.em-manage-head h2 { margin: 0; }
.em-manage-head form { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }

.em-profile { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1rem 0; border-top: 1px solid #dee2e6; }
.em-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }

.em-panel .btn-small { padding: 0.4rem 0.9rem; font-size: 0.85rem; }
.em-panel .em-danger { color: #b32d2e; border-color: #b32d2e; }
.em-panel .em-danger:hover { background: #b32d2e; color: #fff; }
.em-panel .em-danger-solid { background: #b32d2e; }
.em-panel .em-danger-solid:hover { background: #8a2424; }

.em-photos { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0 0 0.5rem; padding: 0; list-style: none; }
.em-photos li { width: 110px; text-align: center; font-size: 0.8rem; }
.em-photos img { width: 110px; height: 110px; object-fit: cover; border-radius: 6px; display: block; margin-bottom: 0.25rem; }
.em-panel .form-group .em-check { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 400; }

/* Services: checkboxes on the submission and edit forms */
.em-services-pick { border: 1px solid #dee2e6; border-radius: 8px; padding: 1rem 1.25rem; margin: 1.25rem 0; }
.em-services-pick legend { padding: 0 0.5rem; font-weight: 600; }
.em-services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); gap: 0.4rem 1rem; }
.em-services-pick .em-service-option { display: flex; align-items: flex-start; gap: 0.45rem; font-weight: 400; margin: 0; cursor: pointer; line-height: 1.35; }
.em-services-pick .em-service-option input { margin-top: 0.2rem; flex: none; }

/* [escort_services]: every service with its number of profiles */
.em-services-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: 0.6rem; }
.em-services-index a { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; padding: 0.75rem 1rem; border: 1px solid #dee2e6; border-radius: 8px; text-decoration: none; color: inherit; background: #fff; }
.em-services-index a:hover, .em-services-index a:focus-visible { border-color: currentColor; }
.em-service-name { font-weight: 600; }
.em-service-count { color: #5c636a; font-size: 0.85rem; white-space: nowrap; }

/* Plan upgrade / renewal requests (Manage your profile) */
.em-plan-requested {
	display: inline-block;
	margin-top: 0.2rem;
	color: #8a5a00;
	font-size: 0.9rem;
}
.em-inline-form {
	display: inline;
}
.em-link {
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	font-size: 0.9rem;
	color: inherit;
	text-decoration: underline;
	cursor: pointer;
}
.em-plan-choices {
	border: 0;
	padding: 0;
	margin: 0 0 1.25rem;
}
.em-plan-choices legend {
	font-weight: 600;
	margin-bottom: 0.5rem;
}
.em-plan-choice {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	padding: 0.85rem 1rem;
	border: 2px solid #e9ecef;
	border-radius: 8px;
	margin-bottom: 0.6rem;
	cursor: pointer;
	background: #fff;
}
.em-plan-choice input {
	margin-top: 0.3rem;
}
.em-plan-choice > span {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}
.em-plan-choice:has(input:checked) {
	border-color: #c42a47;
	background: #fff7f8;
}
.em-plan-choice--diamond strong { color: #0b7fb3; }
.em-plan-choice--gold strong { color: #a8730a; }
.em-plan-ask {
	margin-top: 1rem;
}

/* Sign in: Google button, "or" divider, signed-in strip */
.em-signin-google {
	margin: 1rem 0;
}
.em-google-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	width: 100%;
	min-height: 46px;
	padding: 0.65rem 1rem;
	border: 1px solid #747775;
	border-radius: 6px;
	background: #fff;
	color: #1f1f1f;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	transition: background 0.15s ease, box-shadow 0.15s ease;
}
.em-google-btn:hover,
.em-google-btn:focus-visible {
	background: #f6f8fc;
	color: #1f1f1f;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.em-signin-google--inline .em-google-btn {
	width: auto;
	display: inline-flex;
}
.em-or {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: #6c757d;
	font-size: 0.9rem;
	margin: 1rem 0;
}
.em-or::before,
.em-or::after {
	content: "";
	flex: 1;
	border-top: 1px solid #dee2e6;
}
.em-signup {
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
}
.em-signed-in {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	align-items: center;
	justify-content: space-between;
	padding: 0.6rem 0.9rem;
	margin-bottom: 1rem;
	border-radius: 6px;
	background: #e9f6ee;
	color: #14532d;
	font-size: 0.95rem;
}
.em-email-fixed {
	margin: 0;
	padding: 0.55rem 0.8rem;
	border: 1px solid #dee2e6;
	border-radius: 6px;
	background: #f8f9fa;
	overflow-wrap: anywhere;
}

/* Sign-up panel, styled like a classic "Register" card (v1.11.1) */
.em-signup {
	max-width: 520px;
	margin-left: 0;
	margin-right: auto;
}
.em-signup-intro {
	color: #5c636a;
	margin: 0 0 1rem;
}
.em-google-btn--signup {
	min-height: 52px;
	border: 0;
	background: #ffd97d;
	color: #1a1a2e;
	font-size: 1.05rem;
	font-weight: 700;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.em-google-btn--signup:hover,
.em-google-btn--signup:focus-visible {
	background: #ffcf55;
	color: #1a1a2e;
}
.em-fine-print {
	font-size: 0.8rem;
	color: #6c757d;
	text-align: center;
	margin: -0.4rem 0 0.5rem;
}
.em-signup .em-or {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.8rem;
	margin: 1.25rem 0;
}
.em-hint {
	margin: 0.35rem 0 0;
	font-size: 0.82rem;
	font-style: italic;
	color: #6c757d;
}
.em-check {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	font-weight: 400 !important;
	cursor: pointer;
}
.em-check input {
	width: 20px;
	height: 20px;
	margin-top: 0.1rem;
	flex: none;
}
.em-signup-submit {
	min-height: 48px;
	font-size: 1rem;
}
.em-signup-switch {
	margin: 1.25rem 0 0;
	text-align: center;
	color: #5c636a;
}

/* ------------------------------------------------------------------
 * Videos (1.13.0)
 * --------------------------------------------------------------- */

/* One video tile: the main photo until played, then the video, uncropped */
.em-video { position: relative; aspect-ratio: 3 / 4; background: #111; border-radius: 8px; overflow: hidden; }
.em-video-el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #111; display: block; }
.em-video-length { position: absolute; top: 0.5rem; right: 0.5rem; z-index: 2; padding: 0.1rem 0.5rem; border-radius: 999px; background: rgba(0, 0, 0, 0.65); color: #fff; font-size: 0.75rem; font-weight: 600; line-height: 1.5; pointer-events: none; }
.em-video-play { position: absolute; top: 50%; left: 50%; z-index: 2; transform: translate(-50%, -50%); width: 64px; height: 64px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.55); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); transition: background 0.15s ease, transform 0.15s ease; }
.em-video-play svg { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.em-video-play:hover, .em-video-play:focus-visible { background: rgba(0, 0, 0, 0.8); transform: translate(-50%, -50%) scale(1.06); }
.em-video-play:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.em-video.is-playing .em-video-play, .em-video.is-playing .em-video-length { display: none; }

/* [escort_videos]: the Videos page */
.em-videos { margin: 0 0 2rem; }
.em-video-cities { display: flex; gap: 0.4rem; overflow-x: auto; padding: 0 0 0.75rem; margin: 0 0 1rem; scrollbar-width: thin; }
.em-video-cities a { flex: none; padding: 0.35rem 0.85rem; border: 1px solid #dee2e6; border-radius: 999px; background: #fff; color: inherit; text-decoration: none; font-size: 0.9rem; white-space: nowrap; }
.em-video-cities a:hover, .em-video-cities a:focus-visible { border-color: currentColor; }
.em-video-cities a.is-active { background: #212529; border-color: #212529; color: #fff; }
.em-video-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 1.25rem; }
.em-video-item { display: flex; flex-direction: column; gap: 0.5rem; margin: 0; }
.em-video-info { line-height: 1.35; }
.em-video-name { font-weight: 600; text-decoration: none; color: inherit; }
.em-video-name:hover, .em-video-name:focus-visible { text-decoration: underline; }
.em-video-age { color: #5c636a; }
.em-video-place { display: block; color: #5c636a; font-size: 0.85rem; }
.em-video-profile { margin-top: auto; text-align: center; }
.em-video-empty { padding: 2rem 1rem; text-align: center; color: #5c636a; }
.em-video-pages { margin-top: 1.5rem; }
@media (max-width: 600px) {
	.em-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 0.6rem; }
	.em-video-play { width: 52px; height: 52px; }
	.em-video-play svg { width: 24px; height: 24px; }
	.em-video-profile { padding: 0.45rem 0.5rem; font-size: 0.82rem; }
}

/* Manage your profile → Videos */
.em-video-manage { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0; padding: 0; list-style: none; }
.em-video-manage li { width: 180px; display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.85rem; }
.em-video-manage video { width: 180px; height: 240px; object-fit: contain; background: #111; border-radius: 6px; display: block; }
.em-video-state { font-weight: 600; }
.em-video-state--live { color: #1e7b45; }
.em-video-state--pending { color: #8a5a00; }
.em-videos-note { margin: -0.25rem 0 1rem; }

/* ------------------------------------------------------------------
 * 1.14.0: changes waiting for review, description word count
 * --------------------------------------------------------------- */
.em-pending-note { background: #eef5fb; border: 1px solid #b6d4ee; color: #1d3f5e; }
.em-pending-note p { margin: 0 0 0.6rem; }
.em-pending-note .em-inline-form { margin: 0; }
.em-changes-waiting { color: #8a5a00; font-size: 0.85rem; font-weight: 600; }
.em-word-count { font-weight: 600; white-space: nowrap; }
.em-word-count.is-short { color: #a3301f; }

/* ------------------------------------------------------------------
 * 1.16.0: reviews
 * --------------------------------------------------------------- */

/* Stars filled to a rating (e.g. 4.5): one row of glyphs, coloured by a gradient */
.em-stars { display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 0; white-space: nowrap; vertical-align: -0.08em;
	color: transparent; background: linear-gradient(90deg, #f2a516 calc(var(--em-rating, 0) / 5 * 100%), #d3d6da 0); -webkit-background-clip: text; background-clip: text; }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
	.em-stars { color: #f2a516; background: none; }
}

.em-review-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.55rem; margin: 0 0 1rem; font-size: 1.05rem; }
.em-review-summary .em-stars { font-size: 1.35rem; }
.em-review-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.em-review { padding: 0.9rem 0; border-top: 1px solid #e9ecef; }
.em-review:first-child { border-top: 0; padding-top: 0.2rem; }
.em-review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.6rem; margin-bottom: 0.35rem; }
.em-review-author { font-weight: 600; }
.em-review-date { color: #5c636a; font-size: 0.85rem; }
.em-review-text p { margin: 0 0 0.5rem; overflow-wrap: anywhere; }
.em-review-text p:last-child { margin-bottom: 0; }
.em-review-more { margin: 0 0 1rem; }
.em-review-none { margin: 0 0 1rem; }

.em-review-write { margin: 0 0 1.25rem; scroll-margin-top: 5.5rem; }
.em-review-write[open] { padding-bottom: 1.25rem; border-bottom: 1px solid #e9ecef; }
.em-review-write > summary { display: inline-block; list-style: none; cursor: pointer; }
.em-review-write > summary::-webkit-details-marker { display: none; }
.em-review-write[open] > summary { margin-bottom: 1rem; }
.em-review-rules { margin: 0 0 1rem; }

/* Star picker: five radios (1 to 5, left to right) shown as stars; picking or
 * hovering a star fills it and every star before it. */
.em-star-input { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.em-star-input legend { font-weight: 600; margin: 0 0 0.3rem; padding: 0; }
.em-star-options { display: inline-flex; gap: 0.1rem; }
.em-star-options input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.em-star-options label { font-size: 2.2rem; line-height: 1; color: #d3d6da; cursor: pointer; padding: 0.1rem 0.15rem; border-radius: 4px; transition: color 0.1s ease, transform 0.1s ease; }
.em-star-options input:checked + label,
.em-star-options label:has(~ input:checked) { color: #f2a516; }
.em-star-options:hover input + label { color: #d3d6da; }
.em-star-options:hover input + label:hover,
.em-star-options:hover input + label:has(~ label:hover) { color: #f2a516; }
.em-star-options label:hover { transform: scale(1.08); }
.em-star-options input:focus-visible + label { outline: 2px solid #0d6efd; outline-offset: 1px; }
@media (max-width: 600px) {
	.em-star-options label { font-size: 2.5rem; padding: 0.1rem; }
}

/* Several profiles in one account */
.em-add-profile { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin: 0 0 1rem; }
.em-verif-status--verified { color: #1e7e34; font-weight: 600; }
.em-verif-status--pending { color: #8a5a00; }
.em-verif-status--rejected { color: #b32d2e; }
.em-account-note { color: #5c636a; font-size: 0.95rem; margin: 0 0 1rem; }
.verification-fieldset .em-verified-account { margin: 0 0 0.75rem; font-size: 0.9rem; }
