/* HRRMS Registrace – moderní formuláře (funguje na světlém i tmavém webu) */
.hrreg-card {
	max-width: 560px;
	margin: 0 auto 24px;
	padding: 30px 32px;
	background: var(--carbon, #fff);
	border: 1px solid var(--line, rgba(0,0,0,0.12));
	border-top: 3px solid #e3001b;
	border-radius: 6px;
}
.hrreg-title { margin: 0 0 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.hrreg-sub { margin: 0 0 18px; opacity: 0.7; }

.hrreg-form p { margin: 0 0 16px; }
.hrreg-form label { display: block; font-weight: 600; font-size: 0.95em; }
.hrreg-form input[type="text"],
.hrreg-form input[type="email"],
.hrreg-form input[type="tel"],
.hrreg-form input[type="password"],
.hrreg-form input[type="file"] {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 12px 14px;
	font-size: 16px;
	border: 1px solid var(--line, rgba(0,0,0,0.25));
	border-radius: 4px;
	background: var(--carbon-2, #fff);
	color: inherit;
	box-sizing: border-box;
}
.hrreg-form input:focus { border-color: #e3001b; outline: none; }
.hrreg-form small { display: block; font-weight: 400; opacity: 0.65; margin-top: 4px; }
.hrreg-opt { font-weight: 400; opacity: 0.6; }
.hrreg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .hrreg-row { grid-template-columns: 1fr; } }
.hrreg-hp { position: absolute !important; left: -9999px; }

.hrreg-btn {
	display: inline-block;
	padding: 13px 32px;
	background: #e3001b;
	color: #fff !important;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border: 0;
	border-radius: 3px;
	cursor: pointer;
	text-decoration: none;
}
.hrreg-btn:hover { background: #ff2a2a; }
.hrreg-alt { font-size: 0.92em; opacity: 0.85; }
.hrreg-remember label { font-weight: 400; }

.hrreg-msg { max-width: 560px; margin: 0 auto 16px; padding: 12px 16px; border-left: 4px solid; border-radius: 3px; }
.hrreg-msg ul { margin: 0; padding-left: 1.1em; }
.hrreg-msg-ok  { border-color: #2e7d32; background: rgba(46,125,50,0.12); }
.hrreg-msg-err { border-color: #c62828; background: rgba(198,40,40,0.12); }

/* můj účet */
.hrreg-account { max-width: 720px; margin: 0 auto; }
.hrreg-account .hrreg-card { max-width: none; }
.hrreg-account-head { display: flex; gap: 22px; align-items: center; }
.hrreg-avatar img { border-radius: 50%; display: block; border: 3px solid #e3001b; width: 120px; height: 120px; object-fit: cover; }
.hrreg-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 24px; }
@media (max-width: 560px) { .hrreg-tiles { grid-template-columns: 1fr; } }
.hrreg-tile {
	display: block;
	padding: 20px 22px;
	background: var(--carbon, rgba(0,0,0,0.04));
	border: 1px solid var(--line, rgba(0,0,0,0.12));
	border-left: 4px solid #e3001b;
	border-radius: 4px;
	text-decoration: none;
	color: inherit;
}
.hrreg-tile:hover { border-left-width: 8px; }
.hrreg-tile strong { display: block; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.hrreg-tile span { opacity: 0.7; font-size: 0.92em; }
.hrreg-logout { text-align: center; opacity: 0.8; }

/* přehled registrovaných jezdců */
.hrreg-members {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 26px 18px;
	margin: 1.2em 0;
}
.hrreg-member { text-align: center; }
.hrreg-member-avatar { position: relative; display: inline-block; }
.hrreg-member-avatar img {
	border-radius: 50%;
	width: 140px;
	height: 140px;
	object-fit: cover;
	border: 3px solid var(--line, rgba(0,0,0,0.15));
	transition: border-color 0.15s, transform 0.15s;
	display: block;
}
a.hrreg-member-avatar:hover img { border-color: #e3001b; transform: scale(1.04); }
.hrreg-member-pos {
	position: absolute;
	top: -4px;
	left: -4px;
	z-index: 2;
	min-width: 34px;
	padding: 4px 8px;
	background: #e3001b;
	color: #fff;
	font-weight: 800;
	font-size: 15px;
	border-radius: 17px;
	box-sizing: border-box;
}
.hrreg-member-racenet {
	display: inline-block;
	margin-top: 10px;
	font-size: 0.92em;
	word-break: break-all;
}
.hrreg-members-hint { text-align: center; opacity: 0.7; }

/* štítek moderátora */
.hrreg-member-mod {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #e3001b;
}
.hrreg-member-mod::before { content: '★ '; }

/* info ikona u RacenetID */
.hrreg-info { display: inline-block; position: relative; vertical-align: middle; margin-left: 4px; }
.hrreg-info summary {
	list-style: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px; height: 18px;
	border-radius: 50%;
	background: #e3001b;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	font-style: italic;
	font-family: Georgia, serif;
	user-select: none;
}
.hrreg-info summary::-webkit-details-marker { display: none; }
.hrreg-info[open] summary { background: #ff2a2a; }
.hrreg-info p {
	position: absolute;
	z-index: 20;
	left: 50%;
	transform: translateX(-50%);
	top: 24px;
	width: 290px;
	max-width: 80vw;
	margin: 0;
	padding: 10px 14px;
	background: #1b1b20;
	color: #f2f0ec;
	border: 1px solid #e3001b;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	box-shadow: 0 6px 18px rgba(0,0,0,0.45);
}

/* souhlas s pravidly při registraci */
.hrreg-consent { display: flex; align-items: flex-start; gap: 4px; font-size: 0.95em; margin: 4px 0 14px; }
.hrreg-consent label { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; line-height: 1.4; }
.hrreg-consent input[type="checkbox"] { margin-top: 3px; width: 18px; height: 18px; accent-color: #e3001b; flex: 0 0 auto; }
.hrreg-consent a { color: #e3001b; text-decoration: underline; }

/* hláška o heslech */
.hrreg-pass-hint { margin-top: -6px; }
.hrreg-pass-hint small { color: #ffd24a; }

/* znovu-odeslání ověřovacího e-mailu */
.hrreg-resend-form { margin: 0 0 14px; }
.hrreg-btn-ghost { background: transparent; border: 2px solid #e3001b; color: inherit; }
.hrreg-btn-ghost:hover { background: #e3001b; color: #fff; }
