/**
 * Style dla Kancelaria Wizytówka
 */

/* Formularz */
.kf-form-wrapper {
	max-width: 900px;
	margin: 0 auto;
	padding: 30px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.kf-form-errors {
	background: #f8d7da;
	color: #721c24;
	padding: 15px;
	border-radius: 4px;
	margin-bottom: 20px;
}

.kf-form-errors ul {
	margin: 0;
	padding-left: 20px;
}

.kf-form-success {
	background: #d4edda;
	color: #155724;
	padding: 15px;
	border-radius: 4px;
	margin-bottom: 20px;
}

.kf-form-field {
	margin-bottom: 20px;
}

.kf-form-field label {
	display: block;
	font-weight: bold;
	margin-bottom: 5px;
}

.kf-form-field .required {
	color: #dc3545;
}

.kf-form-field input[type="text"],
.kf-form-field input[type="url"],
.kf-form-field input[type="tel"],
.kf-form-field input[type="email"],
.kf-form-field input[type="number"],
.kf-form-field input[type="file"],
.kf-form-field select {
	width: 100%;
	padding: 12px 15px;
	border: 2px solid #e0e0e0;
	border-radius: 6px;
	font-size: 15px;
	transition: all 0.3s ease;
	background: #fff;
	box-sizing: border-box;
	line-height: 1.5;
	vertical-align: middle;
}

.kf-form-field input[type="text"]:focus,
.kf-form-field input[type="url"]:focus,
.kf-form-field input[type="tel"]:focus,
.kf-form-field input[type="email"]:focus,
.kf-form-field input[type="number"]:focus,
.kf-form-field select:focus {
	outline: none;
	border-color: #0069ff;
	box-shadow: 0 0 0 3px rgba(0, 105, 255, 0.1);
}

.kf-form-field input[type="text"].error,
.kf-form-field input[type="url"].error,
.kf-form-field input[type="tel"].error,
.kf-form-field input[type="email"].error,
.kf-form-field input[type="number"].error,
.kf-form-field input[type="file"].error,
.kf-form-field textarea.error,
.kf-form-field select.error,
.kf-select2.error + .select2-container .select2-selection {
	border-color: #dc3545 !important;
	box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

.kf-field-error {
	display: block;
	color: #dc3545;
	font-size: 13px;
	margin-top: 5px;
	font-weight: 500;
}

.kf-form-field select[multiple] {
	min-height: 120px;
}

/* Select2 styling */
.kf-select2 {
	width: 100% !important;
	display: block !important;
}

.select2-container {
	width: 100% !important;
	margin-bottom: 10px;
}

.select2-container--default .select2-selection--multiple {
	border: 2px solid #e0e0e0 !important;
	border-radius: 6px !important;
	min-height: 50px !important;
	padding: 8px 12px !important;
	background: #fff !important;
	line-height: 1.5 !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
	border-color: #0069ff !important;
	box-shadow: 0 0 0 3px rgba(0, 105, 255, 0.1) !important;
	outline: none !important;
}

.select2-container--default .select2-search--inline .select2-search__field {
	margin-top: 0 !important;
	padding: 0 !important;
	font-size: 15px !important;
	line-height: 1.5 !important;
	border: none !important;
	background: transparent !important;
	vertical-align: middle !important;
}

.select2-container--default .select2-search--inline .select2-search__field:focus {
	outline: none !important;
	border: none !important;
	box-shadow: none !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
	background-color: #0069ff !important;
	border: none !important;
	border-radius: 5px !important;
	color: #fff !important;
	padding: 6px 12px !important;
	margin: 4px 4px 4px 0 !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
	color: #fff !important;
	margin-right: 6px !important;
	font-weight: bold !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
	color: rgba(255, 255, 255, 0.8) !important;
}

.select2-dropdown {
	border: 2px solid #e0e0e0 !important;
	border-radius: 6px !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.select2-results__option {
	padding: 10px 15px !important;
}

.select2-results__option--highlighted {
	background-color: #0069ff !important;
}

.kf-form-field small {
	display: block;
	margin-top: 5px;
	color: #666;
	font-size: 12px;
}

.kf-new-term-wrapper {
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid #e0e0e0;
}

.kf-new-term-wrapper label {
	font-weight: 600;
	font-size: 14px;
	color: #555;
	margin-bottom: 8px;
	display: block;
}

.kf-new-term-wrapper input[type="text"] {
	margin-top: 5px;
}

.kf-duplicate-warning {
	display: block !important;
	font-size: 13px;
	margin-top: 8px;
	padding: 8px;
	background: #fff3cd;
	border-left: 3px solid #ffc107;
	border-radius: 4px;
}

.kf-submit-button {
	background: linear-gradient(135deg, #0069ff 0%, #0052cc 100%);
	color: #fff;
	padding: 14px 32px;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
	box-shadow: 0 2px 8px rgba(0, 105, 255, 0.3);
	width: 100%;
}

.kf-submit-button:hover {
	background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
	box-shadow: 0 4px 12px rgba(0, 105, 255, 0.4);
	transform: translateY(-2px);
}

/* Profil coacha */
.kf-profile-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 50px 20px;
	background: #f8f9fa;
}

.kf-profile-container {
	display: flex;
	gap: 50px;
	flex-wrap: wrap;
	background: #fff;
	padding: 40px;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.kf-profile-image {
	flex: 0 0 350px;
}

.kf-profile-image img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	object-fit: cover;
}

.kf-profile-content {
	flex: 1;
	min-width: 300px;
}

.kf-profile-name {
	font-size: 36px;
	margin-bottom: 25px;
	color: #1a1a1a;
	font-weight: 700;
}

.kf-profile-description {
	margin-bottom: 25px;
	line-height: 1.8;
	font-size: 16px;
	color: #555;
}

.kf-profile-professions,
.kf-profile-cities {
	margin-bottom: 20px;
	padding: 15px;
	background: #f8f9fa;
	border-radius: 8px;
}

.kf-profile-professions strong,
.kf-profile-cities strong {
	display: block;
	margin-bottom: 8px;
	color: #333;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.kf-profile-professions a,
.kf-profile-cities a {
	color: #0069ff;
	text-decoration: none;
	padding: 4px 12px;
	background: #fff;
	border-radius: 4px;
	display: inline-block;
	margin: 3px;
	transition: all 0.2s;
}

.kf-profile-professions a:hover,
.kf-profile-cities a:hover {
	background: #0069ff;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 2px 8px rgba(0, 105, 255, 0.3);
}

.kf-profile-calendly {
	margin: 30px 0;
}

.kf-calendly-button {
	display: inline-block;
	background: linear-gradient(135deg, #0069ff 0%, #0052cc 100%);
	color: #fff;
	padding: 14px 28px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s;
	box-shadow: 0 2px 8px rgba(0, 105, 255, 0.3);
}

.kf-calendly-button:hover {
	background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
	box-shadow: 0 4px 12px rgba(0, 105, 255, 0.4);
	transform: translateY(-2px);
}

.kf-profile-contact {
	margin: 25px 0;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
}

.kf-contact-item {
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid #e0e0e0;
}

.kf-contact-item:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.kf-contact-item strong {
	display: block;
	margin-bottom: 5px;
	color: #333;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.kf-contact-item a {
	color: #0069ff;
	text-decoration: none;
	font-size: 16px;
	transition: color 0.2s;
}

.kf-contact-item a:hover {
	color: #0052cc;
	text-decoration: underline;
}

.kf-profile-views {
	margin-top: 20px;
	color: #666;
	font-size: 14px;
}

/* Grid coachów */
.kf-grid-wrapper {
	padding: 20px 0;
}

.kf-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}

@media (min-width: 768px) {
	.kf-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.kf-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.kf-grid-item {
	border: 1px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.3s;
}

.kf-grid-item:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.kf-grid-image {
	width: 100%;
	height: 250px;
	overflow: hidden;
	background: #f0f0f0;
}

.kf-grid-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kf-grid-content {
	padding: 20px;
}

.kf-grid-name {
	margin: 0 0 10px 0;
	font-size: 20px;
}

.kf-grid-name a {
	color: #333;
	text-decoration: none;
}

.kf-grid-name a:hover {
	color: #0073aa;
}

.kf-grid-professions,
.kf-grid-cities {
	margin-bottom: 8px;
	color: #666;
	font-size: 14px;
}

.kf-grid-views {
	margin-top: 10px;
	color: #999;
	font-size: 12px;
}

/* Kategorie */
.kf-categories-wrapper {
	padding: 20px 0;
}

.kf-categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 15px;
}

.kf-category-item {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 15px;
	text-align: center;
	transition: background 0.3s;
}

.kf-category-item:hover {
	background: #f5f5f5;
}

.kf-category-item a {
	color: #333;
	text-decoration: none;
	font-weight: bold;
}

.kf-category-item a:hover {
	color: #0073aa;
}

.kf-category-count {
	color: #999;
	font-weight: normal;
}

/* Sekcja szkoleń w formularzu */
.kf-trainings-section {
	margin-top: 30px;
	padding-top: 30px;
	border-top: 2px solid #e0e0e0;
}

.kf-trainings-section > label {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 20px;
	display: block;
}

#kf-trainings-container {
	margin-bottom: 20px;
}

.kf-training-item {
	background: #f8f9fa;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 20px;
	position: relative;
}

.kf-training-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #ddd;
}

.kf-training-header h4 {
	margin: 0;
	font-size: 16px;
	color: #333;
}

.kf-remove-training {
	background: #dc3545;
	color: #fff;
	border: none;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.kf-remove-training:hover {
	background: #c82333;
}

.kf-training-fields {
	display: grid;
	gap: 15px;
}

.kf-training-price-link {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}

.kf-form-field-half {
	display: flex;
	flex-direction: column;
}

.kf-add-training-btn {
	background: #28a745;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.kf-add-training-btn:hover {
	background: #218838;
}

.kf-plus-icon {
	font-size: 20px;
	line-height: 1;
}

.kf-training-fields textarea {
	width: 100%;
	padding: 12px 15px;
	border: 2px solid #e0e0e0;
	border-radius: 6px;
	font-size: 15px;
	font-family: inherit;
	resize: vertical;
	transition: border-color 0.3s;
	box-sizing: border-box;
}

.kf-training-fields textarea:focus {
	outline: none;
	border-color: #0069ff;
	box-shadow: 0 0 0 3px rgba(0, 105, 255, 0.1);
}

/* Grid szkoleń w profilu */
.kf-trainings-section {
	margin-top: 50px;
	padding-top: 40px;
	border-top: 2px solid #e0e0e0;
}

.kf-trainings-title {
	font-size: 28px;
	margin-bottom: 30px;
	color: #333;
	text-align: center;
}

.kf-trainings-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 30px;
}

.kf-training-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	overflow: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
}

.kf-training-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
	transform: translateY(-5px);
}

