/* Žiak portál – autoškola Naďo */

body.ziak-auth-page .web-instruktori,
body.ziak-auth-page .web-reviews,
body.ziak-auth-page .web-down-form,
body.ziak-auth-page .web-down,
body.ziak-auth-page .web-footer-link,
body.ziak-auth-page .web-down-map { display: none !important; }

body.ziak-auth-page {
	background: rgb(255, 255, 255);
	text-align: left;
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	-webkit-text-size-adjust: 100%;
}

body.ziak-auth-page #to-top { display: none !important; }

body.ziak-auth-page .web-header-ghost {
	height: 100px;
	margin: 0;
	padding: 0;
}

body.ziak-auth-page #main_body {
	background: rgb(255, 255, 255);
	margin: 0;
	padding: 0;
}

body.ziak-auth-page .web-container,
body.ziak-auth-page .web-content {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Prihlásený žiak portál – bez medzery pod navbarom */
body.action--ziak:not(.ziak-auth-page) .web-content {
	margin: 0 auto;
	padding: 0;
	width: 100%;
	max-width: none;
}

body.action--ziak:not(.ziak-auth-page) .web-container {
	margin-bottom: 0;
}

body.action--ziak:not(.ziak-auth-page) .ziak-portal {
	padding-top: 0;
}


/* AUTH – fixed flush under header */
.ziak-auth {
	position: fixed;
	top: 100px;
	left: 0;
	right: 0;
	bottom: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	width: 100%;
	max-width: 100%;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	background: rgb(255, 255, 255);
	overflow: hidden;
	z-index: 20;
	box-sizing: border-box;
}

.ziak-auth-visual {
	position: relative;
	background: rgb(32, 33, 36);
	color: rgb(255, 255, 255);
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	padding: 0;
	overflow: hidden;
}

.ziak-auth-visual-accent {
	position: absolute;
	left: 0;
	top: 0;
	width: 18px;
	height: 100%;
	background: rgb(238, 28, 37);
	transform: skewX(-8deg);
	transform-origin: left top;
	z-index: 1;
}

.ziak-auth-visual-accent:after {
	content: '';
	position: absolute;
	right: -120px;
	top: 0;
	width: 280px;
	height: 100%;
	background: linear-gradient(105deg, rgba(238, 28, 37, 0.22) 0%, rgba(238, 28, 37, 0) 72%);
}

.ziak-auth-visual-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 520px;
	margin: 0 auto;
	padding: 28px 48px 28px 56px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.ziak-auth-logo {
	margin-bottom: 24px;
}

.ziak-auth-logo img {
	width: 190px;
	max-width: 100%;
	height: auto;
	display: block;
}

.ziak-auth-kicker {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: rgb(238, 28, 37);
}

.ziak-auth-visual-title {
	font-size: 38px;
	line-height: 1.15;
	font-weight: 700;
	margin: 0 0 14px;
	letter-spacing: -0.3px;
	color: rgb(255, 255, 255) !important;
}

.ziak-auth-visual-text {
	font-size: 16px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.78);
	margin: 0 0 32px;
	max-width: 420px;
}

.ziak-auth-features {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ziak-auth-feature {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	backdrop-filter: blur(4px);
}

.ziak-auth-feature-icon {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 10px;
	background: rgba(238, 28, 37, 0.16);
	color: rgb(238, 28, 37);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}

.ziak-auth-feature-text {
	font-size: 15px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.94);
	font-weight: 500;
}

.ziak-auth-panel {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px 32px;
	background: rgb(255, 255, 255);
	min-width: 0;
}

.ziak-auth-panel-inner {
	width: 100%;
	max-width: 420px;
	min-width: 0;
	box-sizing: border-box;
}

body.ziak-auth-page .ziak-auth-panel-inner {
	max-width: 480px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

body.ziak-auth-page .ziak-auth-card {
	margin: 0;
}

body.ziak-auth-page .pwa-install-card {
	margin: 0;
	flex-shrink: 0;
}

.ziak-auth-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgb(100, 110, 120);
	font-size: 14px;
	margin-bottom: 16px;
	text-decoration: none;
	transition: color 0.2s;
}

.ziak-auth-back:hover { color: rgb(238, 28, 37); }

.ziak-auth-role-switch {
	display: flex;
	gap: 8px;
	margin-bottom: 16px;
	padding: 4px;
	background: rgb(248, 249, 252);
	border: 1px solid rgb(235, 238, 243);
	border-radius: 14px;
	min-width: 0;
}

