@import url('../../js/sweetalertsjs/sweetalert2.min.css');

/* banner */

section.banner {
	margin-top: 79px;
	width: 100%;
	background-color: #f0f0f0;
	position: relative;
	padding: 0;
}

.banner .img-container {
	position: relative;
	width: 100%;
	height: 100%;
	max-width: 1920px;
	margin: 0 auto;
}

.banner .img-container::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 5%;
	height: 100%;
	background: linear-gradient(to right,
		rgba(0, 0, 0, 0.5) 0%,
		rgba(0, 0, 0, 0) 100%
	);
}

.banner .img-container::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 5%;
	height: 100%;
	background: linear-gradient(to left,
		rgba(0, 0, 0, 0.5) 0%,
		rgba(0, 0, 0, 0) 100%
	);
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* banner end */

/* title and subtitle */

.title {
	text-transform: uppercase;
	text-align: center;
}

.subtitle {
	font-size: 1.625rem;
	text-align: center;
}

/* form */

.form-section {
	padding-top: 20px;
}

.radio-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 56px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.radio-row {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

.radio-button {
    flex: 0 0 calc(50% - 10px);
    position: relative;
    cursor: pointer;
    display: block;
}

.radio-button input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 3;
    margin: 0;
    padding: 0;
}

.radio-button-spacer {
    cursor: default;
}

.radio-label {
    display: block;
    padding: 15px 20px 15px 50px;
    border: 1px solid #E6E6E6;
    border-radius: 8px;
    color: #666;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.radio-label::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #E6E6E6;
    background: white;
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.radio-button input[type="radio"]:checked + .radio-label {
    border-color: #00A650;
}

.radio-button input[type="radio"]:checked + .radio-label::before {
    border-color: #00A650;
}

.radio-button input[type="radio"]:checked + .radio-label::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00A650;
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.form-section .container {
	min-height: 970px;
}

.form-section .container #plans-and-maintenance-form {
	max-width: 800px;
	width: 100%;
	margin: 0 auto;

}

.form-description {
	font-size: 1.5rem;
	margin-bottom: 20px;
}

.form-section #plans-and-maintenance-form .form-inputs-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 25px;
    margin: 5px auto;
    width: 100%;
}

.form-section #plans-and-maintenance-form .row-form {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 23px;
	width: 100%;
}

.form-section #plans-and-maintenance-form .row-form.schedule {
	justify-content: center;
	margin-top: 20px;
	align-items: center;
}

.form-section #plans-and-maintenance-form .row-form .input {
	width: 100%;
	height: 100%;
	border-radius: 8px;
	border: 1px solid #666;
	padding: 16px;
	background: transparent;
	color: var(--text-grey);
}

.form-section #plans-and-maintenance-form .row-form .input-container {
	position: relative;
}

.form-section #plans-and-maintenance-form .row-form .input-container .input-error {
	position: absolute;
	bottom: -22px;
	left: 0;
	color: red;
	font-size: 0.75rem;
}

.form-section #plans-and-maintenance-form .row-form .input-container.large {
	flex: 1;
}

.form-section #plans-and-maintenance-form .row-form .input-container.small {
	flex: 0.5;
}

.form-section #plans-and-maintenance-form .schedule-selector-container {
    display: flex;
    gap: 10px;
}

.form-section #plans-and-maintenance-form .schedule-selector-container input[type="radio"] {
    display: none;
}

.form-section #plans-and-maintenance-form .schedule-selector-container label {
    padding: 10px 30px;
    background: #F5F5F5;
    border-radius: 4px;
    cursor: pointer;
    color: #666666;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 120px;
}

.form-section #plans-and-maintenance-form .schedule-selector-container input[type="radio"]:checked + label {
    background: #D9534F;
    color: white;
}

.form-section #plans-and-maintenance-form .schedule-selector-container label:hover {
    background: #E6E6E6;
}

.form-section #plans-and-maintenance-form .schedule-selector-container input[type="radio"]:checked + label:hover {
    background: #C9433F;
}

.row-form p {
    color: #666666;
    margin-bottom: 5px;
}

.form-section #plans-and-maintenance-form .btn-submit {
    background: #E40521;
    color: white;
    border: none;
    padding: 12px 100px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 400;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.form-section #plans-and-maintenance-form .btn-submit:hover {
    background: #C9433F;
    color: white;
}

/* Download Manual Button */
.form-section .container #download-manual {
	background: #E40521;
    color: white;
    border: none;
    padding: 12px 60px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 400;
    transition: background-color 0.2s ease;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-left: auto;
    margin-right: auto;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    min-width: 250px;
}

.form-section .container #download-manual svg {
    width: 20px;
    height: 20px;
    transition: none;
}

.form-section .container #download-manual span {
    transition: none;
}

.form-section .container #download-manual:hover {
    background: #C9433F;
}

.form-section .container #download-manual:active {
    background: #C9433F;
}

.form-section #plans-and-maintenance-form .input::placeholder {
	color: #666;
}

.form-section #plans-and-maintenance-form .input[required]::placeholder {
	position: relative;
}

.form-section #plans-and-maintenance-form .input[required]::placeholder::after {
	content: " *";
	color: red;
}

@media (max-width: 768px) {

	.title {
		font-size: 1.5rem;
		margin-bottom: 10px;
	}

	.subtitle {
		font-size: 1.25rem;
	}

	.banner .img-container::before,
	.banner .img-container::after {
		display: none;
	}

	.banner img {
		height: 400px;
	}

	.form-description {
		font-size: 1.25rem;
		margin-bottom: 10px;
	}

	.form-section #plans-and-maintenance-form .container {
		padding: 0 10px;
	}

	.form-section #plans-and-maintenance-form .row-form {
		flex-direction: column;
	}

	.form-section #plans-and-maintenance-form .row-form .input-container.small,
	.form-section #plans-and-maintenance-form .row-form .input-container.large {
		width: 100%;
	}

	.form-section #plans-and-maintenance-form .row-form .input-container.large {
		margin-top: 10px;
	}

	.form-section #plans-and-maintenance-form .row-form .input-container.small {
		margin-top: 10px;
	}

	.form-section #plans-and-maintenance-form .btn-submit {
		width: 100%;
	}

	/* Download Manual Button Mobile */
	.form-section .container #download-manual {
		width: 100%;
		padding: 15px 20px;
		min-width: auto;
		gap: 8px;
	}

	.form-section .container #download-manual svg {
		width: 18px;
		height: 18px;
	}

	.radio-buttons {
		margin-bottom: 20px;
	}

	.radio-row {
		flex-direction: column;
	}

	.radio-row .radio-button {
		width: 100%;
	}

	.radio-row .radio-button input[type="radio"]:checked + .radio-label {
		border-color: #00A650;
	}

	.radio-row .radio-button input[type="radio"]:checked + .radio-label::before {
		border-color: #00A650;
	}

}


