/**
 * Multi-Step Forms - Frontend Styles
 * Responsywne style dla formularzy wielokrokowych
 */

body {
	overflow-x: hidden;
}

input:focus,
textarea:focus {
    outline-width: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
}

/* Główny kontener formularza */
.msf-form-wrapper {
    margin: 20px 0;
	width: 100%;
	max-width: 100%;
    font-family: 'Manrope', sans-serif;
}

.msf-form-steps-wrapper {
    max-width: 1270px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
}

.msf-form-column {
    flex: 2;
    min-width: 300px;
}

.msf-summary-column {
    flex-basis: 370px;
    height: fit-content;
    position: sticky;
    top: 110px;
	
	background: #fff;
    padding: 30px;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, .1);
}

.msf-form {
	background: #fff;
	padding: 30px;
	box-sizing: border-box;
	border-radius: 8px;
	border:  1px solid rgba(0, 0, 0, .1);
}

/* Wskaźnik kroków */
.msf-step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 20px;
}

.msf-step-indicator .step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.msf-step-indicator .step.active {
    background: #00a2d3;
    color: white;
}

.msf-step-indicator .step.completed {
    background: #007cba;
    color: white;
}

/* Kroki formularza */
.msf-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
    overflow: visible;
}

.msf-step.active {
    display: block;
}

/* Ukryj całkowicie krok 1 gdy aktywny jest krok 2 */
.msf-step-2.active ~ .msf-step-1-container,
.msf-step-2.active ~ .msf-step-1 {
    display: none !important;
}

/* Alternatywnie - ukryj krok 1 gdy formularz ma klasę step-2 */
.msf-form.step-2 .msf-step-1-container {
    display: none !important;
}

/* Style dla zwiniętych sekcji */
.msf-collapsed-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.msf-collapsed-section:hover {
    background: #e9ecef;
    border-color: #00a2d3;
}

.msf-collapsed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.msf-collapsed-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    flex-shrink: 0;
}

.msf-collapsed-selection {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 0;
}

.msf-selected-options {
    color: #666;
    font-size: 14px;
    flex: 1;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.msf-edit-btn {
    background: #00a2d3;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.msf-edit-btn:hover {
    background: #0088b3;
    transform: translateY(-1px);
}

.msf-edit-btn:active {
    transform: translateY(0);
}

/* Style dla zwiniętych sekcji poziomu 0 */
.msf-service-item.msf-section-collapsed {
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-radius: 8px !important;
    margin-bottom: 15px !important;
    padding: 15px !important;
    transition: all 0.3s ease !important;
}

.msf-service-item.msf-section-collapsed:hover {
    background: #e9ecef !important;
    border-color: #00a2d3 !important;
}

/* Poprawiony układ nagłówka z wybranymi opcjami */
.msf-header-field .msf-service-header {
    display: inline-block;
    font-size: 24px;
    margin: 0;
    width: auto;
    margin-right: auto;
}

.msf-header-with-selection .msf-header-field .msf-service-header {
    font-size: 18px;
}

.msf-header-field .msf-header-selection {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    margin-left: auto;
}

/* Układ w jednym wierszu dla zwiniętych sekcji */
.msf-header-with-selection .msf-header-field {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 0 15px;
}

.msf-header-with-selection .msf-header-selection {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.msf-step-1 .msf-step-container {
	display: grid; 
	grid-template-columns: repeat(2, 1fr);
	gap: 0 25px;
	overflow: visible;
}

@media screen and (max-width: 1250px) {
	.msf-step-1 .msf-step-container {
		display: flex;
		flex-direction: column;
	}
}



.msf-step h3,
.msf-conditional-section h4 {
	display: block;
	width: 100%;
    color: #333;
    font-size: 18px;
    font-weight: 700;
	margin: 0;
}

.msf-step-1 h3 {
	grid-column: span 2;
}

.msf-conditional-item:hover {
    border-color: #00a2d3;
}

.msf-conditional-item.selected {
    border-color: #00a2d3;
    background: #f0f8ff;
}

.msf-conditional-item .msf-field-label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.msf-conditional-item .msf-field-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}



.msf-conditional-item input[type="radio"] {
}

/* STARE STYLE dla kompatybilności */
.msf-conditional-field {
    margin-bottom: 20px;
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: white;
}

.msf-conditional-field:hover {
    border-color: #00a2d3;
}

.msf-conditional-field.selected {
    border-color: #00a2d3;
    background: #f0f8ff;
}

.msf-conditional-field .field-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.msf-conditional-field .field-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}



.msf-conditional-field input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    position: relative;
    margin-right: 15px;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.msf-conditional-field input[type="radio"]:checked {
    border-color: #007cba;
    background-color: #007cba;
}

.msf-conditional-field input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
}

.msf-conditional-field input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.2);
}

/* Standardowe pola formularza */
.msf-step p {
    margin-bottom: 20px;
}

.msf-step label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.msf-step input[type="text"],
.msf-step input[type="email"],
.msf-step input[type="tel"],
.msf-step textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.msf-step input[type="text"]:focus,
.msf-step input[type="email"]:focus,
.msf-step input[type="tel"]:focus,
.msf-step textarea:focus {
    outline: none;
    border-color: #00a2d3;

}

.msf-step textarea {
    resize: vertical;
    min-height: 100px;
}

/* Nawigacja kroków */
.msf-step-navigation {
    margin-top: 30px;
    text-align: center;
    padding-top: 20px;
}

.msf-step-nav-btn:hover {
    background: #0a4e95;

}

.msf-step-nav-btn:active {

}

.msf-step-nav-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.msf-step-nav-btn.prev {
    background: #6c757d;
}

.msf-step-nav-btn.prev:hover {
    background: #545b62;
}

.msf-step-nav-btn.submit {
    background: #00a2d3;
}

.msf-step-nav-btn.submit:hover {
    background: #0a4e95;
}

.msf-step-nav-btn.next {
    display: inline-block;
}

/* Kolumna podsumowania */
.msf-summary-column h3 {
    color: #333;
    margin-bottom: 20px;
	margin-top: 0 !important;
	padding: 0 !important;
    font-size: 24px;
    font-weight: 600;
}

.msf-summary-content {
    margin-bottom: 20px;
    font-size: 14px;
}

/* Style dla .msf-summary-item usunięte - elementy nie są już używane */

.msf-total-price {
	margin-top: 25px;
    padding: 25px 0 0 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
    font-size: 18px;
}

.msf-total-price .price-amount {
    color: #00a2d3;
    font-size: 24px;
}

.msf-total-price .price-amount small {
    color: #000;
    font-weight: 400;
    font-size: 16px;
}

.msf-total-price .msf-vat-info {
    margin: 10px 0 0 0;
    font-size: 14px;
    color: #666;
    font-style: italic;
    display: none; /* Domyślnie ukryty */
}