.ziak-auth-role-btn {
	flex: 1 1 0;
	min-width: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	color: rgb(100, 110, 120);
	text-decoration: none;
	transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.ziak-auth-role-btn i {
	font-size: 16px;
	line-height: 1;
	position: static;
	top: auto;
	flex-shrink: 0;
}

.ziak-auth-role-btn span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ziak-auth-role-btn:hover {
	color: rgb(47, 48, 51);
	text-decoration: none;
}

.ziak-auth-role-btn.is-active {
	background: rgb(255, 255, 255);
	color: rgb(238, 28, 37);
	box-shadow: 0 4px 12px -6px rgba(20, 24, 35, 0.25);
}

.ziak-auth-card {
	background: rgb(255, 255, 255);
	border-radius: 16px;
	box-shadow: none;
	border: 1px solid rgb(235, 238, 243);
	overflow: hidden;
	max-width: 100%;
	box-sizing: border-box;
}

.ziak-auth-card-head {
	padding: 24px 28px 8px;
}

.ziak-auth-card-icon {
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background: rgba(238, 28, 37, 0.08);
	color: rgb(238, 28, 37);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	margin-bottom: 18px;
}

.ziak-auth-card-head h1 {
	font-size: 28px;
	line-height: 1.2;
	font-weight: 700;
	color: rgb(47, 48, 51);
	margin: 0 0 8px;
}

.ziak-auth-card-head p {
	font-size: 15px;
	line-height: 1.55;
	color: rgb(110, 118, 128);
	margin: 0;
}

.ziak-auth-card-body {
	padding: 8px 28px 24px;
}

.ziak-auth-errors {
	background: rgba(238, 28, 37, 0.08);
	border: 1px solid rgba(238, 28, 37, 0.18);
	border-radius: 12px;
	padding: 12px 14px;
	margin-bottom: 18px;
}

.ziak-auth-errors div {
	color: rgb(180, 20, 28);
	font-size: 14px;
	line-height: 1.45;
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.ziak-auth-errors-ok {
	background: rgba(40, 167, 69, 0.08);
	border-color: rgba(40, 167, 69, 0.2);
}

.ziak-auth-errors-ok div { color: rgb(28, 120, 60); }

.ziak-auth-form { display: block; }

.ziak-field {
	display: block;
	margin-bottom: 18px;
}

.ziak-field-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: rgb(70, 78, 88);
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.ziak-field-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgb(248, 249, 252);
	border: 1px solid rgb(225, 229, 236);
	border-radius: 12px;
	padding: 0 14px;
	transition: border-color 0.2s, box-shadow 0.2s;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

.ziak-field-wrap:focus-within {
	border-color: rgba(238, 28, 37, 0.55);
	box-shadow: 0 0 0 4px rgba(238, 28, 37, 0.08);
}

.ziak-field-wrap i {
	color: rgb(150, 158, 168);
	font-size: 16px;
	width: 18px;
	text-align: center;
}

.ziak-field-wrap input {
	flex: 1 1 0;
	min-width: 0;
	width: 100%;
	max-width: 100%;
	border: none;
	background: transparent;
	padding: 15px 0;
	font-size: 16px;
	color: rgb(47, 48, 51);
	outline: none;
	font-family: 'Poppins', sans-serif;
	box-sizing: border-box;
}

.ziak-field-wrap input::placeholder { color: rgb(170, 176, 186); }

.ziak-field-wrap-password input { padding-right: 4px; }

.ziak-pass-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: transparent;
	color: rgb(150, 158, 168);
	cursor: pointer;
	padding: 8px 2px;
	flex-shrink: 0;
	line-height: 1;
}

.ziak-pass-toggle:hover { color: rgb(238, 28, 37); }

.ziak-pass-toggle i {
	width: auto;
	font-size: 16px;
}

.ziak-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	border: none;
	border-radius: 12px;
	padding: 16px 20px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
	font-family: 'Poppins', sans-serif;
}

.ziak-btn-primary {
	background: rgb(238, 28, 37);
	color: rgb(255, 255, 255) !important;
	box-shadow: 0 12px 24px -12px rgba(238, 28, 37, 0.65);
}

.ziak-btn-primary:hover {
	background: rgb(210, 20, 28);
	transform: translateY(-1px);
	box-shadow: 0 16px 28px -12px rgba(238, 28, 37, 0.75);
}

.ziak-btn-danger {
	background: transparent;
	color: rgb(160, 35, 40) !important;
	border: 1.5px solid rgba(160, 35, 40, 0.35);
	box-shadow: none;
}

.ziak-btn-danger:hover {
	background: rgba(160, 35, 40, 0.08);
	border-color: rgba(160, 35, 40, 0.55);
	transform: translateY(-1px);
}

.ziak-book-cancel {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid rgba(20, 28, 40, 0.1);
}

.ziak-book-cancel-lead {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.55;
	color: rgb(110, 118, 128);
}

.ziak-btn-link { margin-top: 8px; }

