@import 'src/Components/GlobalStyles/colors';

.form_wrapper {
	width: available;
	max-width: 700px;

	.block {
		margin-bottom: 50px;

		.block_name {
			h5 {
				font-style: normal;
				font-weight: 400;
				font-size: 18px;
				color: var(--primary-color);
			}

			hr {
				margin: 0;
				border-top: 1px solid var(--primary-color);
				opacity: 1;
			}
		}

		.inputs,
		.smallInputs {
			& > div {
				width: auto;
				flex-direction: unset;
			}

			label {
				width: 30%;
				align-self: center;
				text-align: end;
				padding-right: 20px;
			}

			input {
				width: 70%;
			}
		}

		small {
			float: right;
		}
	}

	.paymentMethod {
		display: flex;
		margin-top: 25px;
		justify-content: center;

		.creditCard,
		.paypal {
			display: flex;
			border: 1px solid var(--primary-color);
			border-radius: 10px;
			padding: 15px 20px;
			align-items: center;
			justify-content: space-between;

			&:hover {
				cursor: pointer;
			}

			input {
				appearance: none;
				display: none;
			}

			label {
				margin-right: 35px;
				margin-left: 7px;

				&:hover {
					cursor: pointer;
				}
			}
		}

		.creditCard {
			margin-right: 15px;
		}

		.nonActiveButton {
			path {
				fill: grey;
			}

			.activeButton {
				path {
					fill: var(--primary-color);
				}
			}
		}
	}

	.bankParagraph {
		padding: 15px;
		text-align: left;
		width: 430px;
		margin: 0 auto;
		font-size: 10px;
	}

	.smallInputs {
		display: flex;
		align-items: center;
		justify-items: center;

		p {
			white-space: nowrap;
			margin-right: 20px;
		}
	}
}