/* Style dla kroku 2 - układ dwukolumnowy */
.msf-step-2 .msf-step-container {
}

/* Ostatnie pole na całą szerokość przy nieparzystej liczbie */
.msf-step-2 .msf-field-group:last-child:nth-child(even) {
    grid-column: span 2;
}

/* Style dla labeli z obramówką */
.msf-step-2 .msf-field-group label {
    display: block;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    background: #fff;
    transition: border-color 0.3s ease;
}

.msf-step-2 .msf-field-group label:hover {
    border-color: #00a2d3;
}

/* Nagłówek pola (pogrubiony) */
.msf-step-2 .msf-field-group label {
    font-weight: 700;
    color: #333;
    font-size: 16px;
}

/* Pole input bez tła i obramowania */
.msf-step-2 input[type="text"],
.msf-step-2 input[type="email"],
.msf-step-2 input[type="tel"],
.msf-step-2 textarea {
    background: transparent;
    border: none;
    padding: 8px 0;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
}

.msf-step-2 input[type="text"]:focus,
.msf-step-2 input[type="email"]:focus,
.msf-step-2 input[type="tel"]:focus,
.msf-step-2 textarea:focus {
    border: none;
    outline: none;
}

/* Style dla select w kroku 2 */
.msf-step-2 .custom-dropdown select {
    background: transparent;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    font-weight: 700;
    color: #333;
    font-size: 16px;
}

.msf-step-2 .custom-dropdown select:hover {
    border-color: #00a2d3;
}

/* Style dla walidacji pól */
.msf-field-error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: block;
    font-weight: 500;
}

input.error,
textarea.error,
select.error {
    border-color: #dc3545 !important;

    background-color: rgba(220, 53, 69, 0.05);
}

input.error:focus,
textarea.error:focus,
select.error:focus {
    border-color: #dc3545 !important;

}

/* Animacja dla komunikatów błędów */
.msf-field-error {
    animation: slideInError 0.3s ease;
}

@keyframes slideInError {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Komunikaty sukcesu */
.msf-success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    font-weight: 500;
    text-align: center;
}

/* Komunikaty błędów ogólnych */
.msf-error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    font-weight: 500;
    text-align: center;
}

/* Style dla usług z ikonkami i podtytułami */
.msf-service-item {
    margin-bottom: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.msf-service-item:hover {
    border-color: #0693e3;
}

.msf-service-item label.checked {
    border-color: #0693e3;
    background: linear-gradient(135deg, rgba(6, 147, 227, 0.05) 0%, rgba(17, 66, 139, 0.05) 100%);
}

.msf-service-item.msf-field-type-header {
	grid-column: span 2;
	border: none !important;
	background: transparent !important;
	transform: none !important;
}

.msf-service-item.msf-field-type-header:hover {
	border: none !important;
	background: transparent !important;
	transform: none !important;
}

/* Style dla zwiniętych headerów poziomu 0 */
.msf-service-item.msf-field-type-header.msf-header-with-selection {
	background: #f8f9fa !important;
	border: 1px solid #e9ecef !important;
	border-radius: 8px !important;
	padding: 15px 0 !important;
	transition: all 0.3s ease !important;
}

.msf-service-item.msf-field-type-header.msf-header-with-selection:hover {
	background: #e9ecef !important;
	border-color: #00a2d3 !important;
}

.msf-service-item.msf-field-type-header label {
	border: none !important;
	background: transparent !important;
	padding: 0 !important;
}

.msf-service-item.msf-field-type-header label:hover {
	border: none !important;
	background: transparent !important;
}

.msf-conditional-item.msf-field-type-header {
	grid-column: span 2;
	padding: 0;
	cursor: default;
	background: unset;
	border: 0;
}

.msf-conditional-item.msf-field-type-header label {
	border: none !important;
	background: transparent !important;
	padding: 0 !important;
}

.msf-conditional-item.msf-field-type-header label:hover {
	border: none !important;
	background: transparent !important;
}

.msf-main-service {
	height: 100%;
}

.msf-main-service:hover {
	
}

.msf-main-service label {
    cursor: pointer;
    display: flex;
    align-items: center;
    margin: 0;
    width: 100%;
	height: 100%;
    padding: 15px;
    box-sizing: border-box;
	transition: all 0.2s ease;
}

.msf-main-service label:hover {
	background: #f8f9ff;
    border-radius: 8px;
}

.msf-service-item.active .msf-main-service label {
    border-color: #0693e3;
    background: linear-gradient(135deg, rgba(6, 147, 227, 0.1) 0%, rgba(17, 66, 139, 0.1) 100%);
}

.msf-service-item.active .msf-main-service label span {
    color: #0693e3;
    font-weight: 600;
}

.msf-main-service input {
}

/* Style dla checkboxów */
.msf-checkbox-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    margin: 0;
    width: 100%;
    height: 100%;
    padding: 15px;
    box-sizing: border-box;
    transition: all 0.2s ease;
    position: relative;
}

.msf-checkbox-label:hover {
    background: #f8f9ff;
    border-radius: 8px;
}

.msf-main-checkbox {
    position: absolute;
    visibility: hidden;
}

.msf-checkbox-indicator {
    width: 40px;
    height: 22px;
    background: #e0e0e0;
    border-radius: 13px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    cursor: pointer;
    border: none;
}

.msf-checkbox-indicator::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.msf-main-checkbox:checked + .msf-checkbox-indicator {
    background: #00a2d3;
}

.msf-main-checkbox:checked + .msf-checkbox-indicator::after {
    transform: translateX(20px);
}

/* Dodatkowy selektor dla przypadków gdy struktura HTML jest inna */
.msf-checkbox-label:has(.msf-main-checkbox:checked) .msf-checkbox-indicator {
    background: #00a2d3;
}

.msf-checkbox-label:has(.msf-main-checkbox:checked) .msf-checkbox-indicator::after {
    transform: translateX(20px);
}

/* Selektor używający klasy dodawanej przez JavaScript */
.msf-checkbox-label.checked .msf-checkbox-indicator {
    background: #00a2d3;
}

.msf-checkbox-label.checked .msf-checkbox-indicator::after {
    transform: translateX(20px);
}

.msf-checkbox-label:hover .msf-checkbox-indicator {
    background-color: #999
}

/* Style dla zaznaczonych checkboxów */
.msf-service-item:has(.msf-main-checkbox:checked) {
    border-color: #0693e3;
    background: linear-gradient(135deg, rgba(6, 147, 227, 0.05) 0%, rgba(17, 66, 139, 0.05) 100%);
}

.msf-service-item:has(.msf-main-checkbox:checked) .msf-service-title {
    color: #0693e3;
    font-weight: 600;
}