.ziak-auth-footnote {
	margin: 18px 0 0;
	font-size: 13px;
	line-height: 1.55;
	color: rgb(130, 138, 148);
	overflow-wrap: anywhere;
}

.ziak-auth-links {
	margin: 0 0 16px;
	text-align: right;
	font-size: 13px;
	line-height: 1.4;
}

.ziak-auth-links-below {
	margin: 20px 0 0;
}

.ziak-auth-links a {
	color: rgb(238, 28, 37);
	text-decoration: none;
	font-weight: 500;
}

.ziak-auth-links a:hover {
	text-decoration: underline;
}


/* PORTAL – logged in */
.ziak-portal {
	max-width: 1100px;
	margin: 0 auto 50px;
	padding: 10px 20px 0;
}

.ziak-portal-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	padding: 28px 30px;
	margin-bottom: 28px;
	background: linear-gradient(135deg, rgb(47, 48, 51), rgb(59, 75, 88));
	border-radius: 18px;
	color: rgb(255, 255, 255);
	box-shadow: 0 20px 40px -24px rgba(20, 24, 35, 0.45);
}

.ziak-portal-hero-main {
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 0;
}

.ziak-portal-hero-main > div {
	min-width: 0;
}

.ziak-action-label-short { display: none; }

.ziak-portal-hero-badge {
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: rgba(238, 28, 37, 0.18);
	color: rgb(238, 28, 37);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
}

.ziak-portal-hero h1 {
	font-size: 32px;
	margin: 0 0 4px;
	font-weight: 700;
}

.ziak-portal-hero p {
	margin: 0;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.78);
}

.ziak-portal-hero-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.ziak-portal-hero-actions .ziak-portal-action,
.ziak-portal-hero-actions .ziak-portal-action:link,
.ziak-portal-hero-actions .ziak-portal-action:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.24);
	color: rgb(255, 255, 255);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
	min-width: 0;
	box-sizing: border-box;
}

.ziak-portal-hero-actions .ziak-portal-action i {
	flex-shrink: 0;
	line-height: 1;
	position: static;
	top: auto;
}

.ziak-portal-hero-actions .ziak-portal-action-primary,
.ziak-portal-hero-actions .ziak-portal-action-primary:link,
.ziak-portal-hero-actions .ziak-portal-action-primary:visited {
	background: rgb(238, 28, 37);
	border-color: rgb(238, 28, 37);
	font-weight: 600;
}

.ziak-portal-hero-actions .ziak-portal-action:hover,
.ziak-portal-hero-actions .ziak-portal-action:focus {
	background: rgba(255, 255, 255, 0.24);
	border-color: rgba(255, 255, 255, 0.38);
	color: rgb(255, 255, 255);
	text-decoration: none;
}

.ziak-portal-hero-actions .ziak-portal-action-muted {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.16);
}

.ziak-portal-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}

.ziak-portal-section-head h2 {
	font-size: 24px;
	margin: 0;
	color: rgb(47, 48, 51);
}

.ziak-portal-count {
	min-width: 34px;
	height: 34px;
	padding: 0 10px;
	border-radius: 999px;
	background: rgb(238, 28, 37);
	color: rgb(255, 255, 255);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 700;
}

.ziak-jazdy-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
	margin-bottom: 28px;
}

.ziak-jazdy-card {
	display: flex;
	gap: 16px;
	padding: 18px;
	background: rgb(255, 255, 255);
	border: 1px solid rgb(235, 238, 243);
	border-radius: 14px;
	box-shadow: 0 8px 24px -18px rgba(20, 24, 35, 0.35);
}

.ziak-jazdy-card-date {
	width: 64px;
	flex-shrink: 0;
	text-align: center;
	border-radius: 12px;
	background: rgb(248, 249, 252);
	padding: 10px 8px;
}

.ziak-jazdy-card-day {
	display: block;
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	color: rgb(47, 48, 51);
}

.ziak-jazdy-card-month {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	color: rgb(120, 128, 138);
	margin-top: 4px;
	font-weight: 600;
}

.ziak-jazdy-card-time {
	font-size: 16px;
	font-weight: 600;
	color: rgb(47, 48, 51);
	margin-bottom: 6px;
}

.ziak-jazdy-card-meta {
	font-size: 14px;
	color: rgb(110, 118, 128);
}

.ziak-jazdy-card-note {
	margin-top: 8px;
	font-size: 13px;
	color: rgb(90, 98, 108);
}

.ziak-portal-action-muted {
	opacity: 0.85;
}

.ziak-portal-action-primary {
	background: rgb(238, 28, 37);
	border-color: rgb(238, 28, 37);
	color: rgb(255, 255, 255);
}

.ziak-portal-action-primary:hover {
	background: rgb(210, 20, 28);
	border-color: rgb(210, 20, 28);
	color: rgb(255, 255, 255);
}

