/* Checkout File Prescription and Statutory */
.wd-checkout-form section.checkout-section {
	background-color:#ffffff;
	padding:1rem;
	margin-bottom:1.5rem;
}
.wd-checkout-form section.checkout-section h5 {
	margin-bottom:0.5rem;
}
.wd-checkout-form section.checkout-section input[type="button"] {
	background-color:var(--secondary-brand);
	color:#ffffff;
}
.file-upload-field {
	position: relative;
    height: 50px;
    border: 2px dashed;
    color: var(--secondary-brand);
    display: flex;
    align-items: center;
    justify-content: center;
}
.file-upload-field i {
	margin-right: 0.5rem;
	font-size: 1.25rem;
}
.file-upload-field input[type="file"] {
	position: absolute;
	width: 100%;
	height: 50px;
	opacity: 0;
	cursor: pointer;
}

#rx_upload_status,
#statutory_upload_status {
	padding: 1rem;
	border: 2px dashed;
	text-align: center;
	color: var(--secondary-brand);
	font-weight: 600;
	cursor: default;
	height:50px;
}
#rx_preview,
#statutory_preview {
	display: flex;
	flex-wrap: wrap;
	margin:1rem 0;
}
#rx_preview .rx-uploaded-item,
#statutory_preview .statutory-uploaded-item {
	text-align:center;
	box-shadow: var(--shadow-lg);
	flex: 0 0 25%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 0.5rem;
}
#rx_preview .rx-uploaded-item img,
#statutory_preview .statutory-uploaded-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#rx_preview .rx-uploaded-item i,
#statutory_preview .statutory-uploaded-item i {
	display:block;
	font-size:2rem;
}
#rx_preview .rx-remove-btn,
#statutory_preview .statutory-remove-btn {
	display:block;
	background:var(--wp--preset--color--vivid-red);
	color:white;
	cursor:pointer;
	font-size:0.8rem;
}
.user-order-prescriptions .rx-uploaded-item,
.user-order-statutory .statutory-uploaded-item {
	flex:unset !important;
	width:120px;
}
.user-order-prescriptions .rx-uploaded-item i,
.user-order-statutory .statutory-uploaded-item i {
	font-size:3.5rem !important;
}

#upload-statutory-id {
	border-top: 1px solid var(--color-gray-200);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
}

/* Checkout MEDPadala */
.remove-medpadala {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	font-size: 0;
	cursor:pointer;
}
.remove-medpadala:before {
	font-size: 0.9rem;
	content: "\f112";
	font-family: "woodmart-font";
}
#medpadala_card_code,
#medpadala_card_pin {
	min-width: 100px;
}

/* Remove spinner in Chrome, Edge, Safari */
#medpadala_amount::-webkit-outer-spin-button,
#medpadala_amount::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#medpadala_amount {
    -moz-appearance: textfield;
	text-align: left;
	padding: 0 15px;
}

/* Address Book */
#billing_address_book + span.select2,
#shipping_address_book + span.select2 {
	width: 100% !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
	background-color: var(--color-gray-200);
    border: var(--wd-form-brd-width) solid var(--wd-form-brd-color);
}

.theme-woodmart .woocommerce-checkout .woocommerce-shipping-fields:has(#ship-to-different-address):before {
	content: "SHIPPING DETAILS";
	display: block;
	margin-top: 2rem;
	margin-bottom: var(--wd-tags-mb, 20px);
	color: var(--wd-title-color);
	font-weight: var(--wd-title-font-weight);
    font-style: var(--wd-title-font-style);
    font-family: var(--wd-title-font);
    line-height: 1.4;
	font-size: 22px;
}

/* Product Price */
.cart-product-label .amount,
.checkout-product-price .amount {
	color: var(--wd-text-color);
}