@import url(https://fonts.googleapis.com/css2?family=Days+One&family=Open+Sans:wght@400;600;800&display=swap);

* {
	box-sizing: border-box;
}

body,
html {
	background-color: #f6f9fc;
	font-size: 13px;
	font-family: "Open Sans", sans-serif;
	margin: 0;
}

label {
	color: #6b7c93;
	font-weight: 300;
	letter-spacing: 0.025em;
}

h2 {
	font-family: "Days One", sans-serif;
	font-size: 20px;
}

.button-bar button,
.coupon-button,
input.cancel {
	background: transparent linear-gradient(257deg, #d500f9 0%, #2962ff 99%) 0% 0% no-repeat padding-box;
	border-radius: 16px;
	color: #fff;
	padding: 0.5rem 1rem;
	font-family: "Days One", sans-serif;
	white-space: nowrap;
	border: 0;
	outline: 0;
	display: inline-block;
	text-transform: uppercase;
}

button:hover:enabled {
	color: #fff;
	cursor: pointer;
	background-color: #7795f8;
	transform: translateY(-1px);
	box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.button-bar input.cancel {
	background: none;
	color: #616161;
	width: auto;
}

input.cancel:hover:enabled {
	cursor: pointer;
	transform: translateY(-1px);
	box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.disabled {
	background-color: #7795f8;
}

/* selector should use lowercase but class is generated by stripe */
/* stylelint-disable-next-line selector-class-pattern */
.StripeElement,
input,
select,
.input {
	display: block;
	padding: 10px 14px;
	font-size: 1em;
	font-family: "Open Sans", sans-serif;
	box-shadow:
		rgba(50, 50, 93, 0.14902) 0 1px 3px,
		rgba(0, 0, 0, 0.0196078) 0 1px 0;
	border: 0;
	outline: 0;
	border-radius: 4px;
	background: #fff;
	width: 100%;
}

/* selector should use lowercase but class is generated by stripe */
/* stylelint-disable-next-line selector-class-pattern */
.StripeElement {
	margin-top: 1rem;
}

.prefix-input {
	width: 20%;
	float: left;
	background-color: #e9ecef;
}

.input-with-prefix {
	width: 80%;
}

input::placeholder {
	color: #aab7c4;
}

/* selector should use lowercase but class is generated by stripe */
/* stylelint-disable-next-line selector-class-pattern */
.StripeElement--focus,
input:focus {
	box-shadow:
		rgba(50, 50, 93, 0.109804) 0 4px 6px,
		rgba(0, 0, 0, 0.0784314) 0 1px 3px;
	-webkit-transition: all 150ms ease;
	transition: all 150ms ease;
}

/* selector should use lowercase but class is generated by stripe */
/* stylelint-disable selector-class-pattern */
.StripeElement.IdealBankElement,
.StripeElement.FpxBankElement,
.StripeElement.PaymentRequestButton {
	padding: 0;
}
/* stylelint-enable selector-class-pattern */

/* selector should use lowercase but class is generated by stripe */
/* stylelint-disable-next-line selector-class-pattern */
.StripeElement.PaymentRequestButton {
	height: 40px;
}

.wrapper-form {
	margin: 0 auto;
	overflow-y: auto;
	position: relative;
	height: 92%;
}

.loading-margin {
	margin-right: 8px;
}

.form-field-container {
	margin-top: 16px;
	width: 50%;
	padding: 0 0.5rem;
}

.hidden {
	display: none;
}

form {
	display: flex;
	flex-wrap: wrap;
	padding: 0.5rem;
}

form h2 {
	width: 100%;
	padding: 0.5rem;
	color: #304ffe;
}

.billing-det {
	padding: 1rem;
	color: #304ffe;
}

.form-field-container label {
	font: 600 12px/17px "Open Sans", sans-serif;
	color: #616161;
}

.form-field-container input,
.form-field-container select {
	margin-top: 1rem;
}

.form-field-container input.prefix-input {
	margin-top: 0;
}

.form-field-container.card {
	width: 100%;
}

.form-field-container.card label {
	width: 100%;
	float: left;
}

.form-field-container.card .num {
	width: calc(50% - 0.5rem);
	float: left;
}

.form-field-container.card .exp {
	width: calc(25% - 0.25rem);
	float: left;
	margin-left: 1rem;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.form-field-container.card .cvc {
	width: calc(25% - 0.25rem);
	float: right;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.columns {
	width: 100%;
}


.price-column {
	background: transparent linear-gradient(233deg, #d500f9 0%, #2962ff 99%) 0% 0% no-repeat padding-box;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	color: #fff;
	padding: 1rem;
	height: 100%;
	font: 400 14px/19px "Open Sans", sans-serif;
	position: relative;
}

.price-name {
	font: 600 16px/22px "Open Sans", sans-serif;
}

.price-table .val {
	font: 400 14px/18px "Days One", sans-serif;
}

.price-table .total.val {
	font: 400 24px/31px "Days One", sans-serif;
}

.price-table .valxm {
	font: 400 14px/19px "Open Sans", sans-serif;
}

table {
	display: contents;
}

table tr {
	height: 3rem;
}

table td {
	padding-left: 0;
}

.mobile-price-info .total {
	font: 600 16px/20px "Days One", sans-serif;
	margin-right: 1rem;
}

.disclaimer {
	font: 400 12px/17px "Open Sans", sans-serif;
}

.disclaimer a {
	color: #fff;
	text-decoration: none;
}

.button-bar {
	position: fixed;
	display: flex;
	justify-content: space-between;
	bottom: 0;
	background-color: #fff;
	padding: 1rem;
	margin: 0 -0.5rem;
}

.coupon-button:disabled {
	background: #bfbfbf;
	cursor: auto;
}

.summary {
	padding: 1rem;
	color: #616161;
}

.summary h2,
.checkout-form h2 {
	color: #304ffe;
}


.mobile-price-view {
	display: none;
}

.mobile-price-view.opened {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: fixed;
	top: 0;
	width: 100%;
	height: 100vh;
	background: transparent linear-gradient(233deg, #d500f9 0%, #2962ff 99%) 0% 0% no-repeat padding-box;
	z-index: 100;
	margin-left: -1rem;
	padding: 1rem;
}

.mobile-price-view .nav-back {
	display: flex;
	align-items: center;
}

.mobile-price-view .nav-back svg {
	margin-right: 10px;
}

.mobile-price-view .nav-back span {
	padding: 1rem;
	padding-left: 0;
	font: 600 16px/22px "Open Sans", sans-serif;
}

.mobile-price-view .disclaimer {
	margin-top: auto;
}

.switch-container p {
	color: #616161;
	font-weight: 600;
	font-size: 12px;
}

/* Desktop */
@media screen and (min-width: 1024px) {

	.is-hidden-on-desktop {
		display: none;
	}

	.columns {
		display: flex;
		flex-direction: row;
	}

	.main.columns {
		height: 100vh;
		overflow: hidden;
	}

	.column {
		width: 50%;
	}

	.wrapper-form.column {
		width: 67%;
	}


	.price-column {
		width: 33%;
	}

	.button-bar {
		width: 67%;
	}

	.mobile-price-info {
		display: none;
	}
}

/* Tablet */
@media screen and (max-width: 1023px) {

	.column {
		width: 100%;
	}

	.summary .columns {
		display: flex;
		flex-direction: row;
	}

	.summary .column {
		width: 50%;
	}

	.wrapper-form.column {
		width: 100%;
	}

	.price-column {
		width: 100%;
	}

	.button-bar {
		width: 100%;
	}

	.wrapper-form {
		padding-bottom: 100px;
	}

	.mobile-price-info {
		display: block;
		display: flex;
		align-items: center;
	}

	.mobile-price-info .info-icon {
		margin-left: 10px;
	}

	.price .price-table {
		display: none;
	}

	.price-column .disclaimer {
		display: none;
	}

	.price-column .mobile-price-view.opened .disclaimer {
		display: block;
	}

	.price-name {
		margin-bottom: 0;
	}
}

.switch {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
	margin: auto 6px;
}

.switch input {
	position: relative;
	opacity: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.38);
	-webkit-transition: 0.4s;
	transition: 0.4s;
}

.slider::before {
	position: absolute;
	content: "";
	height: 20px;
	width: 20px;
	left: 2px;
	bottom: 2px;
	background-color: #fff;
	-webkit-transition: 0.4s;
	transition: 0.4s;
}

.switch input:checked + .slider {
	background-color: rgba(158, 102, 255, 0.38);
}

.switch input:focus + .slider {
	box-shadow: 0 0 1px #2196f3;
}

.switch input:checked + .slider::before {
	background-color: #6236ff;
	-webkit-transform: translateX(20px);
	-ms-transform: translateX(20px);
	transform: translateX(20px);
}

.slider.round {
	border-radius: 34px;
}

.slider.round::before {
	border-radius: 50%;
}

.title-section {
	padding: 1rem;
}

.title-section h2 {
	display: contents;
}

.spacing {
	padding: 1rem;
}

.fields-container {
	width: 100%;
	display: contents;
}

.fields-container.flex-container {
	padding: 0.5rem;
}

.switch-container {
	display: inline-flex;
	position: absolute;
	right: 1rem;
}

.error-message-container {
	width: calc(100% - 11px);
	background-color: #fff;
	border: 1px solid #ccd0d4;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	border-left: 5px rgb(219, 0, 0) solid;
	margin-left: 5px;
}

.error-message {
	color: #d32f2f;
	height: 8px;
	padding: 0 1rem;
	margin: 0;
}

.error-message-notice {
	color: #d32f2f;
	height: 8px;
	padding: 0 1rem;
}

.cut-vat {
	margin-right: 1rem;
}

.cut-line {
	width: 59px;
	height: 2px;
	background-color: #ffd600;
	display: inline-block;
	margin-left: -58px;
	position: absolute;
	transform: rotate(-18deg) translateY(8px);
}

.flex-container {
	display: flex;
}

.center-items {
	align-items: center;
}

.coupon-message {
	height: 8px;
	color: #d32f2f;
}

.coupon-notice {
	color: #ffd600;
}

.description {
	font: 400 14px/19px "Open Sans", sans-serif;
}

.val-domain {
	font: 400 14px/18px "Days One", sans-serif;
	padding-left: 8px;
}

/* Smartphone */
@media screen and (max-width: 767px) {

	.accordion-bar {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.accordion {
		width: 20px;
		height: 20px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.accordion.opened {
		transform: rotate(180deg);
	}

	.form-field-container {
		width: 100%;
	}

	.summary {
		border-bottom: 1px rgb(201, 201, 201) solid;
		overflow: hidden;
	}

	.columns {
		padding-top: 0;
	}

	.summary .columns {
		display: block;
	}

	.summary .column {
		width: 100%;
	}


	.summary.closed {
		height: 80px;
	}

	.summary.opened {
		height: auto;
	}

	.switch-container {
		display: flex;
		left: 1rem;
		align-items: center;
		position: initial;
		margin-top: 16px;
	}

	.switch-container p {
		left: 0;
		margin: auto 0;
	}

	.switch {
		position: absolute;
		right: 1rem;
	}

	.title-section {
		padding-bottom: 0;
	}

	.summary p {
		margin-top: 16px;
	}
}