.ziak-portal-flash {
	margin-bottom: 16px;
	padding: 12px 16px;
	border-radius: 12px;
	background: rgba(92, 184, 92, 0.12);
	border: 1px solid rgba(92, 184, 92, 0.35);
	color: rgb(40, 96, 48);
	font-size: 14px;
}

.ziak-portal-section {
	min-width: 0;
	max-width: 100%;
}

.ziak-instructor-pick {
	text-align: center;
	padding: 28px 20px 32px;
	margin-bottom: 8px;
	background: rgb(255, 255, 255);
	border: 1px dashed rgb(220, 225, 232);
	border-radius: 16px;
}

.ziak-instructor-pick-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 16px;
	border-radius: 16px;
	background: rgba(238, 28, 37, 0.1);
	color: rgb(238, 28, 37);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
}

.ziak-instructor-pick h3 {
	margin: 0 0 8px;
	font-size: 22px;
	color: rgb(47, 48, 51);
}

.ziak-instructor-pick p,
.ziak-instructor-pick-empty {
	margin: 0 0 20px;
	color: rgb(110, 118, 128);
	font-size: 15px;
	line-height: 1.5;
}

.ziak-instructor-pick-form {
	max-width: 420px;
	margin: 0 auto;
	text-align: left;
}

.ziak-instructor-pick-form .ziak-field {
	margin-bottom: 16px;
}

.ziak-instructor-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 14px;
	padding: 12px 14px;
	border-radius: 12px;
	background: rgb(248, 250, 252);
	border: 1px solid rgb(232, 236, 241);
}

.ziak-instructor-bar-main {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 14px;
	color: rgb(80, 88, 98);
}

.ziak-instructor-bar-main i {
	color: rgb(150, 158, 168);
}

.ziak-instructor-bar-main strong {
	color: rgb(47, 48, 51);
	font-size: 15px;
}

.ziak-instructor-change summary {
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	color: rgb(238, 28, 37);
	list-style: none;
}

.ziak-instructor-change summary::-webkit-details-marker { display: none; }

.ziak-instructor-change-form {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
	flex-wrap: wrap;
}

.ziak-instructor-change-form .ziak-field-wrap {
	min-height: 46px;
	flex: 1 1 220px;
}

.ziak-btn-compact {
	width: auto;
	padding: 12px 18px;
	font-size: 14px;
}

.ziak-jazdy-next {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 10px 16px;
	margin-bottom: 8px;
	background: rgb(255, 255, 255);
	border: 1px solid rgb(235, 238, 243);
	border-radius: 12px;
	border-left-width: 4px;
	min-height: 56px;
	overflow: hidden;
}

.ziak-jazdy-next-date {
	display: flex;
	align-items: baseline;
	gap: 6px;
	min-width: 72px;
	flex-shrink: 0;
}

.ziak-jazdy-next-day {
	font-size: 22px;
	font-weight: 700;
	color: rgb(47, 48, 51);
	line-height: 1;
}

.ziak-jazdy-next-month {
	font-size: 12px;
	text-transform: uppercase;
	color: rgb(120, 128, 138);
	font-weight: 600;
}

.ziak-jazdy-next-body {
	flex: 1;
	min-width: 0;
}

.ziak-jazdy-next-time {
	font-size: 15px;
	font-weight: 600;
	color: rgb(47, 48, 51);
}

.ziak-jazdy-next-meta {
	font-size: 13px;
	color: rgb(90, 98, 108);
	margin-top: 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ziak-jazdy-next-edit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgb(248, 250, 252);
	border: 1px solid rgb(235, 238, 243);
	color: rgb(80, 88, 98);
	text-decoration: none;
	flex-shrink: 0;
}

.ziak-jazdy-next-edit:hover {
	background: rgb(238, 28, 37);
	border-color: rgb(238, 28, 37);
	color: rgb(255, 255, 255);
}

.ziak-portal-book .ziak-portal-hero-compact {
	background: linear-gradient(135deg, rgb(47, 48, 51), rgb(59, 75, 88));
	border-radius: 16px;
	padding: 24px 28px;
	margin-bottom: 20px;
}

.ziak-portal-book .ziak-portal-hero-compact h1 {
	font-size: 26px;
	margin: 0 0 6px;
	color: rgb(255, 255, 255);
}

.ziak-portal-book .ziak-portal-hero-compact p {
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
}

.ziak-book-card {
	max-width: 640px;
}

.ziak-book-instructor {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin-bottom: 18px;
	padding: 12px 14px;
	border-radius: 12px;
	background: rgb(248, 250, 252);
	border: 1px solid rgb(232, 236, 241);
	color: rgb(70, 78, 88);
	font-size: 14px;
}

.ziak-book-instructor i {
	color: rgb(150, 158, 168);
	font-size: 16px;
}