.kf-training-thumbnail {
	width: 100%;
	height: 200px;
	overflow: hidden;
	background: #f0f0f0;
}

.kf-training-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kf-training-content {
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.kf-training-name {
	margin: 0 0 15px 0;
	font-size: 20px;
	color: #333;
	line-height: 1.4;
}

.kf-training-description {
	margin-bottom: 15px;
	color: #666;
	font-size: 14px;
	line-height: 1.6;
	flex: 1;
}

.kf-training-description p {
	margin: 0 0 10px 0;
}

.kf-training-description p:last-child {
	margin-bottom: 0;
}

.kf-training-benefits {
	margin-bottom: 20px;
	padding: 15px;
	background: #f8f9fa;
	border-radius: 6px;
	border-left: 3px solid #0069ff;
}

.kf-training-benefits strong {
	display: block;
	margin-bottom: 8px;
	color: #333;
	font-size: 14px;
}

.kf-training-benefits p {
	margin: 0;
	color: #666;
	font-size: 14px;
	line-height: 1.6;
}

.kf-training-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	padding-top: 15px;
	border-top: 1px solid #e0e0e0;
}

.kf-training-price {
	font-size: 20px;
	font-weight: bold;
	color: #28a745;
}

.kf-training-link {
	background: #0069ff;
	color: #fff;
	padding: 10px 20px;
	border-radius: 6px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: background 0.3s;
	display: inline-block;
}

