/* 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: var(--myt-blue);
    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;
    /* 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;
    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); */
	box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.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: 20px; color: var(--myt-black);
    margin: 25px 0 15px;
}

.modern-input {
    background: #fff; border: 1px solid #ddd;
    border-radius: 8px; height: 45px; width: 100%;
    padding: 0 15px; font-size: 16px; margin-bottom: 15px;
	color: #8e8e8e!important;
}

.modern-input::placeholder {
    color: #8e8e8e!important;
}

.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;
    }
}

.bg-row{
    background-image: url('https://imgcdn.myt.mu/revolution/mobile/samsungzseries2026v2.jpg');
    background-repeat: no-repeat;
}

.title_preorder{
    color: #000;
    /* font-weight: 500; */
	font-size:14px;
	margin-bottom:5px;
}


.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;
}

.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;
}


/* ==========================================
   Radio Card Style
   (renamed from .option-card to .color-card
   to match the class actually used in the HTML)
   ========================================== */

.color-options {
    display: flex;
    gap: 15px;
    width: 100%;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.color-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    cursor: pointer;
    transition: .25s ease;
    box-sizing: border-box;
    min-height: 58px;
	line-height:23px;
	font-size: 16px;
}

.color-card:hover {
    border-color: var(--myt-blue);
}

/* Hide native radio */
.color-card input[type="radio"] {
    display: none;
}

/* Custom radio dot */
.color-dot-mytblue {
    width: 20px;
    height: 20px;
    border: 2px solid #153ED9;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.color-dot-mytblue::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #153ED9;
    transform: scale(0);
    transition: transform .2s ease;
}

/* Selected radio - fill the dot */
.color-card input[type="radio"]:checked + .color-dot-mytblue::after {
    transform: scale(1);
}

/* Selected card - highlight border/background */
.color-card:has(input[type="radio"]:checked) {
    border: 2px solid #153ED9;
    background: #F4F8FF;
}

.color-card span:last-child {
    font-size: 15px;
    font-weight: 500;
    color: #000;
}

@media (max-width:767px) {
    .color-options {
        flex-direction: column;
    }

    .color-card {
        width: 100%;
    }
	.bg-row{
		background-color:#F4F8FF!important;	
		background-image:none;
	}
}

.containerbox {
    flex-wrap: wrap; /* allow children to wrap to a new line */
}

.containerbox label.error {
    flex-basis: 100%;   /* forces it to take the full row width */
    width: 100%;
    order: 999;         /* make sure it always renders last, after the color-cards */
    display: block;
    margin-top: 8px;
    color: #d9534f;
    font-size: 0.85rem;
}

.containerbox {
    position: relative; /* creates a local positioning boundary so any stray absolute rule can't escape past this box */
}

.containerbox + em.state-error,
.containerbox ~ em.state-error {
    position: static !important; /* neutralize any inherited position:absolute */
    display: block !important;
    width: 100%;
    clear: both;
    margin-top: 6px;
}