.ziak-book-instructor-label {
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.35px;
	font-size: 12px;
	color: rgb(120, 128, 138);
}

.ziak-book-instructor strong {
	font-weight: 700;
	color: rgb(47, 48, 51);
	font-size: 15px;
}

.ziak-book-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 18px;
}

.ziak-book-row .ziak-field {
	margin-bottom: 0;
}

.ziak-book-skupina-field {
	margin-bottom: 18px;
}

.ziak-field-wrap {
	min-height: 52px;
	box-sizing: border-box;
}

.ziak-field-wrap-select {
	position: relative;
	padding-right: 36px;
}

.ziak-field-wrap-select::after {
	content: '';
	position: absolute;
	right: 14px;
	top: 50%;
	width: 8px;
	height: 8px;
	margin-top: -5px;
	border-right: 2px solid rgb(150, 158, 168);
	border-bottom: 2px solid rgb(150, 158, 168);
	transform: rotate(45deg);
	pointer-events: none;
}

.ziak-book-select {
	flex: 1;
	width: 100%;
	min-width: 0;
	border: 0;
	background: transparent;
	font: inherit;
	color: inherit;
	padding: 15px 0;
	font-size: 16px;
	line-height: 1.4;
	font-family: 'Poppins', sans-serif;
	color: rgb(47, 48, 51);
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
	outline: none;
}

.ziak-book-select:disabled,
.ziak-field-wrap input:disabled {
	cursor: not-allowed;
	color: rgb(120, 128, 138);
}

.ziak-book-locked-notice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 18px;
	padding: 14px 16px;
	border-radius: 12px;
	background: rgba(238, 28, 37, 0.08);
	border: 1px solid rgba(238, 28, 37, 0.18);
	color: rgb(170, 30, 38);
	font-size: 14px;
	line-height: 1.45;
}

.ziak-book-locked-notice i {
	margin-top: 2px;
}

.ziak-book-form-locked .ziak-field-wrap {
	background: rgb(244, 246, 249);
	border-color: rgb(232, 236, 241);
}

.ziak-field-wrap-textarea:focus-within {
	border-color: rgb(225, 229, 236);
	box-shadow: none;
}

.ziak-field-wrap-textarea textarea {
	width: 100%;
	min-height: 88px;
	border: 0;
	outline: none;
	background: transparent;
	resize: vertical;
	font: inherit;
	color: inherit;
	padding: 0;
}

.ziak-field-wrap-textarea textarea:focus {
	outline: none;
	box-shadow: none;
}

.ziak-book-type {
	margin-bottom: 18px;
}

.ziak-book-type .kal-type-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.ziak-book-type .kal-type-pill {
	margin: 0;
	cursor: pointer;
}

.ziak-book-type .kal-type-pill input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ziak-book-type .kal-type-pill span {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid rgb(220, 225, 232);
	background: rgb(255, 255, 255);
	font-size: 13px;
	font-weight: 600;
	color: rgb(80, 88, 98);
}

.ziak-book-type .kal-type-pill-trenazer input:checked + span {
	background: rgba(240, 173, 78, 0.15);
	border-color: rgb(240, 173, 78);
	color: rgb(160, 110, 20);
}

.ziak-book-type .kal-type-pill-cvicisko input:checked + span {
	background: rgba(92, 184, 92, 0.15);
	border-color: rgb(92, 184, 92);
	color: rgb(45, 120, 45);
}

.ziak-book-type .kal-type-pill-jazda input:checked + span {
	background: rgba(2, 117, 216, 0.12);
	border-color: rgb(2, 117, 216);
	color: rgb(2, 90, 170);
}

.ziak-book-skupina {
	margin-bottom: 18px;
}

.ziak-portal-card-errors {
	margin-bottom: 16px;
}

.ziak-jazdy-card-trenazer { border-left: 4px solid rgb(240, 173, 78); }
.ziak-jazdy-card-cvicisko { border-left: 4px solid rgb(92, 184, 92); }
.ziak-jazdy-card-jazda { border-left: 4px solid rgb(2, 117, 216); }

.ziak-portal-calendar {
	background: rgb(255, 255, 255);
	border: 1px solid rgb(235, 238, 243);
	border-radius: 16px;
	padding: 18px;
}

.ziak-kal-wrap .kal-week-grid th,
.ziak-kal-wrap .kal-week-grid td {
	border-color: rgb(235, 238, 243);
}

.ziak-kal-wrap .kal-week-title {
	font-size: 15px;
	color: rgb(47, 48, 51);
}

.ziak-kal-wrap .kal-week-event {
	background: rgb(248, 250, 252);
	border-radius: 10px;
}

.ziak-kal-wrap .kal-week-toolbar .btn {
	border-radius: 10px;
}

