.rgs-gift-form {
	width: 100%;
	color: #ffffff;
	font-family: "DM Sans", sans-serif;
}

.rgs-form-section {
	margin-bottom: 34px;
}

.rgs-form-section__title {
	margin: 0 0 20px;
	font-size: 1.3em;
	font-weight: 600;
	color: #ffffff;
}

.rgs-form-grid {
	display: grid;
	gap: 20px;
}

.rgs-form-grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rgs-field {
	margin-bottom: 20px;
}

.rgs-field label {
	display: block;
	margin-bottom: 9px;
	font-size: 0.8em;
	font-weight: 500;
	color: #ffffff;
}

.rgs-field .required {
	color: inherit;
}

.rgs-optional {
	font-weight: 400;
	opacity: 0.65;
}

.rgs-field input,
.rgs-field textarea {
	display: block;
	width: 100%;
	padding: 12px !important;
    border: none !important;
    border-bottom: 1px solid #fff !important;
    border-radius: 0px !important;
    background: none;
    color: #fff;
    font-family: "DM Sans", Sans-serif;
    font-size: 0.8em;
    line-height: 1.4;
    box-shadow: none;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}


.rgs-field textarea {
	min-height: 140px;
	resize: vertical;
}

.rgs-field input::placeholder,
.rgs-field textarea::placeholder {
	color: rgba(255,255,255,.65);
}

.rgs-field input:focus,
.rgs-field textarea:focus {
    outline: none;
	border: 1px solid #ffffff !important;
	box-shadow: 0 0 0 2px rgba(39, 40, 32, 0.08);
}

/* Chrome, Safari, Edge */
.rgs-field input[type="number"]::-webkit-inner-spin-button,
.rgs-field input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.rgs-field input[type="number"] {
    -moz-appearance: textfield;
}

.rgs-message-footer {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 7px;
	font-size: 11px;
	opacity: 0.6;
}

.rgs-total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 72px;
	margin: 4px 0 28px;
	padding: 18px 24px;
	border: 1px solid rgba(39, 40, 32, 0.15);
	border-radius: 11px;
	background: #fff;
	color: #272923;
}

.rgs-total__label {
	font-size: 14px;
	opacity: 0.6;
}

.rgs-total__price {
	font-family: "DM Sans", Sans-serif;
	font-size: 25px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}

.rgs-total__price .woocommerce-Price-currencySymbol {
	margin-right: 3px;
}

.rgs-purchase-button {
	display: block !important;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 15px 26px !important;
	border: 1px solid #ffffff !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #515e4c !important;
    font-size: 1em !important;
	font-weight: 600 !important;
	text-align: center;
	text-transform: uppercase;
	box-shadow: none !important;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.rgs-purchase-button:hover {
	background: #436b66 !important;
	border: 1px solid #436b66 !important;
	color: #fff !important;
	transform: translateY(-1px);
}

.rgs-purchase-button:disabled,
.rgs-purchase-button.disabled {
	cursor: not-allowed;
	opacity: 0.55;
	transform: none;
}

.rgs-payment-note {
	margin: 18px 0 0;
	font-size: 12px;
	line-height: 1.6;
	text-align: center;
	opacity: 0.5;
}

@media (max-width: 1024px) {

	.rgs-form-grid--two {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.rgs-form-section {
		margin-bottom: 35px;
	}

	.rgs-field {
		margin-bottom: 17px;
	}

	.rgs-field input,
	.rgs-field textarea {
		font-size: 14px;
	}

	.rgs-total {
		align-items: center;
        flex-direction: row;
        gap: 8px;
        padding: 17px 19px;
	}

	.rgs-total__price {
		font-size: 20px;
	}

	.rgs-purchase-button {
		padding: 16px 20px !important;
	}
}

@media (max-width: 767px) {

	.rgs-form-grid--two {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.rgs-form-section {
		margin-bottom: 35px;
	}

	.rgs-field {
		margin-bottom: 17px;
	}

	.rgs-field input,
	.rgs-field textarea {
		font-size: 13px;
	}

	.rgs-total {
		align-items: center;
        flex-direction: row;
        gap: 8px;
        padding: 17px 19px;
	}

	.rgs-total__price {
		font-size: 20px;
	}

	.rgs-purchase-button {
		padding: 15px 20px !important;
	}
}


/************* Monetary *************/
.rgs-monetary-section {
	margin-bottom: 32px;
}

.rgs-amount-input {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: stretch;
	width: 100%;
	margin-bottom: 5px;
}

.rgs-amount-input__currency {
	display: flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    padding: 0 18px;
    background: #515e4c;
    border: 1px solid #666;
    border-right: 0;
    border-radius: 3px 0 0 3px;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #fff;
}

.rgs-amount-input input {
	width: 100%;
	border-radius: 0;
}

.rgs-amount-input input:invalid {
	box-shadow: none;
}

#rgs_gift_amount {
    border-radius: 0 3px 3px 0;
}

@media (max-width: 767px) {
	.rgs-amount-input__currency {
		min-width: 68px;
		padding: 0 12px;
	}
}


/************* A La Carte *************/

.rgs-technology-section {
	margin-bottom: 32px;
}

.rgs-field select {
    width: 100%;
    min-height: 58px;
    padding: 14px 46px 14px 16px;
    border: none;
    border-bottom: 1px solid #ffffff;
    border-radius: 0;
    background-color: #515e4c;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
}

.rgs-field select:focus {
	outline: none;
	border: 1px solid #ffffff !important;
	box-shadow: 0 0 0 2px rgba(39, 40, 32, 0.08);
}