.kf-training-link:hover {
	background: #0052cc;
}

.kf-training-name a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s;
}

.kf-training-name a:hover {
	color: #0069ff;
}

.kf-training-thumbnail a {
	display: block;
	overflow: hidden;
	border-radius: 8px;
}

.kf-training-thumbnail a img {
	transition: transform 0.3s;
}

.kf-training-thumbnail a:hover img {
	transform: scale(1.05);
}

/* Social Media */
.kf-profile-social {
	margin: 20px 0;
}

.kf-social-links {
	display: flex;
	gap: 15px;
	margin-top: 10px;
	flex-wrap: wrap;
}

.kf-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	text-decoration: none;
	transition: transform 0.3s, opacity 0.3s;
}

.kf-social-link:hover {
	transform: scale(1.1);
	opacity: 0.8;
}

.kf-social-link .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
}

.kf-facebook {
	background: #1877f2;
	color: #fff;
}

.kf-linkedin {
	background: #0077b5;
	color: #fff;
}

.kf-instagram {
	background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	color: #fff;
}

.kf-twitter {
	background: #1da1f2;
	color: #fff;
}

/* Certyfikaty */
.kf-certificates-section {
	margin: 40px 0;
	padding: 30px;
	background: #f8f9fa;
	border-radius: 12px;
}