/* Dostupnosť termínov – pastelová zelená / červená */
.ziak-kal-wrap .kal-week-cell-available {
	background: #f0f9f2 !important;
	border-color: #d4ead9 !important;
}

.ziak-kal-wrap .kal-week-cell-available .kal-week-add {
	border-color: #b8dcc0;
	background: #f5fbf7;
	color: #5c8f6a;
	font-weight: 600;
}

.ziak-kal-wrap .kal-week-cell-available .kal-week-add:hover {
	background: #e4f3e8;
	border-color: #9fccb0;
	color: #4a7c59;
}

.ziak-kal-wrap .kal-week-cell-unavailable,
.ziak-kal-wrap .kal-week-cell-past,
.ziak-kal-wrap .kal-week-cell-blocked {
	background: #fdf4f4 !important;
	border-color: #ecd8d8 !important;
	color: #9a7070;
}

.ziak-kal-wrap .kal-week-cell-unavailable .kal-week-dash,
.ziak-kal-wrap .kal-week-cell-past .kal-week-dash {
	color: #d4a8a8;
}

.ziak-kal-wrap .kal-week-cell-unavailable .kal-week-event,
.ziak-kal-wrap .kal-week-cell-blocked .kal-week-event {
	background: #faf0f0;
	border-left-color: #ddb8b8 !important;
	color: #8f6666;
}

.ziak-kal-wrap .kal-week-cell-mine {
	background: #f2f7fb !important;
	border-color: #d5e6f2 !important;
}

.ziak-kal-wrap .kal-week-cell-mine .kal-week-event,
.ziak-kal-wrap .kal-week-cell-mine .kal-week-event-link {
	background: #f2f7fb;
	border-left-color: #9bb8d4 !important;
	color: #5a7a96;
}

/* Mobilný zoznam – jeden stĺpec, časy v riadkoch */
.kal-student-mobile {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.kal-student-day {
	border: 1px solid rgb(235, 238, 243);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}

.kal-student-day-head {
	padding: 12px 14px;
	background: rgb(248, 250, 252);
	border-bottom: 1px solid rgb(235, 238, 243);
}

.kal-student-day-head .kal-week-day-name {
	font-size: 15px;
}

.kal-student-day-head .kal-week-day-date {
	font-size: 13px;
}

.kal-student-day-slots {
	display: flex;
	flex-direction: column;
}

.kal-student-slot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border-bottom: 1px solid rgb(240, 243, 247);
	text-decoration: none;
	color: inherit;
	font-size: 14px;
	transition: background 0.15s;
}

.kal-student-day-slots .kal-student-slot:last-child {
	border-bottom: 0;
}

.kal-student-slot-time {
	font-weight: 600;
	color: rgb(47, 48, 51);
}

.kal-student-slot-status {
	font-size: 13px;
	font-weight: 600;
	flex-shrink: 0;
}

.kal-student-slot-available {
	background: #f0f9f2;
}

.kal-student-slot-available .kal-student-slot-time {
	color: #4a7c59;
}

.kal-student-slot-available .kal-student-slot-status {
	color: #6b9e78;
}

.kal-student-slot-available:active {
	background: #e4f3e8;
}

.kal-student-slot-unavailable {
	background: #fdf4f4;
}

.kal-student-slot-unavailable .kal-student-slot-time {
	color: #8f6666;
}

.kal-student-slot-unavailable .kal-student-slot-status {
	color: #a87a7a;
}

.ziak-kal-wrap .kal-student-slot-mine {
	background: #f2f7fb;
}

.ziak-kal-wrap .kal-student-slot-mine .kal-student-slot-time {
	color: #5a7a96;
}

.ziak-kal-wrap .kal-student-slot-mine .kal-student-slot-status {
	color: #7a97b0;
}

.ziak-portal-empty {
	text-align: center;
	padding: 48px 20px;
	background: rgb(255, 255, 255);
	border: 1px dashed rgb(220, 225, 232);
	border-radius: 16px;
	color: rgb(120, 128, 138);
}

.ziak-portal-empty i {
	font-size: 42px;
	color: rgb(200, 206, 214);
	margin-bottom: 12px;
}

.ziak-portal-topbar { margin-bottom: 16px; }

.ziak-portal-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgb(100, 110, 120);
	text-decoration: none;
	font-size: 14px;
}

.ziak-portal-back:hover { color: rgb(238, 28, 37); }

.ziak-portal-hero-compact {
	margin-bottom: 22px;
	padding: 24px 28px;
}

.ziak-portal-hero-compact .ziak-portal-hero-icon {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: rgba(238, 28, 37, 0.18);
	color: rgb(238, 28, 37);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	margin-bottom: 12px;
}

