@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

.gateway {
	flex-direction: column;
    background: url('../img/gateway-bg.jpg');
    background-size: cover;
    background-position: 100% 100%;
    background-repeat: no-repeat;
	color: #fff;
    position: relative;
    padding: 15px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 14px;
    font-style: normal;
}

.gateway:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
    background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.45) 100%);
    position: absolute;
    top: 0;
    left: 0;
}

.gateway__inner {
	display: flex;
    flex-direction: column;
	align-items: start;
	justify-content: space-between;
    flex-wrap: wrap;
	width: 100%;
	box-sizing: border-box;
    position: relative;
    background: rgba(0, 0, 0, .5);
    border: 3px solid #ff8906;
    border-radius: 15px;
    padding: 30px;
    gap: 30px;
}

.gateway__form,
.gateway__details {
	width: 100%;
}

.gateway__nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
}

.gateway__nav-link {
    padding: 13px 26px;
    border: 3px solid transparent;
    color: #ccc;
    font-weight: 500;
    transition: color .3s ease-in-out;
    border-radius: 15px;
}

.gateway__nav-link:not(.active):hover {
    color: #ff8906;
}

.gateway__nav-link.active {
    color: #fff;
    border-color: #ff8906;
    background: rgba(0, 0, 0, .5);
}

.gateway__form:not(.active) {
    display: none;
}

.gateway__form-title {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 30px;
    justify-self: center;
}

.gateway__form-title-icon {
	max-width: 35px;
	margin-right: 15px;
    flex-shrink: 0;
}

.gateway__form-group {
    margin-bottom: 15px;
}

.gateway__form-reminder {
    line-height: 20px;
}

.gateway__form-reminder a {
    display: block;
    color: #ff8906;
    font-weight: 400;
}

.gateway__form-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;
    margin-bottom: 15px;
    gap: 15px;
}

.gateway__form-label {
	display: block;
    font-weight: 400;
    margin-bottom: 10px;
}

.gateway__form-label:after {
	content: ':';
}

.gateway__form-control {
    width: 100%;
    border: 0;
    background: rgba(255, 255, 255, .3);
    border: 0!important;
    color: inherit!important;
    padding: 13px 26px!important;
    border-radius: 15px;
    font-size: inherit!important;
}

.gateway__form-control:focus {
    box-shadow: none!important;
    -webkit-box-shadow: none!important;
}

.gateway__agreement {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: flex-start;
    margin-top: 15px;
}

.gateway__agreement-control {
    display: block;
    margin: 0 10px 0 0!important;
    height: 20px;
}

.gateway__agreement-control:focus {
    box-shadow: none!important;
    -webkit-box-shadow: none!important;
}

.gateway__agreement-label {
    margin: 0;
    font-weight: 400;
    line-height: 20px;
}

.gateway__agreement-label a {
    font-weight: 400;
    color: #ff8906;
}

.gateway__form-submit {
    padding: 13px 26px;
    border: 3px solid #ff8906!important;
    background: transparent!important;
    color: #fff!important;
    border-radius: 15px;
    font-weight: 500;
    transition: background .3s ease-in-out;
    cursor: pointer;
    width: 100%;
}

.gateway__form-submit:hover {
    background: #ff8906!important;
}

.gateway__details {
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: flex-start;
	gap: 30px;
    margin-bottom: 15px;
}

.gateway__detail {
	display: flex;
    flex-direction: column;
    align-items: start;
	justify-content: flex-start;
    flex-wrap: wrap;
}

.gateway__detail-icon {
	max-width: 35px;
    margin: 0 0 15px 0;
    flex-shrink: 0;
}

.gateway__detail-label {
	font-size: 16px;
	font-weight: 500;
    flex-grow: 1;
}

.gateway__detail-content {
    width: 100%;
    flex-shrink: 0;
    color: #ccc;
    flex-grow: 1;
    line-height: 23px;
}

@media screen and (min-width: 820px) {
    .gateway {
        padding: 30px 45px 60px 45px;
    }

    .gateway--fluid {
        padding: 45px;
    }

    .gateway__inner {
        flex-direction: row;
        gap: 0;
    }

    .gateway:not(.gateway--fluid) .gateway__form,
    .gateway:not(.gateway--fluid) .gateway__details {
        width: calc(100% / 2 - 30px);
    }

    .gateway__form-submit {
        width: auto;
    }

    .gateway__detail {
        flex-direction: row;
        align-items: center;
    }

    .gateway__detail-icon {
        margin: 0 15px 0 0;
    }

}