.kf-certificates-title {
	font-size: 28px;
	margin-bottom: 25px;
	color: #333;
}

.kf-certificates-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}

.kf-certificate-item {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	padding: 20px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s, box-shadow 0.3s;
}

.kf-certificate-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.kf-certificate-icon {
	font-size: 32px;
	flex-shrink: 0;
}

.kf-certificate-content {
	flex: 1;
}

.kf-certificate-name {
	margin: 0 0 8px 0;
	font-size: 18px;
	font-weight: 600;
}

.kf-certificate-name a {
	color: #0069ff;
	text-decoration: none;
}

.kf-certificate-name a:hover {
	text-decoration: underline;
}

.kf-certificate-issuer {
	color: #666;
	font-size: 14px;
	margin-bottom: 5px;
}

.kf-certificate-date {
	color: #999;
	font-size: 13px;
}

/* Filtry szkoleń */
.kf-trainings-filters {
	display: flex;
	gap: 15px;
	margin-bottom: 25px;
	flex-wrap: wrap;
}

.kf-training-sort,
.kf-training-filter {
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.3s;
}

.kf-training-sort:hover,
.kf-training-filter:hover {
	border-color: #0069ff;
}

.kf-training-sort:focus,
.kf-training-filter:focus {
	outline: none;
	border-color: #0069ff;
	box-shadow: 0 0 0 3px rgba(0, 105, 255, 0.1);
}

/* Meta szkoleń */
.kf-training-meta {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 15px;
}

.kf-training-category,
.kf-training-level,
.kf-training-duration {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
}

.kf-training-category {
	background: #e3f2fd;
	color: #1976d2;
}

.kf-training-level {
	background: #f3e5f5;
	color: #7b1fa2;
}

.kf-level-poczatkujacy {
	background: #e8f5e9;
	color: #388e3c;
}

.kf-level-sredniozaawansowany {
	background: #fff3e0;
	color: #f57c00;
}

.kf-level-zaawansowany {
	background: #fce4ec;
	color: #c2185b;
}

.kf-training-duration {
	background: #f1f8e9;
	color: #689f38;
}

/* Formularz - Social Media */
.kf-social-fields {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
}

/* Formularz - Certyfikaty */
.kf-certificate-item {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 20px;
	background: #fff;
}

.kf-certificate-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

.kf-certificate-header h4 {
	margin: 0;
	font-size: 16px;
}

.kf-certificate-meta {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
}

.kf-add-certificate-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	background: #28a745;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s;
	margin-top: 15px;
}

.kf-add-certificate-btn:hover {
	background: #218838;
}

/* Formularz - rozszerzone szkolenia */
.kf-training-meta {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
}

.kf-form-field-third {
	flex: 1;
}

.kf-form-field-third select {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
}

/* Responsywność profilu */
@media (max-width: 768px) {
	.kf-profile-container {
		flex-direction: column;
	}

	.kf-profile-image {
		flex: 1;
		max-width: 100%;
	}

	.kf-profile-name {
		font-size: 24px;
	}

	.kf-trainings-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.kf-training-price-link {
		grid-template-columns: 1fr;
	}

	.kf-training-footer {
		flex-direction: column;
		gap: 15px;
		align-items: stretch;
	}

	.kf-training-link {
		text-align: center;
	}

	.kf-social-fields {
		grid-template-columns: 1fr;
	}

	.kf-certificates-list {
		grid-template-columns: 1fr;
	}

	.kf-trainings-filters {
		flex-direction: column;
	}

	.kf-training-meta {
		grid-template-columns: 1fr;
	}

	.kf-certificate-meta {
		grid-template-columns: 1fr;
	}
}

