/* ================ Import ================ */
@import "./fonts.css";
@import "./default.css";
@import "./components.css";


/* ================ Buttons ================ */
.btn {
	font-weight: 500;
	font-size: 16px;
	line-height: 19px;
	outline: none !important;
	border: none !important;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	z-index: 2;
	background: rgba(193, 12, 0, 1);
	color: rgba(255, 255, 255, 1);
	padding: 15px 35px;
	border-radius: 11px;
}
.btn::after {
	content: "";
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	position: absolute;
	z-index: -1;
	border-radius: 0px;
	background: rgba(205, 61, 51, 1) !important;
	transition: transform 0.6s ease-in-out !important;
	transform: scale(0);
}
.btn:hover::after {
	transform: scale(1.5);
}
.btn:focus::after {
	transform: scale(0);
}
.btn:hover {
	color: rgba(255, 255, 255, 1) !important;
}
.btn:focus {
	background: rgba(154, 10, 0, 1) !important;
	color: rgba(255, 255, 255, 1) !important;
}
.btn-apple {
	background: rgba(0, 0, 0, 1);
	border: 1px solid rgba(166, 166, 166, 1) !important;
	border-radius: 11px;
	padding: 15px 15px;
	color: rgba(255, 255, 255, 1);
	font-weight: 400;
	font-size: 17px;
	line-height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: auto;
}
.btn-apple:hover,
.btn-apple:focus {
	border-color: rgba(0, 0, 0, 1) !important;
}

.result {
    font-size: 23px;
    font-weight: bold;
}

/* ================ Main ================ */
#main.main {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 10px;
}
.main>div {
	position: relative;
}


/* ================ Input style ================ */

.input2{
	display: none;
}
.input {
	position: relative;
	display: grid;
	gap: 8px;
}
.input p {
	padding: 0 9px;
	background: rgba(28, 28, 28, 1);
	border-radius: 4px;
	color: rgba(95, 92, 91, 1);
	font-weight: 400;
	font-size: 14px;
	line-height: 19px;
	position: absolute;
	top: -9px;
	left: 13px;
}
.input input {
	color: rgba(255, 255, 255, 1);
	font-weight: 400;
	font-size: 17px;
	line-height: 23px;
	background: transparent;
	border: 1px solid rgba(62, 62, 62, 1) !important;
	width: 100%;
	padding: 14px 30px;
	border-radius: 11px;
	outline: none !important;
}
.input input:hover,
.input input:focus {
	border-color: rgba(193, 12, 0, 1) !important;
}
.input input::placeholder {
	color: rgba(95, 95, 95, 1) !important;
}
.input__nav {
	display: flex;
	justify-content: space-between;
	gap: 10px;
}
.input__item {
	color: rgba(255, 255, 255, 0.5);
	font-weight: 400;
	font-size: 16px;
	line-height: 22px;
	background: transparent;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
}
.input__item:hover,
.input__item:focus {
	color: rgba(255, 255, 255, 1);
	border-color: rgba(255, 255, 255, 1) !important;
}
.input__select select {
	color: rgba(255, 255, 255, 1);
	font-weight: 400;
	font-size: 17px;
	line-height: 23px;
	background: transparent;
	border: 1px solid rgba(62, 62, 62, 1) !important;
	padding: 14px;
	border-radius: 11px;
	outline: none !important;
	width: 69px !important;
}
.input__select select option {
	width: 100% !important;
	background: rgba(62, 62, 62, 1);
}
.input__select select:hover,
.input__select select:active {
	border-color: rgba(193, 12, 0, 1) !important;
}
.input__select.input__text {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 10px;
}
.input__select.input__text .input{
	width: 100%;
}
.input[type=radio]{
  -webkit-transition: all ease .11s;
  -moz-transition: all ease .11s;
  -o-transition: all ease .11s;
  -ms-transition: all ease .11s;
  transition: all ease .11s;
  color: rgba(255, 255, 255, 1);
}

/* ================ Block style ================ */
.block {
	background: rgba(28, 28, 28, 1);
	border-radius: 30px;
	padding: 30px;
	width: 648px;
	display: flex;
    gap: 100px;
    flex-direction: column;
}
.block__head {
	display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.block__head-logo {
	width: 215px;
	height: 64px;
}
.block__head-title {
	display: grid;
	gap: 8px;
}
.block__head-name {
	color: rgba(255, 255, 255, 1);
	font-weight: 700;
	font-size: 20px;
	line-height: 27px;
	text-align: center;
}
.block__head-nav {
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: space-between;
}
.block__head-item {
	color: rgba(255, 255, 255, 0.5);
	font-weight: 600;
	font-size: 16px;
	line-height: 22px;
	display: flex;
	gap: 10px;
	align-items: center;
	border-bottom: 1px solid transparent !important;
}
.block__head-item svg {
	fill-opacity: 0.5;
	transition: 0s all !important;
}
.block__head-item:hover svg {
	fill-opacity: 1;
}
.block__head-item:hover {
	color: rgba(255, 255, 255, 1);
	border-bottom: 1px solid rgba(255, 255, 255, 1) !important;
}
.block__form {
	display: grid;
	gap: 50px;
}
.block__form-content {
	display: grid;
	justify-content: space-around;
	gap: 30px;
}
.block__form-title {
	width: 100%;
	text-align: center;
	color: rgba(255, 255, 255, 1);
	font-weight: 600;
	font-size: 32px;
	line-height: 34px;
}
.block__form-button {
	display: grid;
	gap: 20px;
}
.block__form-terms {
	color: rgba(255, 255, 255, 0.5);
	font-weight: 400;
	font-size: 16px;
	line-height: 22px;
}
.block__form-terms a {
	border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
	color: rgba(255, 255, 255, 0.5);
}
.block__form-terms a:hover {
	border-color: rgba(255, 255, 255, 1) !important;
	color: rgba(255, 255, 255, 1);
}

.radio-item {
	display: inline-block;
	position: relative;
	padding: 0 6px;
	margin: 10px 0 0;
}

.radio-item input[type='radio'] {
	display: none;
}

.radio-item label {
	color: white;
	font-weight: normal;
	font-size: 19px;
}

.radio-item label:before {
	content: " ";
	display: inline-block;
	position: relative;
	top: 5px;
	margin: 0 5px 0 0;
	width: 20px;
	height: 20px;
	border-radius: 11px;
	border: 2px solid #004c97;
	background-color: transparent;
}

.radio-item input[type=radio]:checked + label:after {
	border-radius: 11px;
	width: 12px;
	height: 12px;
	position: absolute;
	top: 9px;
	left: 10px;
	content: " ";
	display: block;
	background: #004c97;
}

.input-custom {
	width: 100%;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
	margin-bottom: 10px;
}

.popup {
	position: relative;
	background: #FFF;
	color: black;
	padding: 20px;
	width: 700px;
	max-width: 100%;
	margin: 20px auto;
}