.input-container {
    position: relative;
    margin-top: 0rem;
    width: 100%;
}

.form__question-text p,
.form__question-text li {
    margin: 0 !important;
    font-size: 16px;
}

.input-field {
    width: 100%;
    padding: 8px 0 !important;
    color: var(--global-palette) !important;
    font-size: 16px;
    border: none !important;
    outline: none !important;
    background-color: transparent !important;
}

.input-field:focus~.underline {
    background-color: var(--global-palette1);
}

.input-label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--global-palette1);
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-field:focus~.input-label,
.input-field:not(:placeholder-shown)~.input-label {
    top: -12px;
    left: 0;
    color: var(--global-palette1);
}

.input-field::placeholder {
	color: #B0B3B3;
}

.underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: gray;
    pointer-events: none;
}


.form__input-radio {
    justify-content: flex-start !important;
}

.form__field-group__pet-birth {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 1fr);
	grid-column-gap: 10px;
	grid-row-gap: 10px;
}

.form__field-group__pet-birth__description {
	grid-area: 2 / 1 / 3 / 4;
}

@media screen and (min-width: 968px) {
    /*.form__field-group__pet-type {
        padding-right: 20px;
    }

    .form__field-group__pet-gender {
        padding-left: 20px;
        border-left: 1px solid var(--global-palette1);
    }*/
	
	.form__field-group__pet-birth {
		display: flex;
		flex-direction: row;
		gap: 10px;
	}
}


.input-container__pet_birth {
    max-width: 100px!important;
}

.input-container__pet_birth input {
	text-align: center;
}

.input-container__pet_birth input::placeholder, .form__field-group__pet-birth__description {
	color: #848484!important;
}

.form__field-group__pet-birth__description {
	font-size: 12px;
}


.wp-block-group {
	width: 100%!important;
	margin: auto!important;
}
.woocommerce-billing-fields__field-wrapper {
	display: flex!important;
	flex-direction: column;
	row-gap: 40px;
}

.checkout-billing-contract-data {
	margin-top: 25px;
}

.checkout-billing-contract-data-fields {
	display: flex;
	flex-direction: column;
	row-gap: 50px;
}


.woocommerce-billing-fields label, .checkout-billing-contract-data-heading {
	font-size: 16px;
}

.checkout-billing-contract-data-heading {
	margin-bottom: 25px!important;
}

.checkout #podsumowanie {
	display: none;
}

.shop_table {
	background: transparent!important;
} 
.woocommerce-checkout-review-order {
	width: 100%!important;
	margin: 0!important;
	padding: 0!important;
}

@media screen and (min-width: 768px) {
	.woocommerce-checkout-payment .wc_payment_methods {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 15px;
	}
	.checkout-billing-contract-data-fields {
		row-gap: 50px;
	}
}

.woocommerce-checkout-payment .wc_payment_methods::before, woocommerce-checkout-payment .wc_payment_methods::after {
	content: unset!important;
}

.wc_payment_method label {
	border-left: 1px solid var(--global-palette1)!important;
	border-radius: 5px;
	border: 1px solid var(--global-palette1);
	background: transparent!important;
	font-weight: 400!important;
	font-size: 16px!important;
}

.woocommerce-terms-and-conditions-wrapper {
	display: none!important;
}

.checkout-review-order-content {
	display: flex;
	flex-direction: column;
}

.checkout-review-order-item {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding: 15px 20px;
	background: transparent;
}

.checkout-review-order-item p {
	margin: 0;
	font-size: 16px;
}

.checkout-review-order-item-title {
	margin: 0!important;
}

.checkout-review-order-item-coupon {
	font-weight: 700;
	font-size: 11px;
}

.checkout-review-order-item-summary p {
	font-weight: 700;
}

.checkout-review-order-item-coupon-price {
	font-weight: 700;
}