/* Template szkolenia */
.kf-training-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

.kf-training-container {
	display: flex;
	gap: 40px;
	margin-bottom: 40px;
}

.kf-training-image {
	flex: 0 0 400px;
}

.kf-training-image img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.kf-training-content {
	flex: 1;
}

.kf-training-title {
	font-size: 36px;
	margin-bottom: 20px;
	color: #333;
}

.kf-training-meta-info {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 25px;
}

.kf-training-description {
	font-size: 16px;
	line-height: 1.8;
	color: #555;
	margin-bottom: 30px;
}

.kf-training-benefits,
.kf-training-video,
.kf-training-materials {
	margin-bottom: 30px;
	padding: 25px;
	background: #f8f9fa;
	border-radius: 8px;
}

.kf-training-benefits h2,
.kf-training-video h2,
.kf-training-materials h2 {
	margin-top: 0;
	margin-bottom: 15px;
	font-size: 24px;
	color: #333;
}

.kf-video-wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
	overflow: hidden;
}

.kf-video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.kf-video-link {
	display: inline-block;
	padding: 12px 24px;
	background: #0069ff;
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	transition: background 0.3s;
}

.kf-video-link:hover {
	background: #0052cc;
}

.kf-training-coach {
	margin: 30px 0;
	padding: 25px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
}

.kf-training-coach h2 {
	margin-top: 0;
	margin-bottom: 20px;
}

.kf-coach-info {
	display: flex;
	gap: 20px;
	align-items: center;
}

.kf-coach-thumbnail {
	flex-shrink: 0;
}

.kf-coach-thumbnail img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
}

.kf-coach-details h3 {
	margin: 0 0 10px 0;
}

.kf-coach-details h3 a {
	color: #0069ff;
	text-decoration: none;
}

.kf-coach-details h3 a:hover {
	text-decoration: underline;
}

.kf-view-coach-link {
	color: #666;
	text-decoration: none;
	font-size: 14px;
}

.kf-view-coach-link:hover {
	color: #0069ff;
}

.kf-training-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 25px;
	background: #f8f9fa;
	border-radius: 8px;
	margin-top: 30px;
	flex-wrap: wrap;
	gap: 20px;
}

.kf-training-price-display {
	font-size: 24px;
}

.kf-price-value {
	color: #28a745;
	font-weight: bold;
}

.kf-training-platform-link {
	padding: 12px 24px;
	background: #28a745;
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	transition: background 0.3s;
}

.kf-training-platform-link:hover {
	background: #218838;
}

.kf-training-actions {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

/* Formularz kontaktowy szkolenia */
.kf-training-contact-form-section {
	margin-top: 50px;
	padding: 40px;
	background: #f8f9fa;
	border-radius: 12px;
}

.kf-training-contact-form-section h2 {
	margin-top: 0;
	margin-bottom: 25px;
	font-size: 28px;
	color: #333;
}

#kf-training-contact-form {
	background: #fff;
	padding: 30px;
	border-radius: 8px;
}

#kf-training-contact-form .kf-form-field {
	margin-bottom: 20px;
}

#kf-training-contact-form label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
}

#kf-training-contact-form input[type="text"],
#kf-training-contact-form input[type="email"],
#kf-training-contact-form input[type="tel"],
#kf-training-contact-form textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	font-family: inherit;
}

#kf-training-contact-form textarea {
	resize: vertical;
	min-height: 120px;
}

#kf-training-contact-form .kf-submit-button {
	width: 100%;
	padding: 15px;
	background: #0069ff;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s;
}

#kf-training-contact-form .kf-submit-button:hover {
	background: #0052cc;
}

/* Responsywność template szkolenia */
@media (max-width: 768px) {
	.kf-training-container {
		flex-direction: column;
	}

	.kf-training-image {
		flex: 1;
		max-width: 100%;
	}

	.kf-training-title {
		font-size: 28px;
	}

	.kf-training-footer {
		flex-direction: column;
		align-items: stretch;
	}

	.kf-training-actions {
		flex-direction: column;
	}

	.kf-training-actions a {
		text-align: center;
	}

	.kf-training-contact-form-section {
		padding: 20px;
	}

	#kf-training-contact-form {
		padding: 20px;
	}
}

