body,
body * {
	box-sizing: border-box;
	margin: 0;
}

body * {
	font-family: Outfit, system-ui, sans-serif;
	font-size: 1em;
	background-color: white;
}

/* body {
	min-width: 280px;
	padding: 20px;
	background-color: #ebebfa;
} */

.w1 {
	margin-top: 40px;
	width: 100%;
}

/* .w2 {
	width: 48%;
	display: inline-block;
} */

.exp-cvv {
	display: flex;
	gap: 16px;
	margin-top: 24px;
}

.exp {
	flex-basis: 60%;
}

.cvv {
	flex-basis: 40%;
}

.center {
	text-align: center;
}

form {
	position: relative;
	max-width: 100%;
	min-height: 100vh;
}

.submit {
	position: absolute;
	bottom: 0;
	min-width: 100%;
	padding: 16px 32px 32px 32px;
	display: flex;
	align-items: center;
	justify-items: center;
	box-shadow: 0px -1px 6px 0px rgba(0, 0, 0, 0.10);
}

.input-error-msg {
	color: #ff7063;
	font-size: 14px;
	margin-top: 6px;
}

/* form input[type=submit] */

.fields {
	padding: 0 24px;
}

.save-card {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 40px;
}

.save-card label {
	color: #00122C;
	font-size: 16px;
}

.save-card input[type="checkbox"] {
	accent-color: #007554;
	height: 24px;
	width: 24px;
	border-radius: 8px;
}

form,
#modal {
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
	padding: 0px 0px;
	background-color: white;
	/* box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); */
}

form label,
#modal label {
	font-weight: 400;
	color: #00122C;
	font-size: 16px;
}

/* form p,
form p label,
#modal p,
#modal p label {
	display: block;
	width: 100%; */
/* } */

/* form div:not(:last-of-type) p,
form p:not(:last-of-type),
#modal div:not(:last-of-type) p,
#modal p:not(:last-of-type) {
	margin-bottom: 15px;
} */

/* form .w2:nth-of-type(3) p,
#modal .w2:nth-of-type(3) p {
	margin-left: 20%;
} */

/* form .w2 p,
#modal .w2 p {
	width: 80%;
} */

form .input-container,
form input[type=text],
#modal .input-container,
#modal input[type=text] {
	display: inline-block;
	width: 100%;
	max-width: 100%;
	height: 56px;
	margin-top: 7px;
	padding: 17px 7px 3px 7px;
	border: 1px solid #BFC3CA;
	border-radius: 8px;
	box-shadow: 0 0 0 1px darkgrey;
	transition: all 250ms ease-in-out;
}

form .brand-selector {
	display: inline-block;
	width: 100%;
	max-width: 100%;
	margin-top: 7px;
	transition: all 250ms ease-in-out;
}

form .input-container.hosted-fields-valid-state,
#modal .input-container.hosted-fields-valid-state {
	border: 1px solid #37dcc8;
	box-shadow: 0 0 0 1px #37dcc8;
}

form .input-container:not(.hosted-fields-empty-state):not(.hosted-fields-focus-state):not(.hosted-fields-valid-state):not(:empty),
#modal .input-container:not(.hosted-fields-empty-state):not(.hosted-fields-focus-state):not(.hosted-fields-valid-state):not(:empty) {
	border: 1px solid #ff7063;
	box-shadow: 0 0 0 1px #ff7063;
}

form input[type=submit],
form button,
#modal input[type=submit],
#modal button {
	width: 100%;
	height: 56px;
	margin-top: 7px;
	padding: 16px 14px 16px 14px;
	border: 0;
	border-top: 1px solid white;
	border-radius: 16px;
	background: #007554;
	font-size: 16px;
	font-weight: 600;
	color: white;
	vertical-align: baseline;
	cursor: pointer;
	transition: all 500ms;
}

.hidden {
	display: none;
}

#modal {
	z-index: 1;
	display: none;
	max-width: 380px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -83px;
	margin-left: -190px;
}

#modal button {
	background: #27b9ff;
}

#modal button:hover {
	background-color: #8ddaff;
}

.submit-disabled {
	background-color: #c1c2c7 !important;
}