/* โโ FADE IN โโ */
@keyframes dlxFadeIn {
from{opacity:0;transform:translateY(8px)}
to{opacity:1;transform:translateY(0)}
}
.fade-in{opacity:0;animation:dlxFadeIn 1.1s ease forwards}
/* โโ OUTER WRAPPER โโ */
.dlx-wide-widget{
display:grid;
grid-template-columns:300px 1fr;
max-width:1060px;
margin:0 auto;
background:#ffffff;
border-radius:14px;
box-shadow:0 12px 40px rgba(0,0,0,0.1);
overflow:hidden;
font-family:'Inter',sans-serif;
}
/* โโ LEFT PANEL โโ */
.dlx-panel-left{
background:#08151F;
padding:36px 30px;
display:flex;
flex-direction:column;
gap:0;
border-right:2px solid #C9A86A;
}
/* Logo */
.dlx-logo img{
width:130px;
display:block;
margin:0 auto 22px;
object-fit:contain;
}
/* Left headline */
.dlx-left-title{
font-size:20px;
font-weight:700;
color:#ffffff;
line-height:1.25;
margin-bottom:12px;
text-align:center;
}
.dlx-left-title em{
font-style:italic;
color:#C9A86A;
display:block;
}
/* Left sub */
.dlx-left-sub{
font-size:13px;
color:rgba(255,255,255,0.55);
text-align:center;
line-height:1.65;
margin-bottom:0;
}
/* Divider */
.dlx-divider{
width:40px;height:2px;
background:linear-gradient(90deg,#C9A86A,#E2C272);
margin:22px auto;
flex-shrink:0;
}
/* Trust list */
.dlx-trust-list{
display:flex;flex-direction:column;
gap:16px;margin-bottom:28px;
}
.dlx-trust-row{
display:flex;align-items:flex-start;gap:12px;
}
.dlx-trust-dot{
width:8px;height:8px;
background:#C9A86A;
flex-shrink:0;
margin-top:5px;
}
.dlx-trust-title{
font-size:13px;font-weight:700;
color:#ffffff;line-height:1.2;
}
.dlx-trust-desc{
font-size:11px;font-weight:400;
color:rgba(255,255,255,0.42);
margin-top:2px;
line-height:1.4;
}
/* Agent row */
.dlx-agent{
display:flex;align-items:center;gap:12px;
padding-top:22px;
border-top:1px solid rgba(255,255,255,0.1);
margin-top:auto;
}
.dlx-agent-img{
width:48px;height:48px;
border-radius:50%;
object-fit:cover;
border:2px solid #C9A86A;
flex-shrink:0;
}
.dlx-agent-name{
font-size:15px;font-weight:700;color:#ffffff;
}
.dlx-agent-role{
font-size:10px;font-weight:600;
color:#C9A86A;letter-spacing:.06em;
margin-top:3px;
}
.dlx-agent-co{
font-size:10px;font-weight:400;
color:rgba(255,255,255,0.4);
margin-top:2px;
}
/* โโ RIGHT PANEL โโ */
.dlx-panel-right{
padding:36px 36px 28px;
background:#ffffff;
display:flex;
flex-direction:column;
}
/* Sections */
.dlx-section{margin-bottom:18px}
/* Labels */
.dreamlux-label{
font-weight:600;
font-size:13px;
margin-bottom:8px;
display:block;
color:#1a1a1a;
}
/* Button groups */
.dreamlux-options{
display:flex;flex-wrap:wrap;gap:8px;
}
.option-btn,.timeline-btn{
flex:1;
padding:10px 12px;
border:1px solid #C9A86A;
border-radius:8px;
background:#ffffff;
color:#000;
cursor:pointer;
font-size:13px;
font-weight:500;
transition:.2s;
white-space:nowrap;
}
.option-btn:hover,.timeline-btn:hover{
background:rgba(201,168,106,0.15);
}
.option-btn.active,.timeline-btn.active{
background:#C9A86A;
color:#000;
border:1px solid #000;
font-weight:700;
}
/* Two-column form rows */
.dlx-row-2{
display:grid;
grid-template-columns:1fr 1fr;
gap:12px;
margin-bottom:12px;
}
/* Form fields */
.dreamlux-form input,
.dreamlux-form select{
width:100%;
padding:12px 14px;
border-radius:8px;
border:1px solid #ddd;
font-size:14px;
font-family:'Inter',sans-serif;
color:#1a1a1a;
background:#fff;
transition:.2s;
appearance:none;
-webkit-appearance:none;
}
.dreamlux-form input:focus,
.dreamlux-form select:focus{
border-color:#C9A86A;
box-shadow:0 0 0 3px rgba(201,168,106,0.2);
outline:none;
}
.dreamlux-form input::placeholder{color:rgba(0,0,0,0.3)}
/* CTA */
.dreamlux-cta{
width:100%;
background:#C9A86A;
color:#000000;
padding:15px 20px;
font-size:15px;
font-weight:700;
border:none;
border-radius:10px;
cursor:pointer;
margin-top:6px;
margin-bottom:16px;
transition:.2s;
letter-spacing:.02em;
box-shadow:0 4px 16px rgba(201,168,106,0.35);
}
.dreamlux-cta:hover{
background:#b8955f;
transform:translateY(-2px);
box-shadow:0 6px 24px rgba(201,168,106,0.5);
}
/* Compliance */
.dreamlux-compliance{
font-size:11px;
color:#999;
text-align:center;
line-height:1.65;
margin-top:auto;
}
/* โโ RESPONSIVE โโ */
@media(max-width:820px){
.dlx-wide-widget{grid-template-columns:1fr}
.dlx-panel-left{border-right:none;border-bottom:2px solid #C9A86A;padding:32px 28px}
.dlx-trust-list{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.dlx-agent{margin-top:24px}
}
@media(max-width:560px){
.dlx-row-2{grid-template-columns:1fr}
.dlx-trust-list{grid-template-columns:1fr}
.dlx-panel-right{padding:28px 20px}
.dlx-left-title{font-size:18px}
}
document.querySelectorAll('.dreamlux-options').forEach(group=>{
group.querySelectorAll('.option-btn').forEach(btn=>{
btn.addEventListener('click',()=>{
group.querySelectorAll('.option-btn').forEach(b=>b.classList.remove('active'));
btn.classList.add('active');
});
});
});
document.querySelectorAll('.timeline-btn').forEach(btn=>{
btn.addEventListener('click',()=>{
btn.parentNode.querySelectorAll('.timeline-btn').forEach(b=>b.classList.remove('active'));
btn.classList.add('active');
});
});