#place_order {
	margin-top: 40px!important;
	width: 100%!important;
	font-weight: 600!important;
	border-radius: 5px!important;
}
/*
.checkout_coupon {
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	z-index: 2;
	display: flex;
	justify-content: center;
	align-items: center;
}

.checkout_coupon__background {
	position: fixed;
	left: 0;
	top: 0;
	background-color: rgba(0, 0, 0, .9);
	width: 100vw;
	max-width: 100%;
	height: 100vh;
	max-height: 100%;
	z-index: -1;
} */


.checkout_coupon {
	display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.checkout_coupon p, .checkout_coupon button {
	width: 100%!important;
}

.checkout_coupon button {
	border-radius: 5px!important;
	font-weight: 600!important;
	font-size: 16px!important;
}

.checkout_coupon__content {
	z-index: 2;
}

.wc_payment_method label {
	font-size: 14px!important;
}

.woocommerce-form-login p {
	width: 100%!important;
}

.woocommerce-form-login .lost_password {
	display: none!important;
}

.woocommerce-form-login .woocommerce-form-login__rememberme {
	display: none!important;
}

.woocommerce-form-login button {
	width: 100%!important;
	font-weight: 600!important;
	border-radius: 5px!important;
	font-size: 16px!important;
}

#screen-loading {
	width: 100%;
    position: fixed;
    height: 100%;
    background: rgba(255, 255, 255, .7);
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.spinner {
    border: 5px solid white; /* Light grey */
    border-top: 5px solid black; /* Blue */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tooltip {
    position: absolute;
    top: 30px;
    left: 0;
    background-color: var(--global-palette1);
    color: #fff;
    padding: 8px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 1000;
    transform: translateY(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

#infoIcon:hover + .tooltip, .input-label-block:hover .tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateY(0); /* Animacja w górę */
}

label[for="account_password"] {
	align-items: center;
    display: flex;
    flex-direction: row;
    gap: 5px;
}

/* Data section */

.data-summary-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .data-section {
        border: 1px solid var(--global-palette1);
        border-radius: 15px;
        background-color: white;
        padding: 35px;
    }

    .data-section__title {
        font-size: 20px;
        color: var(--global-palette1);
        text-transform: uppercase;
        margin-bottom: 15px !important;
        font-weight: 700;
    }

    .data-section__data {}

	@media screen and (min-width: 768px) {
		.data-section__data.two-columns {
			display: grid;
			grid-template-columns: 1fr 1fr;
		}
	}
	
    .data-section__item {
        font-weight: 600;
        font-size: 16px;
    }

    .data-section__item-value {
        font-weight: 400;
    }

.data-section__order-status {
	font-size: 12px;
	padding: 5px 15px;
	border-radius: 20px;
	border: 2px solid #AFD3BF;
	width: fit-content;
}
.data-section__order-status--pending {
	background-color: #F6F8A6;
}

.data-section__order-status--processing {
	background-color: #E7ECE2;
}

#update_all_subscriptions_addresses_field {
	display: none!important;
}

.woocommerce-password-strength {
	display: none!important;
}

.woocommerce-password-hint {
	display: none!important;
}

@media screen and (max-width: 767px) {
	.form__field-group__pet-birth {
		grid-template-rows: 1fr;
	}
	.form__field-group__pet-birth__description {
		display: none!important;
	}
}

.checkout-billing-contract-data-fields .form__field-group.two-columns {
	gap: 50px;
}

.checkout #billing_phone:focus + label::before, .checkout #billing_phone:not(:placeholder-shown) + label::before {
	content: "+48";
	position: absolute;
	left: 0;
	top: 1.9rem;
	font-size: 15px;
}

@supports (-webkit-touch-callout: none) {
    .checkout #billing_phone:focus + label::before,
    .checkout #billing_phone:not(:placeholder-shown) + label::before {
        top: 2.1rem;
    }
}

.checkout #billing_phone {
	padding-left: 40px!important;
}