.ziak-portal-hero-compact h1 { font-size: 28px; margin: 0 0 6px; color: rgb(255,255,255); }
.ziak-portal-hero-compact p { margin: 0; color: rgba(255,255,255,0.78); }

.ziak-portal-card {
	max-width: 520px;
	margin: 0 auto;
	background: rgb(255, 255, 255);
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 16px 40px -24px rgba(20, 24, 35, 0.25);
	border: 1px solid rgb(235, 238, 243);
}

.ziak-portal-settings .ziak-portal-hero-compact {
	background: linear-gradient(135deg, rgb(47, 48, 51), rgb(59, 75, 88));
	border-radius: 16px;
}

@media screen and (max-width: 900px) {
	body.ziak-auth-page .web-header-ghost { height: 70px; }

	body.ziak-auth-page .web-menu-contact-social > div > a i {
		font-size: 20px;
	}

	.ziak-auth {
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		bottom: auto;
		grid-template-columns: 1fr;
		min-height: calc(100dvh - 70px);
		height: auto;
		overflow: visible;
	}

	.ziak-auth-visual { display: none; }

	.ziak-auth-panel {
		min-height: 0;
		align-items: flex-start;
		padding: 12px 16px calc(24px + env(safe-area-inset-bottom, 0px));
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		overflow-x: hidden;
	}

	.ziak-auth-panel-inner {
		max-width: 100%;
		width: 100%;
		gap: 16px;
	}

	body.ziak-auth-page .ziak-auth-panel-inner {
		max-width: 100%;
	}

	.ziak-auth-role-switch {
		margin-bottom: 0;
	}

	.ziak-auth-back {
		margin-bottom: 0;
	}

	.ziak-auth-card {
		width: 100%;
		max-width: 100%;
	}

	.ziak-auth-card-head { padding: 18px 16px 8px; }
	.ziak-auth-card-body { padding: 8px 16px 18px; }
	.ziak-auth-card-head h1 { font-size: 21px; }

	body.ziak-auth-page .web-header-in {
		width: 100%;
		max-width: 100%;
		padding: 0 8px;
		box-sizing: border-box;
	}

	body.ziak-auth-page .web-menu-contact {
		right: 46px;
		gap: 2px;
		max-width: calc(100% - 210px);
	}

	body.ziak-auth-page .web-menu-contact-social {
		gap: 2px;
	}

	body.ziak-auth-page .menu-btn {
		right: 8px;
	}

	.ziak-portal {
		padding: 0 14px;
	}

	.ziak-portal-hero {
		padding: 18px 16px;
		gap: 16px;
		margin-bottom: 20px;
		flex-direction: column;
		align-items: stretch;
	}

	.ziak-portal-hero-main {
		width: 100%;
		align-items: flex-start;
		gap: 12px;
	}

	.ziak-portal-hero-badge {
		width: 48px;
		height: 48px;
		font-size: 20px;
		flex-shrink: 0;
	}

	.ziak-portal-hero h1 {
		font-size: 24px;
		line-height: 1.2;
	}

	.ziak-portal-hero p {
		font-size: 13px;
		line-height: 1.45;
		word-break: break-word;
	}

	.ziak-action-label-full { display: none; }
	.ziak-action-label-short { display: inline; }

	.ziak-portal-hero-actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		width: 100%;
	}

	.ziak-portal-hero-actions .ziak-portal-action {
		width: 100%;
		padding: 13px 12px;
		font-size: 13px;
		line-height: 1.25;
		white-space: normal;
		text-align: center;
	}

	.ziak-portal-hero-actions .ziak-portal-action-primary {
		grid-column: 1 / -1;
		padding: 14px 16px;
		font-size: 15px;
	}

	.ziak-book-row {
		grid-template-columns: 1fr;
	}
}