.msf-service-content {
    display: flex;
	width: 100%;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.msf-service-content-wrapper {
	width: 100%;
}

.msf-display-left .msf-service-content-wrapper {
	display: grid; 
	grid-template-columns: 70px auto; 
	gap: 20px 20px; 
	align-items: center;
}

.msf-service-icon {
    font-size: 24px;
    min-width: 40px;
    text-align: center;
}

.msf-display-left .msf-service-icon {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	padding: 12px;
	border-radius: 8px;
	background: #f8f9ff;
	box-sizing: border-box;
}

.msf-service-icon img {
	display: block;
   width: 100%;
   height: 100%;
   object-fot: contain;
}

label.checked .msf-display-left .msf-service-icon {
	background: transparent;
}

label.checked .msf-display-left .msf-service-icon img {
	filter: brightness(0) saturate(100%) invert(81%) sepia(97%) saturate(11%) hue-rotate(189deg) brightness(104%) contrast(103%);
}

.msf-service-text {
    flex: 1;
}

.msf-service-title {
    display: block;
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.msf-service-subtitle {
    display: block;
    font-size: 14px;
    color: #666;
    margin-top: 2px;
	font-weight: 400;
}

label.checked .msf-service-title {
	color: #fff;
}


label.checked .msf-service-subtitle {
	color: #fff;
	opacity: 0.7;
}



.msf-field-header {
	display: block;
    width: 100%;
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
	text-align: left;
}

/* Style dla pól warunkowych - do 5 poziomów */
.msf-conditional-fields {
    transition: all 0.4s ease;
}


.msf-conditional-item {
    margin-bottom: 12px;
    position: relative;
    overflow: visible;
}

.msf-conditional-item.msf-has-graphic input {
	position: absolute !important;
	visibility: hidden; !important;
}

.msf-conditional-item.msf-graphic-top label {
	padding: 0;
	overflow: hidden;
	
	display: flex;
	flex-direction: column;
	align-items: center;
}

	.msf-conditional-item.msf-graphic-top label .msf-field-content {
		display: block;
		padding: 15px 0;
		
	}
	
	.msf-conditional-item.msf-graphic-top .msf-service-graphic-top {
		display: block;
		width: 100%;
		height: auto;
	}
	
	.msf-conditional-item.msf-graphic-top .msf-service-graphic-top .msf-service-icon {
		display: block;
		width: 100%;
		height: 100%;
		aspect-ratio: 600 / 400;
	}
	
		.msf-conditional-item.msf-graphic-top .msf-service-graphic-top .msf-service-icon img {
			display: block;
			width: 100%;
			height: 100%;
			object-fit: cover;
			object-position: 50% 50%;
		}

.msf-conditional-item:last-child {
    margin-bottom: 0;
}

.msf-conditional-item label {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    cursor: pointer;
    padding: 15px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
    position: relative;
}

.msf-conditional-item label:hover {
    border-color: #0693e3;
    background: #f8f9ff;
}

.msf-conditional-item label .msf-field-label {
    display: block;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

.msf-conditional-item label .msf-field-subtitle {
    display: block;
    font-size: 14px;
    color: #666;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 6px;
}



/* Stylowane radio buttony */
.msf-conditional-item input[type="checkbox"] {
    position: absolute;
    visibility: hidden;
}
}
.msf-conditional-item input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    position: relative;
    margin-right: 15px;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.msf-conditional-item input[type="radio"]:checked {
    border-color: #007cba;
    background-color: #007cba;
}

.msf-conditional-item input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
}

.msf-conditional-item input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.2);
}

.msf-conditional-item input:checked + .msf-checkbox-indicator {
    background: #00a2d3;
}

.msf-conditional-item input:checked + .msf-checkbox-indicator::after {
    transform: translateX(18px);
}

.msf-conditional-item input:checked + .msf-checkbox-label .msf-service-text,
.msf-conditional-item input:checked + .msf-checkbox-label .msf-radio-text,
.msf-conditional-item input:checked + .msf-checkbox-label .msf-field-label {
    color: #00a2d3;
    font-weight: 600;
}

/* Style dla przełączników w polach warunkowych z klasą checked (dodawaną przez JavaScript) */
.msf-conditional-item .msf-checkbox-label.checked .msf-checkbox-indicator {
    background: #00a2d3;
}

.msf-conditional-item .msf-checkbox-label.checked .msf-checkbox-indicator::after {
    transform: translateX(18px);
}

/* Style dla pól osobowych z ikonkami */
.msf-field-icon {
    display: inline-block;
    margin-right: 8px;
    font-size: 16px;
    color: #00a2d3;
}

.msf-field-subtitle {
    display: block;
    font-size: 12px;
    color: #666;
    font-weight: normal;
    margin-top: 2px;
}

/* Style dla sekcji podsumowania */
.msf-summary-section {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.msf-summary-section h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
}

.msf-summary-section ul {
    margin: 0;
    padding-left: 20px;
}

.msf-summary-section ul ul {
    margin-top: 5px;
    padding-left: 15px;
}

.msf-summary-section li {
    margin-bottom: 5px;
}