/* Lekcje szkolenia */
.kf-training-lessons {
	margin: 40px 0;
	padding: 30px;
	background: #f8f9fa;
	border-radius: 12px;
}

.kf-training-lessons h2 {
	margin-top: 0;
	margin-bottom: 25px;
	font-size: 28px;
	color: #333;
}

.kf-lessons-count {
	color: #666;
	font-size: 18px;
	font-weight: normal;
}

.kf-lessons-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 25px;
	margin-top: 25px;
}

.kf-lesson-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s, box-shadow 0.3s;
}

.kf-lesson-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.kf-lesson-thumbnail {
	width: 100%;
	height: 180px;
	overflow: hidden;
	background: #f0f0f0;
}

.kf-lesson-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kf-lesson-content {
	padding: 20px;
}

.kf-lesson-name {
	font-size: 18px;
	margin: 0 0 10px 0;
	color: #333;
	display: flex;
	align-items: center;
	gap: 8px;
}

.kf-lesson-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: #0069ff;
	color: #fff;
	border-radius: 50%;
	font-size: 14px;
	font-weight: bold;
	flex-shrink: 0;
}

.kf-lesson-duration {
	display: inline-block;
	font-size: 14px;
	color: #666;
	margin-bottom: 10px;
}

.kf-lesson-description {
	font-size: 14px;
	line-height: 1.6;
	color: #555;
	margin: 10px 0;
}

.kf-lesson-materials-link {
	display: inline-block;
	margin-top: 10px;
	color: #0069ff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: color 0.3s;
}

.kf-lesson-materials-link:hover {
	color: #0052cc;
	text-decoration: underline;
}