/* VH progress */
.ziak-vh-progress-section { margin-top: 8px; }
.ziak-vh-skupina-card {
	background: #fff;
	border: 1px solid #e8ecf1;
	border-radius: 14px;
	padding: 20px 22px;
	margin-bottom: 16px;
	box-shadow: 0 2px 8px rgba(15, 35, 60, 0.04);
}
.ziak-vh-skupina-title {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 14px;
	color: #1a2b42;
}
.ziak-vh-row { margin-bottom: 14px; }
.ziak-vh-row-head {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 6px;
	color: #3d5270;
}
.ziak-vh-bar {
	height: 8px;
	background: #eef2f7;
	border-radius: 999px;
	overflow: hidden;
	display: flex;
}
.ziak-vh-bar-done { background: #2e7d32; height: 100%; }
.ziak-vh-bar-sched { background: #90caf9; height: 100%; }
.ziak-vh-row-meta {
	font-size: 12px;
	color: #6b7c93;
	margin-top: 5px;
}
.ziak-vh-total {
	font-size: 14px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #eef2f7;
	color: #3d5270;
}
.ziak-vh-unassigned { color: #8a6d3b; }
.ziak-jazdy-card-unassigned { border-left-color: #9e9e9e !important; }
.ziak-book-type-hint { margin: 0 0 16px; }

.pwa-install-card {
	margin: 0 0 16px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid #e4ebf3;
	box-shadow: 0 4px 16px rgba(32, 33, 36, 0.06);
	max-width: 100%;
	box-sizing: border-box;
	overflow: hidden;
}
.pwa-install-card[hidden] { display: none !important; }

.pwa-install-card-bar {
	display: flex;
	align-items: stretch;
	gap: 0;
	min-height: 52px;
}

.pwa-install-card-toggle {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	padding: 12px 14px;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
	font: inherit;
	color: inherit;
}

.pwa-install-card-toggle-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(238, 28, 37, 0.1);
	color: rgb(238, 28, 37);
	flex-shrink: 0;
	font-size: 16px;
}

.pwa-install-card-toggle-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	min-width: 0;
}

.pwa-install-card-toggle-copy strong {
	font-size: 14px;
	line-height: 1.25;
	color: #202124;
	font-weight: 700;
}

.pwa-install-platform-label {
	display: none;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	font-weight: 600;
	color: #5f6368;
	line-height: 1.2;
}

.pwa-install-platform-label .fab { font-size: 13px; }
html.pwa-ios [data-pwa-platform-label-ios] { display: inline-flex; }
html.pwa-android [data-pwa-platform-label-android] { display: inline-flex; }
html:not(.pwa-ios):not(.pwa-android):not(.pwa-standalone) [data-pwa-platform-label-android] { display: inline-flex; }

.pwa-install-card-chevron {
	margin-left: auto;
	flex-shrink: 0;
	font-size: 14px;
	color: #9aa0a6;
	transition: transform 0.2s;
}

.pwa-install-card.is-open .pwa-install-card-chevron {
	transform: rotate(180deg);
}

.pwa-install-card-dismiss {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	flex-shrink: 0;
	border: 0;
	border-left: 1px solid #eef2f7;
	background: transparent;
	color: #9aa0a6;
	cursor: pointer;
	font-size: 15px;
}

.pwa-install-card-dismiss:hover { color: #202124; background: #f8f9fb; }

.pwa-install-card-body {
	padding: 0 14px 14px;
	border-top: 1px solid #eef2f7;
	display: none;
}
.pwa-install-card.is-open .pwa-install-card-body {
	display: block;
}

.pwa-install-list {
	display: none;
	margin: 12px 0 0;
	padding: 0 0 0 18px;
	list-style: decimal;
	overflow-wrap: anywhere;
}

html.pwa-ios .pwa-install-list[data-pwa-platform="ios"],
html.pwa-android .pwa-install-list[data-pwa-platform="android"] {
	display: block;
}
html:not(.pwa-ios):not(.pwa-android):not(.pwa-standalone) .pwa-install-list[data-pwa-platform="android"] {
	display: block;
}

.pwa-install-list li {
	margin: 0 0 8px;
	padding-left: 4px;
	font-size: 13px;
	line-height: 1.45;
	color: #3c4043;
}

.pwa-install-list li:last-child { margin-bottom: 0; }

.pwa-install-em {
	display: inline;
	font-size: inherit;
	line-height: inherit;
	font-weight: 700;
	color: #202124;
	letter-spacing: normal;
}

.pwa-install-em-icon {
	display: inline-block;
	font-size: 1em;
	line-height: 1;
	width: 1em;
	height: 1em;
	margin-right: 0.25em;
	vertical-align: -0.12em;
	position: static;
	top: auto;
	text-align: center;
}

html.pwa-ios .pwa-install-em-icon { color: #007aff; }
html.pwa-android .pwa-install-em-icon { color: #1a73e8; }

.pwa-install-quick {
	display: none;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #eef2f7;
}

.pwa-install-card.is-ready .pwa-install-quick { display: block; }

.pwa-install-card-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 12px 16px;
	border: 0;
	border-radius: 10px;
	background: #202124;
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.pwa-install-card-btn:hover { background: #000; }
.pwa-install-card-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.pwa-install-card.is-ready .pwa-install-card-btn:disabled { opacity: 1; cursor: pointer; }

html.pwa-standalone .pwa-install-card { display: none !important; }
html.pwa-standalone .ziak-auth-back { display: none !important; }

html.pwa-standalone .web-instruktori,
html.pwa-standalone .web-reviews,
html.pwa-standalone .web-down-form,
html.pwa-standalone .web-down,
html.pwa-standalone .web-footer-link,
html.pwa-standalone .web-down-map { display: none !important; }

@media (min-width: 901px) {
	.pwa-install-card { display: none !important; }
}
