/* Registracija ([se_registracija], inc/registration-list.php). Sidebar, chips, search and the card shell
   come from price-list.css; here: the list of manodaktaras.lt widgets inside a service card. */

/* #registracija (hero button): stop with the search just under the sticky header; --se-pl-head = header height (JS),
   it is taller at 1025-1140px where the header wraps */
.se-pl--reg { scroll-margin-top: calc(var(--se-pl-head, 90px) + 24px); }

.se-pl--reg .se-rl__card { padding-bottom: 28px; }
.se-pl--reg .se-rl__card .se-pl__ask { padding-bottom: 0; }

.se-rl__docs {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-top: 22px;
	border-top: 1px solid var(--se-line);
}
/* keeps roughly a calendar's height while it waits to load, so the list doesn't jump */
.se-rl__doc { min-height: 320px; }
.se-rl__doc.is-loaded { min-height: 0; }

/* our header on top of each calendar, in place of the widget's (same shape: 10px top corners, the calendar
   box below has no top border); name and photo come from the site and link to our specialist page */
.se-pl--reg .mydoc__widget .mydoc__doctor { display: none; }
.se-pl--reg a.se-rl__who,
.se-pl--reg a.se-rl__who:hover,
.se-pl--reg a.se-rl__who:focus {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 20px;
	border-radius: 10px 10px 0 0;
	background: var(--se-tint);
	color: var(--se-navy);
	font-weight: 400;
	text-decoration: none;
	transition: background-color .15s ease;
}
.se-pl--reg a.se-rl__who:hover { background: #D9E9F2; }
.se-rl__photo {
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 0 0 2px #fff;
}
.se-rl__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.se-rl__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.se-rl__name {
	font-family: var(--se-head);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--se-navy);
}
.se-rl__specs {
	font-family: var(--se-head);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #5E6B80;
}
.se-rl__who .se-zyma { flex: none; }
.se-rl__go { flex: none; color: var(--se-navy); transition: transform .15s ease; }
.se-pl--reg a.se-rl__who:hover .se-rl__go { transform: translateX(3px); }

/* "registration by phone only" variant is ~80px; the widget's own min-height (160px, kept for the loading state) left a gap */
.se-pl--reg .mydoc__widget:has(.mydoc__calendar__slider--notime) { min-height: 0; }

@media (max-width: 767px) {
	.se-pl--reg .se-rl__card { padding-bottom: 18px; }
	.se-rl__docs { gap: 16px; padding-top: 16px; }
	.se-pl--reg a.se-rl__who { flex-wrap: wrap; gap: 6px 12px; padding: 12px 14px; }
	.se-rl__photo { width: 42px; height: 42px; }
	.se-rl__info { flex-basis: calc(100% - 54px - 30px); }
	.se-rl__name { font-size: 16px; }
	/* the tag goes on its own line under the name */
	.se-rl__who .se-zyma { order: 3; margin-left: 54px; }
}