/* Formularz lekcji w formularzu */
.kf-lessons-section {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

.kf-lessons-container {
	margin: 15px 0;
}

.kf-lesson-item {
	background: #f8f9fa;
	padding: 20px;
	margin-bottom: 15px;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
}

.kf-lesson-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.kf-lesson-header h5 {
	margin: 0;
	font-size: 16px;
	color: #333;
}

.kf-remove-lesson {
	background: #dc3545;
	color: #fff;
	border: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
	transition: background 0.3s;
}

.kf-remove-lesson:hover {
	background: #c82333;
}

.kf-lesson-fields {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.kf-lesson-meta {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}

.kf-add-lesson-btn {
	background: #28a745;
	color: #fff;
	border: none;
	padding: 12px 24px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	transition: background 0.3s;
	margin-top: 10px;
}

.kf-add-lesson-btn:hover {
	background: #218838;
}

/* Opinie i oceny */
.kf-training-reviews {
	margin: 40px 0;
	padding: 30px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
}

.kf-training-reviews h2 {
	margin-top: 0;
	margin-bottom: 25px;
	font-size: 28px;
	color: #333;
}

.kf-average-rating {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 30px;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
}

.kf-rating-stars {
	display: flex;
	gap: 5px;
	font-size: 24px;
}

.kf-star {
	color: #ddd;
	font-size: 24px;
	line-height: 1;
}

.kf-star-full {
	color: #ffc107;
}

.kf-star-half {
	background: linear-gradient(90deg, #ffc107 50%, #ddd 50%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.kf-star-empty {
	color: #ddd;
}

.kf-rating-value {
	font-size: 24px;
	font-weight: bold;
	color: #333;
}

.kf-reviews-count {
	color: #666;
	font-size: 16px;
}

.kf-reviews-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.kf-review-item {
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
	border-left: 4px solid #0069ff;
}

.kf-review-header {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.kf-review-name {
	font-size: 16px;
	color: #333;
}

.kf-review-rating {
	display: flex;
	gap: 3px;
}

.kf-review-rating .kf-star {
	font-size: 16px;
}

.kf-review-date {
	color: #999;
	font-size: 14px;
	margin-left: auto;
}

.kf-review-text {
	color: #555;
	line-height: 1.6;
	font-size: 14px;
}

/* Formularz dodawania opinii */
.kf-add-review-section {
	margin: 40px 0;
	padding: 30px;
	background: #f8f9fa;
	border-radius: 12px;
}

.kf-add-review-section h2 {
	margin-top: 0;
	margin-bottom: 25px;
	font-size: 28px;
	color: #333;
}

.kf-review-form {
	background: #fff;
	padding: 30px;
	border-radius: 8px;
}

.kf-rating-input {
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	gap: 5px;
}

.kf-rating-input input[type="radio"] {
	display: none;
}

.kf-star-label {
	font-size: 32px;
	color: #ddd;
	cursor: pointer;
	transition: color 0.2s;
	line-height: 1;
}

.kf-star-label:hover,
.kf-star-label.kf-star-hover,
.kf-star-label.kf-star-selected,
.kf-rating-input input[type="radio"]:checked ~ .kf-star-label {
	color: #ffc107;
}

.kf-review-message {
	margin-top: 15px;
	padding: 12px;
	border-radius: 6px;
	display: none;
}

.kf-review-message .kf-success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.kf-review-message .kf-error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Responsywność lekcji i opinii */
@media (max-width: 768px) {
	.kf-lessons-grid {
		grid-template-columns: 1fr;
	}

	.kf-lesson-meta {
		grid-template-columns: 1fr;
	}

	.kf-review-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.kf-review-date {
		margin-left: 0;
	}

	.kf-add-review-section {
		padding: 20px;
	}

	.kf-review-form {
		padding: 20px;
	}
}

/* Zaawansowane wyszukiwanie */
.kf-advanced-search {
	max-width: 1200px;
	margin: 40px auto;
	padding: 30px;
	background: #f8f9fa;
	border-radius: 12px;
}

.kf-search-form {
	background: #fff;
	padding: 25px;
	border-radius: 8px;
	margin-bottom: 30px;
}

.kf-search-field {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
}

.kf-search-field input[type="text"] {
	flex: 1;
	padding: 12px 15px;
	border: 2px solid #e0e0e0;
	border-radius: 6px;
	font-size: 16px;
}

.kf-search-field input[type="text"]:focus {
	outline: none;
	border-color: #0069ff;
}

.kf-search-button {
	padding: 12px 24px;
	background: #0069ff;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s;
}

.kf-search-button:hover {
	background: #0052cc;
}

.kf-search-filters {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

.kf-filter-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
	font-size: 14px;
}

.kf-filter-group select {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
}

.kf-search-results {
	margin-top: 30px;
}

.kf-coaches-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 25px;
}

.kf-coach-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s, box-shadow 0.3s;
}

.kf-coach-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.kf-coach-thumbnail {
	width: 100%;
	height: 200px;
	overflow: hidden;
	background: #f0f0f0;
}

.kf-coach-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kf-coach-info {
	padding: 20px;
}

.kf-coach-info h3 {
	margin: 0 0 10px 0;
	font-size: 20px;
}

.kf-coach-info h3 a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s;
}

.kf-coach-info h3 a:hover {
	color: #0069ff;
}

.kf-coach-professions {
	margin: 10px 0;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.kf-tag {
	display: inline-block;
	padding: 4px 10px;
	background: #e3f2fd;
	color: #1976d2;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 500;
}

.kf-coach-cities {
	font-size: 14px;
	color: #666;
	margin: 10px 0;
}

.kf-view-profile {
	display: inline-block;
	margin-top: 15px;
	padding: 10px 20px;
	background: #0069ff;
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	transition: background 0.3s;
}

.kf-view-profile:hover {
	background: #0052cc;
}

.kf-loading {
	text-align: center;
	padding: 40px;
	font-size: 18px;
	color: #666;
}

.kf-no-results {
	text-align: center;
	padding: 40px;
	font-size: 16px;
	color: #666;
	background: #fff;
	border-radius: 8px;
}

.kf-error {
	padding: 15px;
	background: #f8d7da;
	color: #721c24;
	border-radius: 6px;
	margin: 20px 0;
}

@media (max-width: 768px) {
	.kf-search-field {
		flex-direction: column;
	}

	.kf-search-filters {
		grid-template-columns: 1fr;
	}

	.kf-coaches-grid {
		grid-template-columns: 1fr;
	}
}

/* Widgety */
.kf-widget-coach {
	text-align: center;
}

.kf-widget-coach-image {
	margin-bottom: 15px;
}

.kf-widget-coach-image img {
	border-radius: 50%;
	width: 120px;
	height: 120px;
	object-fit: cover;
}

.kf-widget-coach-info h4 {
	margin: 0 0 10px 0;
	font-size: 18px;
}

.kf-widget-coach-info h4 a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s;
}

.kf-widget-coach-info h4 a:hover {
	color: #0069ff;
}

.kf-widget-professions {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	justify-content: center;
	margin: 10px 0;
}

.kf-widget-tag {
	display: inline-block;
	padding: 4px 10px;
	background: #e3f2fd;
	color: #1976d2;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 500;
}

.kf-widget-view-link {
	display: inline-block;
	margin-top: 15px;
	padding: 8px 16px;
	background: #0069ff;
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	transition: background 0.3s;
}

.kf-widget-view-link:hover {
	background: #0052cc;
}

.kf-widget-popular-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.kf-widget-popular-list li {
	display: flex;
	gap: 15px;
	padding: 15px 0;
	border-bottom: 1px solid #eee;
	align-items: center;
}

.kf-widget-popular-list li:last-child {
	border-bottom: none;
}

.kf-widget-thumbnail {
	flex-shrink: 0;
}

.kf-widget-thumbnail img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
}

