.wc-withdrawal-template {
	padding: 48px 0;
	color: #1f2933;
}

.wc-withdrawal-template .inner {
	width: min(100% - 32px, 760px);
	margin: 0 auto;
}

.wc-withdrawal-template article {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.wc-withdrawal-template .entry-header,
.wc-withdrawal-template .entry-content, 
.wc-withdrawal-template .inner {
	width: 100%;
	max-width: 1024px;
	margin-left: auto;
	margin-right: auto;
}

.wc-withdrawal-template .entry-title {
	margin: 0;
	font-size: 32px;
	line-height: 1.2;
}

.wc-withdrawal-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 24px;
	border: 1px solid #d9dee7;
	border-radius: 8px;
	background: #ffffff;
	font-size: 1rem;
}

.wc-withdrawal-form h3 {
	margin: 0 !important;
	font-size: 22px;
	line-height: 1.3;
}
a.woocommerce-button.button.withdrawal {
    margin-left: 4px;
}
.wc-withdrawal-form form {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0;
}

.wc-withdrawal-form__intro {
	color: #5f6b7a;
	line-height: 1.5;
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.wc-withdrawal-form__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.wc-withdrawal-form__field[hidden] {
	display: none;
}

.wc-withdrawal-form__field label {
	font-weight: 600;
	line-height: 1.4;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.wc-withdrawal-form__field input,
.wc-withdrawal-form__field select,
.wc-withdrawal-form__field textarea {
	padding: 10px 12px;
	border: 1px solid #d9dee7;
	border-radius: 6px;
	background: #ffffff;
	color: #1f2933;
	font: inherit;
	line-height: 1.4;
}

.wc-withdrawal-form__field textarea {
	min-height: 120px;
	resize: none;
}

.wc-withdrawal-form__field input[readonly] {
	background: #f7f9fc;
	color: #5f6b7a;
}

.wc-withdrawal-form__field input:focus,
.wc-withdrawal-form__field select:focus,
.wc-withdrawal-form__field textarea:focus {
	border-color: #2f6fed;
	box-shadow: 0 0 0 2px rgba(47, 111, 237, 0.16);
	outline: none;
}

.wc-withdrawal-form__actions {
	display: flex;
	justify-content: flex-start;
}

.wc-withdrawal-form__policy {
	color: #5f6b7a;
	font-size: 14px;
	line-height: 1.5;
}

.wc-withdrawal-cancel-order {
	display: flex;
	margin-top: 20px;
}

.withdrawal-message {
	margin: 0;
	padding: 14px 16px;
	border-radius: 6px;
	line-height: 1.5;
	font-size: 1rem;
}

.withdrawal-message span {
	display: block;
	margin-top: 4px;
	font-size: 0.95em;
}

.withdrawal-support {
	margin-top: 16px;
	color: #5f6b7a;
	line-height: 1.5;
	font-size: 1rem;
}

.withdrawal-message.withdrawal-message--success {
	background-color: #199c4f;
	color: white;
	outline: none;
}

.withdrawal-message.withdrawal-message--error {
	background-color: #E34343;
	color: white;
	text-align: center;
	outline: none;
}

.withdrawal-message.withdrawal-message--error > span {
	font-weight: 300;
}


@media (max-width: 640px) {
	.wc-withdrawal-template {
		padding: 32px 0;
	}

	.wc-withdrawal-template .entry-title {
		font-size: 26px;
	}

	.wc-withdrawal-form {
		padding: 18px;
	}

	.wc-withdrawal-form__actions button,
	.wc-withdrawal-form__actions .button {
		width: 100%;
		text-align: center;
	}
}

.withdrawal-remaining {
	padding: .25rem 0.75rem;
    display: inline-block;
    background: #ffdc7d;
    border-radius: 100px;
    color: #000;
}

span.label-tag {
    font-size: 13px;
    font-weight: 500;
    padding: .15rem .5rem;
    display: inline-block;
    background: #e4e7f1;
    border-radius: 1rem;
}

.wc-withdrawal-cancel-order .button.wc-withdrawal-cancel-order-button, 
.wc-withdrawal-form__actions .button.wc-withdrawal-cancel-order-button {
    padding: 1rem 1.5rem;
    border: none;
    background: #024cbc;
    color: #fff;
    border-radius: 2rem;
    font-size: 1rem;
	cursor: pointer;
	text-decoration: none !important;
}

.wc-withdrawal-cancel-order .button.wc-withdrawal-cancel-order-button:hover, 
.wc-withdrawal-cancel-order .button.wc-withdrawal-cancel-order-button:active, 
.wc-withdrawal-form__actions .button.wc-withdrawal-cancel-order-button:hover, 
.wc-withdrawal-form__actions .button.wc-withdrawal-cancel-order-button:active  {
    background: #013a8f;
	color: #fff;
}


.wc-withdrawal-form__field .wc-withdrawal-form__reason-select {
	-webkit-appearance: none;
	appearance: none;
	min-height: 46px;
	padding-right: 44px;
	background-color: #ffffff;
	background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231f2933' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-position: right 14px center;
	background-repeat: no-repeat;
	background-size: 18px 18px;
	cursor: pointer;
}


.wc-withdrawal-form__field  .wc-withdrawal-form__reason-select:hover {
	border-color: #aeb7c4;
}