/* Mahamaya login v3 - DigiLife-style split */
*{box-sizing:border-box}
html,body{height:100%;margin:0}
body.auth-login-v3{font-family:'Poppins',sans-serif;background:#fff;color:#1f2937;overflow-x:hidden}
.dl-shell{position:relative;display:flex;min-height:100vh}
.dl-left{position:relative;z-index:3;flex:0 0 47.3%;display:flex;align-items:center;justify-content:flex-end;padding:40px 0 40px 24px}
.dl-card{position:relative;overflow:hidden;width:564px;max-width:100%;margin-right:-72px;background:#fff;border-radius:10px;box-shadow:0 4px 18px rgba(0,0,0,.28);padding:48px 78px 46px}
.dl-card > *:not(.dl-cube){position:relative;z-index:1}
/* translucent cube shapes */
.dl-cube{position:absolute;pointer-events:none;width:110px;height:110px;background:
 linear-gradient(#fff,#fff) 50% 0/6px 100% no-repeat,
 linear-gradient(#fff,#fff) 0 50%/100% 6px no-repeat,
 rgba(191,219,254,.55);border-radius:14px;transform:skewY(-12deg) rotate(8deg)}
.dl-cube-card{top:-8px;right:-14px}
.dl-cube-bl{left:-40px;bottom:70px;width:150px;height:170px;z-index:1;opacity:.7}
/* brand */
.dl-brand{display:flex;align-items:center;gap:12px;margin-bottom:56px}
.dl-logo{width:52px;height:52px;object-fit:contain}
.dl-brand-text{display:flex;flex-direction:column;line-height:1}
.dl-name{font-size:36px;font-weight:700;color:#111;letter-spacing:-.5px}
.dl-tag{font-size:10px;color:#0a84ff;margin-top:4px;align-self:flex-end}
.dl-title{font-size:22px;font-weight:600;color:#1a1a1a;margin:0 0 26px}
.dl-label{display:block;font-size:13px;color:#2d2d2d;margin:0 0 7px 18px}
.dl-field{position:relative;margin-bottom:22px}
.dl-field .form-control{height:54px;background:#f2f2f2;border:1px solid #f2f2f2;border-radius:6px;padding:0 50px 0 18px;font-size:16px;font-family:'Poppins',sans-serif;color:#222;box-shadow:none}
.dl-field .form-control::placeholder{color:#8e8e8e}
.dl-field .form-control:focus{background:#fff;border-color:#0a84ff;box-shadow:0 0 0 3px rgba(10,132,255,.12)}
.dl-eye{position:absolute;right:16px;top:50%;transform:translateY(-50%);border:0;background:none;color:#3a3a3a;font-size:18px;padding:2px;line-height:1}
.dl-row{display:flex;justify-content:space-between;align-items:center;margin:4px 0 30px}
.dl-switch{display:flex;align-items:center;gap:10px;cursor:pointer;margin:0;user-select:none}
.dl-switch input{position:absolute;opacity:0;width:0;height:0}
.dl-slider{position:relative;width:44px;height:24px;border-radius:24px;background:#f0f0f0;transition:.2s;flex:0 0 auto}
.dl-slider::after{content:"";position:absolute;left:2px;top:2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:.2s}
.dl-switch input:checked + .dl-slider{background:#0a84ff}
.dl-switch input:checked + .dl-slider::after{transform:translateX(20px)}
.dl-switch input:focus-visible + .dl-slider{outline:2px solid #93c5fd}
.dl-switch-text{font-size:14px;color:#2d2d2d}
.dl-link{font-size:14px;color:#0a84ff;text-decoration:none}
.dl-link:hover{text-decoration:underline;color:#0066d6}
.dl-btn{height:46px;border:0;border-radius:6px;background:#0a84ff;color:#fff;font-weight:600;font-size:16px;font-family:'Inter','Poppins',sans-serif}
.dl-btn:hover,.dl-btn:focus{background:#0073e6;color:#fff}
.dl-btn:disabled{background:#4da3ff;color:#fff}
.dl-foot{text-align:center;font-size:13px;color:#555;margin:28px 0 0}
.dl-foot i{color:#0a84ff}
.dl-alert{font-size:13px;padding:10px 14px;border-radius:6px;margin-bottom:18px}
/* right */
.dl-right{position:relative;flex:1;overflow:hidden;background:linear-gradient(180deg,#3b82f6 0%,#3a7bf7 55%,#2f6ef5 100%);border-radius:0 34px 0 70px;display:flex;align-items:center;justify-content:center;padding:0 60px 0 130px}
.dl-skyline{position:absolute;inset:0;background:url("../images/login/event-decor-bg.jpg") center/cover no-repeat;z-index:0}
.dl-skyline::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(59,130,246,.80) 0%,rgba(58,123,247,.72) 55%,rgba(30,64,175,.82) 100%)}
.dl-ghost-brand{position:absolute;top:44px;right:46px;display:flex;align-items:center;gap:14px;opacity:.18;filter:brightness(0) invert(1)}
.dl-ghost-brand img{width:70px;height:70px;object-fit:contain}
.dl-ghost-brand span{display:block;font-size:52px;font-weight:700;color:#fff;line-height:1}
.dl-ghost-brand small{display:block;text-align:right;font-size:9px;color:#fff}
.dl-hero-text{position:relative;z-index:1;max-width:480px;text-align:center}
.dl-hero-text h1{font-family:'Inter','Poppins',sans-serif;font-weight:500;color:#fff;font-size:48px;line-height:1.22;letter-spacing:-.5px;text-align:left;margin:0 0 40px}
.dl-hero-text p{color:#fff;font-size:15px;margin:0;font-family:'Inter',sans-serif}
@media (max-width:1100px){.dl-card{margin-right:-40px;padding:40px 48px}.dl-hero-text h1{font-size:38px}.dl-right{padding-left:90px}}
@media (max-width:860px){.dl-shell{flex-direction:column}.dl-right{display:none}.dl-left{flex:1;justify-content:center;padding:24px}.dl-card{margin:0;padding:36px 26px;box-shadow:0 4px 18px rgba(0,0,0,.15)}.dl-cube-bl{display:none}.dl-brand{margin-bottom:34px}.dl-name{font-size:30px}}

/* login4: logo only + no horizontal scroll */
html,body{max-width:100%;overflow-x:hidden}
.dl-shell{max-width:100%;overflow-x:hidden;position:relative}
.dl-left,.dl-right{min-width:0}
.dl-brand{justify-content:flex-start}
.dl-logo{width:auto;height:64px;max-width:200px}
.dl-brand-text,.dl-ghost-brand span,.dl-ghost-brand small{display:none}
.dl-ghost-brand img{width:auto;height:90px}
.dl-cube-bl{left:0}
@media (max-width:860px){.dl-card{width:100%;max-width:520px}.dl-left{box-sizing:border-box;width:100%}}

/* login5: fit design to viewport - no page scroll */
html,body{height:100%;overflow:hidden}
.dl-shell{height:100vh;height:100dvh;min-height:0;overflow:hidden}
.dl-left{padding:clamp(12px,3vh,40px) 0 clamp(12px,3vh,40px) 24px;max-height:100%}
.dl-card{width:min(564px,40vw);margin-right:clamp(-72px,-4vw,-30px);padding:clamp(18px,4.2vh,48px) clamp(28px,4.6vw,78px) clamp(16px,4vh,46px);max-height:calc(100dvh - 24px)}
.dl-brand{margin-bottom:clamp(10px,3.6vh,56px)}
.dl-logo{height:clamp(38px,7vh,64px)}
.dl-title{font-size:clamp(17px,2.8vh,22px);margin-bottom:clamp(10px,2.4vh,26px)}
.dl-label{font-size:clamp(12px,1.7vh,13px);margin-bottom:clamp(3px,.7vh,7px)}
.dl-field{margin-bottom:clamp(10px,2.2vh,22px)}
.dl-field .form-control{height:clamp(38px,6.2vh,54px);font-size:clamp(14px,2vh,16px)}
.dl-row{margin:2px 0 clamp(12px,2.8vh,30px)}
.dl-btn{height:clamp(38px,5.6vh,46px)}
.dl-foot{margin-top:clamp(10px,2.6vh,28px);font-size:12px}
.dl-alert{padding:6px 12px;margin-bottom:clamp(8px,1.6vh,18px)}
.dl-cube-card{width:clamp(70px,11vh,110px);height:clamp(70px,11vh,110px)}
.dl-cube-bl{width:clamp(90px,15vh,150px);height:clamp(100px,17vh,170px);bottom:clamp(30px,7vh,70px)}
.dl-right{padding:0 clamp(30px,4vw,60px) 0 clamp(70px,9vw,130px)}
.dl-ghost-brand{top:clamp(18px,4vh,44px);right:clamp(20px,3vw,46px)}
.dl-ghost-brand img{height:clamp(50px,9vh,90px)}
.dl-hero-text h1{font-size:clamp(26px,min(3.4vw,6vh),48px);margin-bottom:clamp(16px,4vh,40px)}
.dl-hero-text p{font-size:clamp(13px,1.9vh,15px)}
@media (max-width:860px){html,body{overflow-y:auto}.dl-shell{height:auto;min-height:100dvh;overflow:visible}.dl-card{width:100%;margin:0;max-height:none}}
@media (max-height:560px) and (min-width:861px){html,body{overflow-y:auto}.dl-shell{height:auto;min-height:100dvh}}

/* login6: taller login card filling viewport height */
.dl-left{padding-top:clamp(12px,4vh,48px);padding-bottom:clamp(12px,4vh,48px)}
.dl-card{min-height:calc(100dvh - clamp(24px,8vh,96px));max-height:calc(100dvh - 24px);display:flex;flex-direction:column;justify-content:center;padding-top:clamp(22px,6vh,72px);padding-bottom:clamp(20px,5.5vh,64px)}
.dl-brand{margin-bottom:clamp(14px,5vh,64px)}
.dl-logo{height:clamp(42px,8.5vh,80px)}
.dl-title{font-size:clamp(18px,3.1vh,26px);margin-bottom:clamp(12px,3.2vh,34px)}
.dl-label{margin-bottom:clamp(4px,1vh,10px)}
.dl-field{margin-bottom:clamp(12px,3vh,30px)}
.dl-field .form-control{height:clamp(40px,7vh,60px)}
.dl-row{margin-bottom:clamp(14px,3.6vh,40px)}
.dl-btn{height:clamp(40px,6.4vh,54px)}
.dl-foot{margin-top:clamp(12px,3.6vh,40px)}
@media (max-width:860px){.dl-card{min-height:0;max-height:none}}

/* login10: reduce login card height by 2px */
@media (min-width:861px){.dl-card{min-height:calc(95dvh - clamp(24px,8vh,96px) - 2px)}}

/* 20261028-login12: round-table + shamiyana decor accents replace cubes */
.dl-cube.dl-decor{background:none!important;box-shadow:none!important;border:0!important;transform:none;object-fit:contain;filter:saturate(.75) hue-rotate(-8deg) drop-shadow(0 4px 10px rgba(59,130,246,.18))}
.dl-cube-card.dl-decor{top:6px;right:6px;width:clamp(70px,12vh,120px);height:auto;opacity:.38;transform:rotate(8deg);z-index:0}
.dl-cube-bl.dl-decor{left:6px;bottom:clamp(24px,6vh,60px);width:clamp(100px,18vh,180px);height:auto;opacity:.5;z-index:1}
@media (max-width:860px){.dl-cube-card.dl-decor{opacity:.22}}

/* 20261028-login13: stronger, more visible corner decor */
.dl-cube.dl-decor{filter:saturate(1.05) contrast(1.05) drop-shadow(0 6px 14px rgba(15,23,42,.28))!important;mix-blend-mode:normal}
.dl-cube-card.dl-decor{width:clamp(90px,15vh,150px);opacity:.85}
.dl-cube-bl.dl-decor{width:clamp(130px,22vh,220px);opacity:.88}
@media (max-width:860px){.dl-cube-card.dl-decor{opacity:.6;width:clamp(70px,11vh,110px)}.dl-cube-bl.dl-decor{opacity:.65;width:clamp(90px,15vh,150px)}}

/* 20261028-login14: draped shawl + floral garland top-right corner */
.dl-cube-card.dl-decor.dl-shawl{top:0!important;right:0!important;width:clamp(120px,24vh,220px)!important;height:auto;opacity:.92!important;transform:none!important;z-index:0;filter:drop-shadow(0 6px 12px rgba(15,23,42,.18))!important;pointer-events:none;border-top-right-radius:inherit}
@media (max-width:860px){.dl-cube-card.dl-decor.dl-shawl{width:clamp(80px,14vh,130px)!important;opacity:.7!important}}

/* login15: vivid round table */
.dl-cube-bl.dl-decor{width:clamp(150px,26vh,260px)!important;opacity:.95!important;filter:saturate(1.6) contrast(1.2) brightness(1.03) drop-shadow(0 8px 16px rgba(15,23,42,.3))!important;mix-blend-mode:normal!important}
@media (max-width:860px){.dl-cube-bl.dl-decor{opacity:.85!important;width:clamp(100px,17vh,170px)!important}}

/* login16: real photo round table, original size, natural colors (no saturate/contrast) */
.dl-cube-bl.dl-decor{width:clamp(130px,22vh,220px)!important;opacity:.85!important;filter:drop-shadow(0 6px 12px rgba(15,23,42,.22))!important;mix-blend-mode:normal!important}
@media (max-width:860px){.dl-cube-bl.dl-decor{opacity:.65!important;width:clamp(90px,15vh,150px)!important}}