.kf-widget-coach-details {
	flex: 1;
}

.kf-widget-coach-details h5 {
	margin: 0 0 5px 0;
	font-size: 14px;
}

.kf-widget-coach-details h5 a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s;
}

.kf-widget-coach-details h5 a:hover {
	color: #0069ff;
}

.kf-widget-views {
	font-size: 12px;
	color: #666;
}

/* Kupony rabatowe */
.kf-coupon-field {
	margin: 30px 0;
	padding: 25px;
	background: #f8f9fa;
	border-radius: 8px;
}

.kf-coupon-field label {
	display: block;
	margin-bottom: 10px;
	font-weight: 600;
	color: #333;
}

.kf-coupon-input-group {
	display: flex;
	gap: 10px;
}

.kf-coupon-code-input {
	flex: 1;
	padding: 12px;
	border: 2px solid #e0e0e0;
	border-radius: 6px;
	font-size: 16px;
	text-transform: uppercase;
}

.kf-coupon-code-input:focus {
	outline: none;
	border-color: #0069ff;
}

.kf-apply-coupon-btn {
	padding: 12px 24px;
	background: #28a745;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s;
}

.kf-apply-coupon-btn:hover {
	background: #218838;
}

.kf-coupon-message {
	margin-top: 15px;
	padding: 12px;
	border-radius: 6px;
	display: none;
}

.kf-coupon-message .kf-success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.kf-coupon-message .kf-error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

.kf-discounted {
	text-decoration: line-through;
	color: #999;
}

/* Przyciski udostępniania social media */
.kf-social-share {
	margin: 40px 0;
	padding: 25px;
	background: #f8f9fa;
	border-radius: 12px;
	text-align: center;
}

.kf-share-label {
	display: block;
	margin-bottom: 15px;
	font-weight: 600;
	color: #333;
	font-size: 16px;
}

.kf-share-buttons {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
}

.kf-share-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: transform 0.3s, box-shadow 0.3s;
	cursor: pointer;
	border: none;
}

.kf-share-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.kf-share-facebook {
	background: #1877f2;
	color: #fff;
}

.kf-share-twitter {
	background: #1da1f2;
	color: #fff;
}

.kf-share-linkedin {
	background: #0077b5;
	color: #fff;
}

.kf-share-whatsapp {
	background: #25d366;
	color: #fff;
}

.kf-share-copy {
	background: #6c757d;
	color: #fff;
}

.kf-share-icon {
	font-size: 18px;
}

.kf-share-text {
	font-size: 14px;
}

.kf-copy-message {
	margin-top: 15px;
	padding: 10px;
	background: #d4edda;
	color: #155724;
	border-radius: 6px;
	font-size: 14px;
}

/* Responsywność widgetów i kuponów */
@media (max-width: 768px) {
	.kf-share-buttons {
		flex-direction: column;
	}

	.kf-share-btn {
		width: 100%;
		justify-content: center;
	}

	.kf-coupon-input-group {
		flex-direction: column;
	}

	.kf-apply-coupon-btn {
		width: 100%;
	}
}