/* Style dla przycisku wstecz na górze kroku 2 */
.msf-top-back {
    background: none;
    border: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    padding: 10px 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.msf-top-back:hover {
    color: #007cba;
}

/* Animacje ładowania */
.msf-loading {
    opacity: 0.7;
    pointer-events: none;
}

.msf-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #00a2d3;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Animacje dla pól warunkowych */
.msf-conditional-section {
    display: none !important;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-out, padding 0.4s ease-out;
    padding: 0;
}

.msf-conditional-section.msf-show {
    max-height: 2000px !important;
    opacity: 1 !important;
    display: block !important;
    padding: 15px 0;
    animation: slideDown 0.4s ease-out;
}

/* Accordion - collapsed state - musi być po msf-show aby nadpisać */
.msf-conditional-section.msf-collapsed {
    max-height: 60px !important;
    opacity: 1 !important;
    display: block !important;
    padding: 0 !important;
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-radius: 8px !important;
    margin: 10px 0 !important;
    transition: all 0.3s ease !important;
    animation: none !important;
}

.msf-conditional-section.msf-collapsed:hover {
    background: #e9ecef;
    border-color: #00a2d3;
}

/* Nagłówek dla collapsed state */
.msf-section-header {
    display: none;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 16px;
    color: #495057;
    position: relative;
    align-items: center;
    justify-content: space-between;
}

.msf-conditional-section.msf-collapsed .msf-section-header {
    display: flex;
}

.msf-section-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.msf-section-checkmark {
    width: 20px;
    height: 20px;
    background: #3555ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.msf-section-title {
    color: #495057;
}

.msf-section-selected {
    color: #6c757d;
    font-size: 14px;
    font-weight: normal;
}

.msf-section-expand {
    background: #00a2d3;
	color: #fff;
	padding: 7px 15px;
	border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;
	transition: all 0.2s ease;
}

.msf-section-expand:hover {
    background: #3555ff;
	transition: all 0.2s ease;
}

/* Ukryj zawartość w collapsed state */
.msf-conditional-section.msf-collapsed .msf-conditional-fields {
    display: none !important;
}

/* Style dla głównej sekcji usług w collapsed state */
.msf-step.msf-collapsed {
    max-height: 60px !important;
    overflow: hidden !important;
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-radius: 8px !important;
    margin: 10px 0 !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
}

.msf-step.msf-collapsed .msf-section-header {
    display: flex !important;
}

.msf-step.msf-collapsed .msf-step-container {
    /* display: none !important; */
}

/* Style dla nowych zwiniętych sekcji z headerami */
.msf-section-collapsed {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 0 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.msf-section-collapsed:hover {
    background: #e9ecef;
    border-color: #00a2d3;
}

.msf-header-with-selection {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.msf-header-with-selection:hover {
    background: #e9ecef;
    border-color: #00a2d3;
}

.msf-section-collapsed .msf-conditional-item.msf-show {
    margin-bottom: 0 !important;
}

.msf-header-selection {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    gap: 15px;
}

.msf-header-field .msf-header-selection {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.msf-header-field {
    display: flex;
    flex-direction: column;
    padding: 0 15px;
}

.msf-header-field .msf-service-header {
	padding-top: 0;
}

.msf-selected-options {
    color: #495057;
    font-weight: 500;
    flex: 1;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.msf-edit-btn {
    background: #00a2d3;
    color: #fff;
    padding: 6px 12px;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.msf-edit-btn:hover {
    background: #3555ff;
    transition: all 0.2s ease;
    transform: translateY(-1px);
}

.msf-edit-btn:active {
    transform: translateY(0);
}

/* Style dla zwiniętych checkboxów */
.msf-collapsed-checkboxes {
    width: 100%;
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.msf-collapsed-checkbox {
    display: flex;
    align-items: center;
}

.msf-collapsed-checkbox .msf-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #495057;
    margin: 0;
}

.msf-collapsed-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

.msf-collapsed-checkbox .msf-checkbox-indicator {
    width: 32px;
    height: 18px;
    background: #e0e0e0;
    border-radius: 9px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.msf-collapsed-checkbox .msf-checkbox-indicator::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.msf-collapsed-checkbox input[type="checkbox"]:checked + .msf-checkbox-indicator {
    background: #00a2d3;
}

.msf-collapsed-checkbox input[type="checkbox"]:checked + .msf-checkbox-indicator::after {
    transform: translateX(14px);
}

/* Selektor używający klasy dodawanej przez JavaScript dla zwiniętych checkboxów */
.msf-collapsed-checkbox .msf-checkbox-label.checked .msf-checkbox-indicator {
    background: #00a2d3;
}

.msf-collapsed-checkbox .msf-checkbox-label.checked .msf-checkbox-indicator::after {
    transform: translateX(14px);
}

.msf-collapsed-checkbox input[type="checkbox"]:checked + .msf-checkbox-indicator + .msf-field-label {
    color: #00a2d3;
}

.msf-collapsed-checkbox .msf-field-label {
    flex: 1;
    cursor: pointer;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideDown {
    from {
        max-height: 0;
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        max-height: 2000px;
        opacity: 1;
        transform: translateY(0);
    }
}

.msf-conditional-section.msf-level-1 {
	margin: 15px 0;
}

.msf-conditional-fields.msf-level-1 {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr); 
	gap: 0 25px; 
}

@media screen and (max-width: 1250px) {
	.msf-conditional-fields.msf-level-1 {
		display: flex !important;
		flex-direction: column;
	}
}

/* Animacje dla przycisku nawigacji */
.msf-step-nav-btn {
    background: #00a2d3;
    color: white;
    border: none;
    padding: 15px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin: 15px 0 0 0;
    transition: all 0.3s ease;
    width: 100%;
    min-width: 120px;
}

.msf-step-nav-btn.next {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.msf-step-nav-btn.msf-show {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animacje dla elementów pól warunkowych */
.msf-conditional-item {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s ease;
    visibility: hidden;
    height: 0;
    margin-bottom: 0;
}

/* Pokazuj tylko pola z klasą msf-show */
.msf-conditional-item.msf-show {
    visibility: visible !important;
    display: block !important;
    height: auto;
    margin-bottom: 20px;
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Opóźnienia animacji dla kolejnych elementów */
.msf-conditional-section.msf-show .msf-conditional-item.msf-show:nth-child(1) {
    transition-delay: 0.05s;
}

.msf-conditional-section.msf-show .msf-conditional-item.msf-show:nth-child(2) {
    transition-delay: 0.1s;
}

.msf-conditional-section.msf-show .msf-conditional-item.msf-show:nth-child(3) {
    transition-delay: 0.15s;
}

.msf-conditional-section.msf-show .msf-conditional-item.msf-show:nth-child(4) {
    transition-delay: 0.2s;
}

.msf-conditional-section.msf-show .msf-conditional-item.msf-show:nth-child(5) {
    transition-delay: 0.25s;
}

.msf-conditional-section.msf-show .msf-conditional-item.msf-show:nth-child(6) {
    transition-delay: 0.3s;
}

.msf-conditional-section.msf-show .msf-conditional-item.msf-show:nth-child(7) {
    transition-delay: 0.35s;
}

.msf-conditional-section.msf-show .msf-conditional-item.msf-show:nth-child(8) {
    transition-delay: 0.4s;
}

/* Komunikaty */
.msf-message {
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
    font-weight: 600;
}

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

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

.msf-message.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Style dla zaznaczonych radio buttonów */
label.checked {
    background-color: #e3f2fd;
    border-color: #2196f3;
}

.msf-conditional-item label.checked {
    background: linear-gradient(135deg, #0693e3 0%, #00a2d3 100%);
    border-color: #0693e3;
}

.msf-conditional-item label.checked .msf-field-label {
    color: #0693e3;
    font-weight: 600;
}

.msf-conditional-item label.checked .msf-field-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.msf-conditional-item label.checked .msf-field-price {
    color: #fff;
    font-weight: bold;
}

/* Style dla aktywnych elementów warunkowych */
.msf-conditional-item.active {
    border-color: #0693e3;
}

.msf-conditional-item.active label {
    background: linear-gradient(135deg, rgba(6, 147, 227, 0.1) 0%, rgba(17, 66, 139, 0.1) 100%);
}

.msf-conditional-item .msf-field-label input:checked + span + span {
    color: #0693e3;
    font-weight: 600;
}


.msf-service-item label.checked {
    background-color: #0693e3;
    border-color: #0693e3;
	color: #fff;
}

/* Style dla różnych układów grafiki w polach warunkowych */

/* Układ grafiki na górze */
.msf-conditional-item.msf-display-top label {
    flex-direction: column;
    text-align: center;
    padding: 20px 15px;
}

.msf-conditional-item.msf-display-top .msf-field-graphic-top {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.msf-conditional-item.msf-display-top .msf-field-graphic-top img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
}

.msf-conditional-item.msf-display-top .msf-field-content {
    width: 100%;
}

.msf-conditional-item.msf-display-top input[type="radio"] {
    position: absolute;
    top: 10px;
    right: 10px;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.msf-conditional-item.msf-display-top input[type="radio"]:checked {
    border-color: #007cba;
    background-color: #007cba;
}

.msf-conditional-item.msf-display-top input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
}

/* Układ grafiki po lewej stronie */
.msf-conditional-item.msf-display-left label {
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.msf-conditional-item.msf-display-left .msf-field-graphic-left {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 8px;
    box-sizing: border-box;
}

.msf-conditional-item.msf-display-left .msf-field-graphic-left img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.msf-conditional-item.msf-display-left .msf-field-content {
    flex: 1;
}

.msf-conditional-item.msf-display-left input[type="radio"] {
    order: -1;
    margin-right: 15px;
    margin-left: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.msf-conditional-item.msf-display-left input[type="radio"]:checked {
    border-color: #007cba;
    background-color: #007cba;
}

.msf-conditional-item.msf-display-left input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
}

/* Style dla pól bez grafiki - radio button po lewej */
.msf-conditional-item:not(.msf-display-top):not(.msf-display-left) input[type="radio"] {
    order: -1;
    margin-right: 15px;
    margin-left: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.msf-conditional-item:not(.msf-display-top):not(.msf-display-left) input[type="radio"]:checked {
    border-color: #007cba;
    background-color: #007cba;
}

.msf-conditional-item:not(.msf-display-top):not(.msf-display-left) input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
}

/* Kontener dla treści pola */
.msf-conditional-item .msf-field-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: visible;
}

.msf-conditional-item .msf-field-group {
    overflow: visible;
}

/* Układ treści w polach z grafiką po lewej */
.msf-conditional-item.msf-display-left .msf-field-content {
    justify-content: center;
}

/* Układ treści w polach z grafiką na górze */
.msf-conditional-item.msf-display-top .msf-field-content {
    align-items: center;
    text-align: center;
}

/* Style dla głównych usług z różnymi układami */
.msf-service-item.msf-display-top .msf-service-content {
    flex-direction: column;
    text-align: center;
}

.msf-service-item.msf-display-top .msf-service-graphic-top {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.msf-service-item.msf-display-left .msf-service-content {
    flex-direction: row;
    align-items: center;
}

.msf-service-item.msf-display-left .msf-service-graphic-left {
    margin-right: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Niestandardowy dropdown - usunięty */

/* Customowy select - główny kontener */
.msf-custom-select {
    position: relative;
    display: inline-block;
    width: 100%;
    font-family: inherit;
}

/* Przycisk selecta */
.msf-select-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.msf-select-button:hover {
    border-color: #0693e3;
}

.msf-custom-select.open .msf-select-button {
    border-color: #0693e3;
    border-bottom: 1px solid #ccc;
    border-radius: 8px 8px 0 0
}

/* Tekst selecta */
.msf-select-text {
    flex: 1;
    text-align: left;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.msf-custom-select:not(.has-selection) .msf-select-text {
    color: #999;
    font-style: italic;
}

/* Strzałka */
.msf-select-arrow {
    margin-left: 8px;
    color: #666;
    transition: transform 0.2s ease;
    font-size: 12px;
}

.msf-custom-select.open .msf-select-arrow {
    transform: rotate(180deg);
}

/* Dropdown */
.msf-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #0693e3;
    border-top: none;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

/* Dropdown portal - niezależny element w body */
.msf-dropdown-portal {
    position: fixed !important;
    background: #ffffff;
    border-radius: 0 0 8px 8px;
    z-index: 99999 !important;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    box-sizing: border-box;
    min-width: 200px;
}

.msf-custom-select.open .msf-select-dropdown {
    display: block;
}

/* Opcje w dropdown */
.msf-select-option {
    padding: 10px 16px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.msf-select-option:last-child {
    border-bottom: none;
}

.msf-select-option:hover {
    background-color: #f8f9fa;
}

.msf-select-option.selected {
    background-color: #0693e3;
    color: #ffffff;
}

.msf-select-option.selected:hover {
    background-color: #005a87;
}

/* Cena w opcji */
.msf-option-price {
    font-size: 14px;
    font-weight: 500;
    color: #28a745;
    margin-left: 8px;
}

.msf-select-option.selected .msf-option-price {
    color: #ffffff;
}

/* Scrollbar dla dropdown */
.msf-select-dropdown::-webkit-scrollbar {
    width: 6px;
}

.msf-select-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.msf-select-dropdown::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.msf-select-dropdown::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Animacje */
@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.msf-custom-select.open .msf-select-dropdown {
    animation: dropdownFadeIn 0.2s ease;
}

/* Rozróżnienie placeholder od wybranej opcji */
.msf-select-text {
    font-style: italic; /* Placeholder jest pochylony */
    color: #9ca3af; /* Szary kolor dla placeholder */
}

.msf-select-text.has-selection {
    font-style: normal !important;
    font-weight: bold !important;
    color: #0693e3 !important;
}

/* Focus states dla accessibility */
.msf-select-button:focus {
    outline: none;
    border-color: #0693e3;
    box-shadow: 0 0 0 3px rgba(6, 147, 227, 0.2);
}

.msf-select-option:focus {
    outline: none;
    background-color: #e3f2fd;
}

/* Piękne natywne selecty - nowoczesny design */
.msf-native-select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    font-size: 16px;
    font-weight: 400;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-height: 48px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
}

.msf-native-select:hover {
    border-color: #d1d5db;
}

.msf-native-select:focus {
    outline: none;
    border-color: #3b82f6;
}

.msf-native-select:active {
    border-color: #1d4ed8;
}

.msf-native-select option {
    padding: 12px 16px;
    background: #ffffff;
    color: #374151;
    font-weight: 400;
    font-size: 16px;
    border: none;
}

.msf-native-select option:hover {
    background: #f3f4f6;
    color: #111827;
}

.msf-native-select option:checked,
.msf-native-select option:selected {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 500;
}

/* Piękny placeholder */
.msf-native-select.placeholder-selected {
    color: #9ca3af !important;
    font-style: italic;
    font-weight: 400 !important;
}

.msf-native-select option[disabled] {
    background: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Dodatkowe stylowanie dla dropdown opcji */
.msf-native-select {
    /* Dodatkowe właściwości dla lepszego wyglądu dropdown */
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* Stylowanie dla Firefox */
@-moz-document url-prefix() {
    .msf-native-select {
        padding-right: 30px;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
        background-position: right 8px center;
        background-size: 12px;
    }
}

/* Stylowanie dla WebKit (Chrome, Safari) */
.msf-native-select::-webkit-scrollbar {
    width: 8px;
}

.msf-native-select::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.msf-native-select::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.msf-native-select::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Dodatkowe style dla opcji w różnych stanach */
.msf-native-select option:focus {
    background: #dbeafe;
    color: #1e40af;
    outline: none;
}

/* Grupowanie opcji */
.msf-native-select optgroup {
    font-weight: 600;
    color: #374151;
    background: #f9fafb;
    padding: 8px 12px;
    font-size: 14px;
}

.msf-native-select optgroup option {
    padding-left: 24px;
    font-weight: 400;
}

/* Stan disabled */
.msf-native-select:disabled {
    background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Stan invalid */
.msf-native-select:invalid {
    border-image: linear-gradient(45deg, #f56565, #fc8181) 1;
    background: linear-gradient(145deg, #fff5f5 0%, #fed7d7 100%);
}

/* Animacje ładowania */
@keyframes selectPulse {
    0% { 
        transform: scale(1);
    }
    50% { 
        transform: scale(1.01);
    }
    100% { 
        transform: scale(1);
    }
}

@keyframes selectGlow {
    0%, 100% { 
        opacity: 1;
    }
    50% { 
        opacity: 0.8;
    }
}

.msf-native-select.loading {
    animation: selectPulse 2s ease-in-out infinite;
}

.msf-native-select.glowing {
    animation: selectGlow 3s ease-in-out infinite;
}

.custom-dropdown-button {
    width: 100%;
    padding: 20px 15px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #333;
	font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    text-align: left;
    position: relative;
    transition: all 0.3s ease;
}

.custom-dropdown-button:hover {
    border-color: #00a2d3;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
}

.custom-dropdown-button:focus {
    outline: none;
    border-color: #00a2d3;
}

.custom-dropdown-button.open {
    border-color: #00a2d3;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 100%);
}

.custom-dropdown-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #333;
    transition: transform 0.3s ease;
    pointer-events: none;
    z-index: 10;
    display: block !important;
}

/* Alternatywna strzałka jako pseudo-element */
.custom-dropdown-button::after {
    content: '▼';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
    font-size: 14px;
    transition: transform 0.3s ease;
    pointer-events: none;
    z-index: 11;
}

.custom-dropdown-button:hover .custom-dropdown-arrow {
    border-top-color: #333;
}

.custom-dropdown-button:hover::after {
    color: #000;
}

.custom-dropdown-button.open .custom-dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.custom-dropdown-button.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.custom-dropdown-button.open:hover .custom-dropdown-arrow {
    border-top-color: #333;
}

.custom-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #00a2d3;
    border-top: none;
    border-radius: 0 0 6px 6px;
    z-index: 9999;
    max-height: 200px;
    overflow-y: auto;
	box-sizing: border-box;
    display: none;
    animation: slideDown 0.3s ease;
}

.custom-dropdown-list.show {
    display: block;
    animation: slideDown 0.3s ease;
}

.custom-dropdown-option {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    font-size: 16px;
    color: #333;
}

.custom-dropdown-option:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #00a2d3;
    padding-left: 20px;
}

.custom-dropdown-option:last-child {
    border-bottom: none;
}

.custom-dropdown-option.selected {
    background: linear-gradient(135deg, #00a2d3 0%, #0056b3 100%);
    color: #fff;
    font-weight: 600;
    position: relative;
}

.custom-dropdown-option.selected::after {
    content: '✓';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
}

/* Niestandardowy scrollbar */
.custom-dropdown-list::-webkit-scrollbar {
    width: 4px;
}

.custom-dropdown-list::-webkit-scrollbar-track {
    border-radius: 6px;
}

.custom-dropdown-list::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00a2d3 0%, #0056b3 100%);
    border-radius: 4px;
}

.custom-dropdown-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
}

/* Animacje */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Style dla przycisków opcji (zastąpienie pól select) */
.sf-button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.sf-option-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 15px 20px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    color: #374151;
    text-align: left;
    transition: all 0.2s ease;
    min-height: 50px;
    box-sizing: border-box;
}

.sf-option-button:hover {
    border-color: #0693e3;
    background-color: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sf-option-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.sf-option-button.selected {
    border-color: #0693e3;
    background-color: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
    box-shadow: 0 0 0 3px rgba(6, 147, 227, 0.2);
}

.sf-option-button:focus {
    outline: none;
    border-color: #0693e3;
    box-shadow: 0 0 0 3px rgba(6, 147, 227, 0.2);
}

/* Ukryte pole select */
.sf-hidden-select {
    display: none !important;
}

/* Style dla walidacji PESEL */
.msf-form input.msf-error {
    border-color: #d63638 !important;
    box-shadow: 0 0 0 1px #d63638;
}

.msf-pesel-error {
    color: #d63638;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    font-weight: normal;
}

/* Style dla pola telefonu z prefiksem +48 */
.msf-phone-input-wrapper {
    display: flex;
    gap: 6px;
    align-items: center;
    overflow: hidden;
    font-weight: 400;
}

.msf-phone-prefix {
    user-select: none;
    white-space: nowrap;
    font-weight: 400;
}

.msf-phone-field {
    border: none !important;
    outline: none !important;
    flex: 1;
    background: transparent !important;
    box-shadow: none !important;
}

.msf-phone-error {
    color: #d63638;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Style dla błędów walidacji pola telefonu */
.msf-phone-input-wrapper.msf-error,
.msf-phone-field.msf-error {
    border-color: #d63638 !important;
}

.msf-phone-input-wrapper.msf-error {
    box-shadow: 0 0 0 1px #d63638;
}

/* Style dla walidacji - border na labelach, nie na inputach */
.msf-form label.msf-validation-error {
    border-color: #d63638 !important;
}

/* Usuwamy style z inputów */
.msf-form input.msf-validation-error,
.msf-form textarea.msf-validation-error,
.msf-form select.msf-validation-error {

}

.msf-form input.msf-validation-error:focus,
.msf-form textarea.msf-validation-error:focus,
.msf-form select.msf-validation-error:focus {

}

/* Style dla radio buttons z błędem */
.msf-form input[type="radio"].msf-validation-error + label::before {
    border: 2px solid #d63638 !important;
    box-shadow: 0 0 0 1px #d63638;
}

/* Style dla checkboxów z błędem */
.msf-form input[type="checkbox"].msf-validation-error + label::before {
    border: 2px solid #d63638 !important;
    box-shadow: 0 0 0 1px #d63638;
}

/* Style dla grup płatności z błędem */
.msf-payment-methods-group.msf-validation-error {
    border: 1px solid #d63638 !important;
}

/* Style dla grup radio buttons z błędem */
.msf-radio-group.msf-validation-error {
    border: 2px solid #d63638;
    border-radius: 4px;
    padding: 10px;
    background-color: rgba(214, 54, 56, 0.05);
}

/* Style dla grup checkboxów z błędem */
.msf-checkbox-group.msf-validation-error {
    border: 2px solid #d63638;
    border-radius: 4px;
    padding: 10px;
    background-color: rgba(214, 54, 56, 0.05);
}

/* Czerwony tekst dla checkboxów zgód */
.msf-consent-label.msf-validation-error {
    color: #d63638 !important;
}

.msf-consent-label.msf-validation-error .msf-consent-text {
    color: #d63638 !important;
}

/* Komunikaty błędów */
.msf-validation-error-message {
    color: #d63638;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    font-weight: 500;
    animation: slideInValidationError 0.3s ease;
}

@keyframes slideInValidationError {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Style dla sekcji danych osobowych */
.msf-personal-data-section {
    margin-bottom: 30px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr); 
}

.msf-personal-data-section h3 {
    grid-column: span 2;
    font-size: 24px;
}

/* Style dla checkbox VAT - zachowaj standardowy wygląd */
/* Style dla przełączników toggle w kroku 2 */
.msf-step-2 .msf-installment-checkbox-label,
.msf-step-2 .msf-vat-checkbox-label {
    cursor: pointer;
    margin: 0 !important;
    color: #333;
    font-size: 24px;
    font-weight: 700;
    position: relative;
    background-color: unset;
}

/* Ukryj oryginalny checkbox */
.msf-step-2 .msf-installment-checkbox-label input[type="checkbox"],
.msf-step-2 .msf-vat-checkbox-label input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

/* Stwórz przełącznik toggle - tło */
.msf-step-2 .msf-installment-checkbox-label::before,
.msf-step-2 .msf-vat-checkbox-label::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 23px;
    background: #ddd;
    border-radius: 30px;
    margin-right: 15px;
    position: relative;
    transition: all 0.3s ease;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Kulka przełącznika */
.msf-step-2 .msf-installment-checkbox-label::after,
.msf-step-2 .msf-vat-checkbox-label::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Stan aktywny przełącznika */
.msf-step-2 .msf-installment-checkbox-label input[type="checkbox"]:checked ~ *,
.msf-step-2 .msf-installment-checkbox-label:has(input[type="checkbox"]:checked)::before,
.msf-step-2 .msf-vat-checkbox-label input[type="checkbox"]:checked ~ *,
.msf-step-2 .msf-vat-checkbox-label:has(input[type="checkbox"]:checked)::before {
    background: #00a2d3;
}

.msf-step-2 .msf-installment-checkbox-label:has(input[type="checkbox"]:checked)::after,
.msf-step-2 .msf-vat-checkbox-label:has(input[type="checkbox"]:checked)::after {
    transform: translateX(16px);
}

/* Fallback dla starsze przeglądarki bez :has() */
.msf-step-2 .msf-installment-checkbox-label.checked::before,
.msf-step-2 .msf-vat-checkbox-label.checked::before {
    background: #00a2d3;
}

.msf-step-2 .msf-installment-checkbox-label.checked::after,
.msf-step-2 .msf-vat-checkbox-label.checked::after {
    transform: translateY(-50%) translateX(30px);
}

/* Hover effect */
.msf-step-2 .msf-installment-checkbox-label:hover::before,
.msf-step-2 .msf-vat-checkbox-label:hover::before {
    background: #999;
}

.msf-step-2 .msf-installment-checkbox-label:hover:has(input[type="checkbox"]:checked)::before,
.msf-step-2 .msf-vat-checkbox-label:hover:has(input[type="checkbox"]:checked)::before,
.msf-step-2 .msf-installment-checkbox-label.checked:hover::before,
.msf-step-2 .msf-vat-checkbox-label.checked:hover::before {
    background: #0088bb;
}

/* Focus state */
.msf-step-2 .msf-installment-checkbox-label:focus-within::before,
.msf-step-2 .msf-vat-checkbox-label:focus-within::before {
    outline: 2px solid #00a2d3;
    outline-offset: 2px;
}

/* Specjalne style dla sekcji VAT */
.msf-vat-checkbox-section {
    margin: 20px 0;
}

/* Style dla sekcji faktury VAT */
.msf-invoice-section {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; 
}

.msf-invoice-section .msf-field-group:nth-of-type(1) {
    grid-column: span 2;
}

.msf-invoice-section .msf-field-group:last-child:nth-child(even) {
    grid-column: span 1;
}

.msf-invoice-section h4 {
    grid-column: span 2;
    display: block;
    width: 100%;
    color: #333;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

/* Pola wymagane w sekcji VAT */
.msf-invoice-section .required {
    position: relative;
}

.msf-invoice-section .required span::after {
    content: " *";
    color: #d63638;
    font-weight: bold;
}

.msf-installment-section {
    padding: 20px;
    box-sizing: border-box;
    background: #f7f7f7;
    margin: 20px 0 0 0;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.msf-installment-section .msf-installment-checkbox-label span {
    color: #0693e3;
    background: unset !important;
}

.msf-installment-section ul {
    font-size: 16px;
    font-weight: 400;
    margin: 5px 0 0 0;
    padding-left: 20px;
    background: unset !important;
}

.msf-payment-methods-section {
    margin: 50px 0
}

.msf-payment-methods-section h3 {
    display: block;
    width: 100%;
    color: #333;
    font-size: 24px;
    font-weight: 700;
    margin: 0 !important;
	padding: 0 !important;
}

.msf-payment-methods-group {
    margin: 20px 0 10px 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background-color: #fafafa;
}

.msf-payment-method-label {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 12px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
}

.msf-payment-method-label:last-child {
    margin-bottom: 0;
}

.msf-payment-method-label:hover {
    border-color: #007cba;
    background-color: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.1);
}

.msf-payment-method-label input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.msf-payment-method-label input[type="radio"]:checked {
    border-color: #007cba;
    background-color: #007cba;
}

.msf-payment-method-label input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
}

.msf-payment-method-label input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.2);
}

.msf-payment-method-text {
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

/* Custom radio buttons dla kroku 1 */
.msf-main-radio {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin: 0 10px 0 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.msf-main-radio:checked {
    border-color: #007cba;
    background-color: #007cba;
}

.msf-main-radio:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
}

.msf-main-radio:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.2);
}

/* Style dla radio opcji w polach radio */
.msf-radio-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 8px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

.msf-radio-option:last-child {
    margin-bottom: 0;
}

.msf-radio-option:hover {
    border-color: #007cba;
    background-color: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.1);
}

.msf-radio-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.msf-radio-option input[type="radio"]:checked {
    border-color: #007cba;
    background-color: #007cba;
}

.msf-radio-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: white;
}

.msf-radio-option input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.2);
}

.msf-radio-option span {
    color: #333;
    font-size: 15px;
    font-weight: 400;
}

/* Sekcja Zgody formalne - poprawione stylowanie */
.msf-consents-section {
    margin: 50px 0 20px 0 !important;
}

.msf-consents-section h3 {
    margin: 0 !important;
    color: #333;
    font-size: 24px;
    font-weight: 700;
    position: relative;
}

.msf-consents-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 0px !important;
    margin-top: 20px;
}

.msf-consent-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    margin-bottom: 10px !important;
}

.msf-consent-item.msf-consent-online-payment {
    display: none;
}

.msf-consent-label {
    display: flex !important;
    align-items: flex-start !important;
    cursor: pointer !important;
    width: 100% !important;
    gap: 15px !important;
    line-height: 1.5 !important;
    padding: 5px 0 !important;
}

.msf-consent-checkbox {
    display: none;
}

.msf-consent-toggle {
    position: relative !important;
    width: 40px !important;
    height: 22px !important;
    background-color: #ddd !important;
    border-radius: 11px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
}

label:hover .msf-consent-toggle {
    background-color: #999 !important;
}

.msf-consent-toggle::after {
    content: '' !important;
    position: absolute !important;
    top: 2px !important;
    left: 2px !important;
    width: 18px !important;
    height: 18px !important;
    background-color: white !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.msf-consent-checkbox:checked + .msf-consent-toggle {
    background-color: #007cba !important;
}

.msf-consent-checkbox:checked + .msf-consent-toggle::after {
    transform: translateX(18px) !important;
}

.msf-consent-checkbox:focus + .msf-consent-toggle {
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.2) !important;
}

.msf-consent-text {
    color: #333 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    flex: 1 !important;
    margin-left: 5px !important;
}

/* Style dla dodatkowego tekstu RODO */
.msf-consent-details {
    margin-top: 0px !important;
    margin-left: 60px !important;
}

.msf-consent-info {
    color: #666 !important;
    font-size: 12px !important;
    font-weight: 300 !important;
    line-height: 1.4 !important;
    display: block !important;
}

/* Style dla linku w tekście zgody */
.msf-consent-link {
    color: #007cba !important;
    text-decoration: underline !important;
    font-weight: 400 !important;
}

.msf-consent-link:hover {
    color: #005a87 !important;
    text-decoration: none !important;
}

.msf-consent-label:hover .msf-consent-toggle {
    background-color: #bbb;
}

.msf-consent-checkbox:checked + .msf-consent-toggle:hover {
    background-color: #005a87;
}

@media screen and (max-width: 1000px) {
	.msf-header-field .msf-service-header {
		font-size: 20px;
	}
	
	.msf-summary-column {
		position: fixed;
		z-index: 999;
		background: #fff;
		bottom: 0;
		left: 0;
		top: unset;
		width: 100%;
		border: 0;
		box-shadow: 0 0 5px 5px rgba(0 0 0 / 0.05);
		padding: 15px 1%;
	}
	
	.msf-summary-column > h3 {
		position: relative;
		display: table;
		font-size: 16px;
		padding: 0 22px 0 0;
		margin: 0 auto 10px auto;
		box-sizing: border-box;
		font-weight: 600;
		text-align: center;
	}
	
		.msf-summary-column > h3:after {
			content: "";
			display: block;
			width: 7px;
			height: 7px;
			
			position: absolute;
			right: 0;
			top: 2px;
			transform: rotate(45deg);
			border-right: 2px solid #bbb;
			border-bottom: 2px solid #bbb;
			transition: all 0.2s ease;
		}
		
		.msf-summary-column.on > h3:after {
			top: 5px;
			transform: rotate(225deg);
			transition: all 0.2s ease;
		}
		
	.msf-summary-column .msf-summary-content {
		max-height: 0;
		overflow: hidden;
		padding: 0 3%;
		margin: 0;
		transition: all 0.2s ease;
	}
	
	.msf-summary-column.on .msf-summary-content {
		max-height: 100vh;
		transition: all 0.2s ease;
	}
	
	.msf-summary-column .msf-summary-content .msf-summary-items {
		padding: 0 0 10px 0;
	}
	
	.msf-total-price {
		margin: 0;
		padding: 10px 3% 0 3%;
		box-sizing: border-box;
		font-size: 15px;
	}
	
		.msf-total-price h3,		
		.msf-total-price span,
		.msf-total-price p {
			font-size: 18px !important;
			margin: 0;
			font-weight: 700;
			padding: 0;
		}
				
		.msf-total-price .msf-vat-info {
			font-size: 12px !important;
			margin: 0;
			font-weight: 500;
			padding: 5px 0 0 0;
			font-style: normal;
		}
		
	.msf-form {
		padding: 20px;
	}
		
	.msf-step-2 .msf-step-container h3,
	.msf-invoice-section h4 {
		font-size: 20px;
	}
		
	.msf-personal-data-section {
		display: flex;
		flex-direction: column;
		gap: 15px 0;
	}
		
	.msf-payment-methods-group {
		padding: 10px;
	}
	
	.msf-payment-method-label {
		padding: 10px 10px;
	}
		
	.msf-step-2 .msf-installment-checkbox-label, .msf-step-2 .msf-vat-checkbox-label {
		font-size: 18px;
	}
		
	.msf-step-2 .msf-installment-checkbox-label::before, .msf-step-2 .msf-vat-checkbox-label::before {
		margin-right: 8px;
	}
		
	.msf-step-2 .msf-installment-checkbox-label::after, 
	.msf-step-2 .msf-vat-checkbox-label::after {
		top: 6px;
	}
	
	.msf-invoice-section {
		display: flex;
		flex-direction: column;
		gap: 15px;
	}
		
}

/* Ukrywanie pól input gdy kontener ma grafikę */
.msf-service-item.msf-has-graphic input[type="radio"],
.msf-service-item.msf-has-graphic input[type="checkbox"] {
    position: absolute;
    visibility: hidden;
}

/* Ukryj pola input w kontenerach z grafikami dla pól warunkowych */
.msf-conditional-section .msf-service-item.msf-has-graphic input[type="radio"],
.msf-conditional-section .msf-service-item.msf-has-graphic input[type="checkbox"],
.msf-conditional-section .msf-checkbox-label.msf-has-graphic input[type="checkbox"],
.msf-conditional-section .msf-radio-label.msf-has-graphic input[type="radio"] {
    position: absolute;
    visibility: hidden;
}