/* Container & Background */
.preorder-wrapper {
    background: #fff;
    display: flex;
    align-items: center;
}

.preorder-wrapper .container-fluid {
    max-width: 1200px;
    background: transparent;
    margin: 0 auto;
}

/* LEFT SIDE - Content & Collage */
.preorder-left {
    display: flex;
}

.preorder-badge {
    background: rgba(255, 255, 255, 0.5);
    /* color: #00aeef; */
	color: #fff;
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    width: fit-content;
    margin-bottom: 20px;
}

.phone-title {
    font-size: 45px;
    font-weight: 800;
    line-height: 1;
    /*  color: #1a1a1a; */
	color: #fff;
    margin-bottom: 20px;
}

.phone-title span {
    display: block;
    font-weight: 300;
    color: #444;
}

.phone-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.4;
}

/* THE COLLAGE - Fan effect */
.phone-collage {
    position: relative;
    height: 450px;
    margin-top: 30px;
    z-index: 1;
}

.collage-card {
    position: absolute;
    width: 260px; /* Adjust based on your image aspect ratio */
    transition: transform 0.3s ease;
}

.collage-card img {
    width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

.card-1 { left: 0; top: 100px; z-index: 1; transform: rotate(-5deg); }
.card-2 { left: 110px; top: 40px; z-index: 2; transform: rotate(0deg); }
.card-3 { left: 240px; top: 0px; z-index: 3; transform: rotate(5deg); }

/* FEATURE BOX - The white floating bar */
.feature-box {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: auto;
    border: 1px solid white;
	position: absolute;
	bottom: 5%;
}

.feature-item { text-align: center; }
.feature-icon { font-size: 20px; color: #1d63ff; margin-bottom: 5px; }
.feature-item span { font-size: 11px; font-weight: 600; color: #333; display: block; line-height: 1.2; }

/* RIGHT SIDE - The White Form Card */
.preorder-right {
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-header { display: flex; align-items: center; margin-bottom: 30px; }
.preorder-header-icon { 
    background: #00aeef; color: white; 
    width: 45px; height: 45px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-right: 15px; font-size: 20px;
}
.form-header h2 { font-size: 28px; font-weight: 700; margin: 0; }
.form-header p { font-size: 14px; color: #777; margin: 0; }

/* FORM ELEMENTS */
.form-section h3 {
    font-size: 18px; font-weight: 600; color: #00aeef;
    margin: 25px 0 15px;
}

.color-options { display: flex; gap: 10px; }
.color-card {
    flex: 1; border: 1px solid #fafafa; border-radius: 12px;
    padding: 12px; display: flex; align-items: center;
    cursor: pointer; font-size: 14px; font-weight: 500;
}
.color-card:has(input:checked) { border-color: #00aeef; background: #f0f7ff; }
.color-dot { width: 14px; height: 14px; border-radius: 50%; margin-right: 8px; }

.modern-input {
    background: #fff; border: 1px solid #ddd;
    border-radius: 8px; height: 45px; width: 100%;
    padding: 0 15px; font-size: 14px; margin-bottom: 15px;
}

.submit-btn {
    background: #1d63ff; color: white; border: none;
    width: auto; height: 50px; border-radius: 8px;
    font-size: 16px; font-weight: 600; cursor: pointer;
	padding: 0 20px;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .phone-collage { height: 350px; margin: 20px auto; max-width: 400px; }
    .card-1, .card-2, .card-3 { width: 180px; }
    .card-2 { left: 80px; }
    .card-3 { left: 160px; }
    .phone-title { font-size: 30px; text-align: center; }
	
	.preorder-left {
		display: block;
		text-align: center !important;
	}
}

.customradio{
	visibility: hidden;
}

.bg-row{
    background-image: url('/preorders/fiber-room/assets/images/fiber-to-the-room01.jpg');
    /*background-size: cover;*/
    background-repeat: no-repeat;
	/*border-radius: 25px;*/
}

/* Container for the dot and text */
.color-card {
    display: flex;
    align-items: center; /* Vertically centers the dot with the text */
    justify-content: flex-start;
    cursor: pointer;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
    transition: all 0.2s ease;
}

/* The Green Dot */
.color-dot {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px; /* Space between dot and "Green" text */
    flex-shrink: 0; /* Prevents dot from squeezing on small screens */
}

/* Actual color value */
.color-dot.green {
    background-color: #C2E1DF; /* Matches the vibrant green in your reference */
}
.color-dot.gold {
    background-color: #E8DDCD; /* Matches the vibrant green in your reference */
}
.color-dot.black {
    background-color: #2A2A2B; /* Matches the vibrant green in your reference */
}
/* Hide the radio button completely */
.color-card input[type="radio"] {
    display: none;
}

.title_preorder{
	color: #000;
	font-weight: 500;
}

.invalid{
	color: red;
}

em[for=radiofinish]{
	color: red;	
	font-size: 14px;
	font-weight:400;
	position: absolute;	
	z-index: 99;
	height: 30px;
	margin-bottom: 10px;
	top: 205px;
	width: 230px;
	left: 20px;
}

@media (max-width: 767px){
	em[for=radiofinish]{
		color: red;	
		font-size: 14px;
		font-weight:400;
		position: absolute;	
		z-index: 99;
		height: 30px;
		margin-bottom: 10px;
		top: 220px;
		width: 230px;
		left: 18px;
	}	
}	

.preorder-consent {
    width:100%;
}

.consent-label {
    display:flex;
    align-items:flex-start;
    gap:10px;
    cursor:pointer;
    font-size:14px;
    line-height:1.5;
    color:#000;
}

.consent-label input[type="checkbox"] {
    width:18px;
    height:18px;
    margin-top:3px;
    flex-shrink:0;
    cursor:pointer;
}

.consent-label span {
    flex:1;
}

/* .consent-label a {
    color:#0066ff;
    text-decoration:underline;
} */

/*radio buttons*/
.color-options {
    display: flex;
    gap: 10px;
}

.color-card {
    flex: 1;
    border: 1px solid #fafafa;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    position: relative;
}

.color-card:has(input:checked) {
    border-color: #00aeef;
    background: #f0f7ff;
}


.sky-form .state-error + em {
	display: none;
	margin-top: 6px;
	padding: 0 1px;
	font-style: normal;
	font-size: 11px;
	line-height: 15px;
	color: #ee9393;
}
.sky-form .state-error input, .sky-form .state-error select, .sky-form .state-error select + i, .sky-form .state-error textarea, .sky-form .radio.state-error i, .sky-form .checkbox.state-error i, .sky-form .toggle.state-error i, .sky-form .toggle.state-error input:checked + i {
	background: #fff;
}

em{
	color: red;	
	font-size: 15px;	
	z-index: 99;
	height: 30px;	
	font-weight: 500;
}

em[for=termsConsent]{
	margin-left: 0;
    margin-top: 50px;
    position: absolute;
}

.preorderterms{
	font-size: 11px;
	color:#000;
}
