:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#102c43;background:#006b88;font-synthesis:none}*{box-sizing:border-box}body{margin:0}.login-page{position:relative;isolation:isolate;min-height:100vh;overflow:hidden;display:grid;place-items:center;padding:38px 20px;background:radial-gradient(ellipse at 50% 38%,#11b5d0 0%,#087e9e 36%,#034d6c 72%,#022e4a 100%)}.login-page:before,.login-page:after{content:"";position:absolute;z-index:-1;pointer-events:none;border:1px solid #4de5f0;opacity:.16;border-radius:50%;width:520px;height:520px;box-shadow:0 0 0 18px #00c9e422,0 0 0 38px #00c9e414,0 0 0 62px #00c9e40c}.login-page:before{left:-310px;top:22%}.login-page:after{right:-330px;bottom:-10%}.mandala{position:absolute;z-index:-1;width:280px;height:280px;border:2px solid #47d9e9;border-radius:50%;opacity:.12;pointer-events:none}.mandala:before,.mandala:after{content:"";position:absolute;inset:18px;border:2px dashed #7af3fa;border-radius:35% 65% 35% 65%;transform:rotate(45deg)}.mandala:after{transform:rotate(-45deg)}.mandala-one{left:-130px;top:28%}.mandala-two{right:-130px;bottom:12%}.login-shell{width:min(100%,650px);position:relative}.login-card{position:relative;margin-top:105px;padding:190px 54px 38px;background:linear-gradient(145deg,#fff 0%,#f4fbff 100%);border:1px solid #d9f7ff;border-radius:30px;box-shadow:0 28px 75px #001d345c,0 0 0 2px #31d7e866; text-align:center}.logo-wrap{position:absolute;top:-172px;left:50%;transform:translateX(-50%);width:340px;height:340px;display:grid;place-items:center}.brand-logo{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 12px 15px #002a3d80)}.eyebrow{font-size:11px;font-weight:850;letter-spacing:3px;color:#0786a7;margin:0 0 7px}.login-card h1{font-size:clamp(30px,5vw,43px);letter-spacing:-1.2px;margin:0;color:#0b2d4d;font-weight:800}.subtitle{font-size:17px;color:#34485a;margin:9px 0 10px;font-weight:600}.title-rule{display:flex;align-items:center;justify-content:center;gap:17px;margin:12px 0 25px;color:#079bbd}.title-rule span{height:2px;width:100px;background:linear-gradient(90deg,transparent,#05a9ce)}.title-rule span:last-child{transform:rotate(180deg)}.title-rule i{font-style:normal;font-size:22px}.login-card form{display:grid;gap:9px;text-align:left}.login-card form>label{font-size:13px;font-weight:700;color:#34495d;margin-top:7px}.input-wrap{height:57px;display:flex;align-items:center;gap:13px;padding:0 17px;border:1px solid #cbdbe5;border-radius:13px;background:#fafdff;box-shadow:0 3px 8px #123b5610}.input-wrap:focus-within{border-color:#079fc3;box-shadow:0 0 0 4px #079fc31c}.field-icon{font-size:22px;color:#8497a6}.input-wrap input{width:100%;height:100%;border:0;outline:0;background:transparent;font:inherit;font-size:16px;color:#16364d}.input-wrap input::placeholder{color:#8a98a5}.login-options{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 7px;font-size:13px}.remember{display:flex;align-items:center;gap:8px;color:#253e52}.remember input{width:17px;height:17px;accent-color:#078eaf}.forgot{color:#007fa8;font-weight:650;text-decoration:none}.forgot:hover{text-decoration:underline}.login-card button{height:58px;border:0;border-radius:13px;background:linear-gradient(100deg,#08a9d0,#00628d);color:white;font:inherit;font-size:19px;font-weight:750;letter-spacing:.2px;box-shadow:0 9px 18px #00678d36;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:13px;margin-top:6px;transition:transform .15s,filter .15s}.login-card button:hover{filter:brightness(1.07);transform:translateY(-1px)}.login-card button span{font-size:25px}.login-foot{display:flex;align-items:center;justify-content:center;gap:12px;color:#718999;font-size:12px;margin-top:29px}.login-foot span{color:#079bbd}.validation{color:#a42c2c;font-size:13px}.app-page{min-height:100vh;background:#f5f7fb}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:#073c59;color:#fff;padding:24px 16px}.side-brand{display:flex;align-items:center;gap:12px;font-weight:750;font-size:14px;padding:0 8px 28px}.side-brand small{display:block;color:#a9d4e1;font-size:9px;letter-spacing:1.5px;margin-top:4px}.sidebar nav{display:grid;gap:6px}.sidebar nav a{color:#d3eaf1;text-decoration:none;padding:12px 14px;border-radius:9px;font-size:14px}.sidebar nav a:hover{background:#ffffff16;color:#fff}.app-main{margin-left:250px;min-height:100vh}.topbar{height:68px;background:#fff;border-bottom:1px solid #e8ebf1;display:flex;align-items:center;justify-content:space-between;padding:0 34px;color:#68748a;font-size:13px}.page-content{padding:34px;max-width:1400px;margin:auto}.page-content h1{font-size:27px;margin:0 0 8px;color:#17233a}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:28px}.stat-card,.empty-state{background:#fff;border:1px solid #e8ebf1;border-radius:14px;padding:22px}.stat-card span,.stat-card small{display:block;color:#788399;font-size:13px}.stat-card strong{display:block;font-size:30px;margin:14px 0;color:#17233a}.stat-card small{font-size:11px}.stat-card .status{font-size:20px;color:#21845b}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.page-heading .button-link{margin:0}.empty-state{margin-top:22px;color:#7b8598}.button-link{margin-top:0;border-radius:10px;background:#087fa1}@media(max-width:760px){.login-page{padding:28px 16px}.login-shell{width:min(100%,520px)}.login-card{margin-top:80px;padding:150px 25px 30px;border-radius:24px}.logo-wrap{width:260px;height:260px;top:-132px}.login-card h1{font-size:32px}.subtitle{font-size:14px}.title-rule{margin-bottom:18px}.input-wrap{height:52px}.login-options{font-size:12px}.sidebar{position:static;width:auto;padding:14px}.sidebar nav{display:flex;overflow:auto}.sidebar nav a{white-space:nowrap}.app-main{margin-left:0}.topbar{padding:0 18px}.page-content{padding:22px 16px}.stat-grid{grid-template-columns:1fr}}

/* Database-driven support and contact footer */
.login-page-content{width:100%;display:flex;flex-direction:column;align-items:center;gap:24px}.support-contact{width:min(100%,650px);text-align:center;padding:18px 20px 8px;color:#eafaff;text-shadow:0 1px 2px #00334b80}.support-contact h2{margin:0 0 12px;font-size:13px;letter-spacing:2.6px;font-weight:850;color:#bff7ff}.support-contact .support-name{display:block;font-size:17px;font-weight:800;margin-bottom:8px;color:#fff}.support-contact p{margin:5px 0;font-size:14px;color:#e4f8ff}.support-contact a{color:#fff;text-decoration:none}.support-contact a:hover{text-decoration:underline}.support-contact .support-version{display:block;margin-top:9px;font-size:11px;color:#b6dce8}@media(max-width:760px){.login-page-content{gap:16px}.support-contact{padding:12px 10px 4px}.support-contact p{font-size:13px}}


/* Compact login layout: keep logo, form and support footer visible together */
.login-page{padding:22px 16px 18px;overflow-x:hidden;overflow-y:auto;}
.login-page-content{gap:8px;padding:8px 0;width:100%;}
.login-shell{width:min(100%,500px);}
.login-card{margin-top:76px;padding:104px 38px 25px;border-radius:25px;box-shadow:0 18px 48px #001d3452,0 0 0 2px #31d7e855;}
.logo-wrap{top:-88px;width:184px;height:184px;}
.brand-logo{width:100%;height:100%;object-fit:contain;}
.login-card .eyebrow{font-size:9px;letter-spacing:2.3px;margin-bottom:5px;}
.login-card h1{font-size:clamp(27px,4vw,34px);letter-spacing:-.7px;}
.login-card .subtitle{font-size:14px;margin:5px 0 6px;}
.title-rule{gap:12px;margin:7px 0 15px;}
.title-rule span{width:72px;}
.title-rule i{font-size:18px;}
.login-card form{gap:6px;}
.login-card form>label{font-size:12px;margin-top:4px;}
.input-wrap{height:46px;border-radius:11px;padding:0 13px;}
.input-wrap input{font-size:14px;}
.field-icon{font-size:19px;}
.login-options{font-size:12px;margin:7px 0 5px;}
.login-card button{height:48px;border-radius:11px;font-size:16px;margin-top:3px;}
.login-card button span{font-size:21px;}
.login-foot{font-size:10px;margin-top:15px;}
.support-contact{width:min(100%,500px);padding:9px 16px 4px;margin:0 auto 2px;text-shadow:0 1px 2px #00334b70;}
.support-contact h2{font-size:12px;letter-spacing:2px;margin-bottom:6px;}
.support-contact .support-name{font-size:15px;margin-bottom:4px;}
.support-contact p{font-size:12px;margin:3px 0;}
.support-contact .support-version{font-size:10px;margin-top:4px;}
.support-contact .support-unavailable{font-size:11px;color:#d6f3fb;}
@media(max-width:760px){
 .login-page{padding:16px 12px;}
 .login-page-content{gap:6px;}
 .login-shell{width:min(100%,440px);}
 .login-card{margin-top:65px;padding:94px 22px 22px;}
 .logo-wrap{top:-78px;width:160px;height:160px;}
 .login-card h1{font-size:28px;}
 .login-card .subtitle{font-size:13px;}
 .title-rule{margin-bottom:12px;}
 .input-wrap{height:44px;}
 .support-contact{padding:8px 8px 3px;}
}
@media(max-height:760px) and (min-width:761px){
 .login-page{padding-top:10px;padding-bottom:10px;}
 .login-card{margin-top:62px;padding-top:88px;padding-bottom:18px;}
 .logo-wrap{top:-72px;width:150px;height:150px;}
 .login-card .title-rule{margin:5px 0 10px;}
 .input-wrap{height:42px;}
 .login-card button{height:44px;}
 .login-foot{margin-top:10px;}
 .support-contact{padding-top:5px;}
}

/* Final viewport fit: no page scrollbar; keep login and support visible together */
html, body { width:100%; height:100%; margin:0; overflow:hidden; }
.login-page {
  width:100%; height:100vh; height:100dvh; min-height:0;
  padding:clamp(6px,1.2vh,12px) 14px;
  overflow:hidden;
  display:grid; place-items:center;
}
.login-page-content {
  width:min(100%, 520px); height:100%; max-height:100%; min-height:0;
  display:grid; grid-template-rows:minmax(0,1fr) auto;
  align-items:center; justify-items:center;
  gap:clamp(2px,0.7vh,7px); padding:0;
}
.login-shell {
  width:min(100%, 500px); min-height:0; max-height:100%;
  display:flex; align-items:center; justify-content:center;
}
.login-card {
  width:100%; margin:clamp(52px,7.5vh,76px) 0 0;
  padding:clamp(84px,10vh,100px) clamp(20px,4vw,38px) clamp(14px,2vh,22px);
  border-radius:23px;
}
.logo-wrap { top:clamp(-78px,-8vh,-62px); width:clamp(132px,18vh,164px); height:clamp(132px,18vh,164px); }
.login-card .eyebrow { margin-bottom:3px; }
.login-card h1 { font-size:clamp(25px,3.6vh,32px); }
.login-card .subtitle { font-size:clamp(12px,1.7vh,14px); margin:3px 0 4px; }
.title-rule { margin:5px 0 10px; }
.login-card form { gap:4px; }
.login-card form>label { margin-top:2px; font-size:11px; }
.input-wrap { height:clamp(37px,5.2vh,44px); }
.input-wrap input { font-size:13px; }
.login-options { margin:5px 0 3px; font-size:11px; }
.login-card button { height:clamp(40px,5.4vh,46px); font-size:15px; margin-top:2px; }
.login-foot { margin-top:clamp(7px,1.2vh,11px); font-size:10px; }
.support-contact {
  width:min(100%,500px); padding:3px 10px 2px; margin:0;
  line-height:1.25; text-align:center;
}
.support-contact h2 { margin:0 0 3px; font-size:11px; letter-spacing:1.8px; }
.support-contact .support-name { font-size:14px; margin:0 0 2px; }
.support-contact p { margin:2px 0; font-size:11px; }
.support-contact .support-version { margin-top:2px; font-size:9px; }
.support-contact .support-unavailable { margin:2px 0; font-size:10px; }
@media (max-height:700px) {
  .login-page { padding:4px 10px; }
  .login-card { margin-top:52px; padding-top:70px; padding-bottom:10px; }
  .logo-wrap { top:-62px; width:124px; height:124px; }
  .login-card .title-rule { margin:3px 0 7px; }
  .input-wrap { height:35px; }
  .login-card button { height:38px; }
  .login-foot { margin-top:5px; }
  .support-contact h2 { font-size:10px; }
  .support-contact p { font-size:10px; }
}
@media (max-width:480px) {
  .login-page-content { width:100%; }
  .login-card { padding-left:18px; padding-right:18px; }
  .support-contact { padding-left:4px; padding-right:4px; }
}


/* Final login viewport fit: keep the support footer visible without page scrolling */
html, body.login-page {
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden !important;
}
body.login-page {
    height: 100vh;
    height: 100dvh;
    padding: 8px 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.login-page-content {
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    padding: 0 !important;
    gap: 3px !important;
    justify-content: center !important;
    overflow: hidden !important;
}
.login-shell {
    flex: 0 1 auto;
    width: min(100%, 500px);
}
.login-card {
    margin-top: 58px !important;
    padding: 72px 30px 14px !important;
}
.logo-wrap {
    top: -62px !important;
    width: 124px !important;
    height: 124px !important;
}
.login-card .title-rule {
    margin: 5px 0 10px !important;
}
.login-card form {
    gap: 5px !important;
}
.login-card form > label {
    margin-top: 3px !important;
    font-size: 12px !important;
}
.login-card .input-wrap {
    height: 42px !important;
    min-height: 42px !important;
}
.login-card .login-options {
    margin: 4px 0 !important;
}
.login-card form button,
.login-card form [type="submit"] {
    min-height: 44px !important;
    height: 44px !important;
    margin-top: 3px !important;
}
.login-card .login-foot {
    margin-top: 9px !important;
    font-size: 10px !important;
}
.support-contact {
    flex: 0 0 auto;
    width: min(100%, 500px) !important;
    padding: 3px 8px 2px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    text-align: center !important;
}
.support-contact h2 {
    margin: 0 0 3px !important;
    font-size: 11px !important;
    letter-spacing: 1.8px !important;
}
.support-contact .support-name {
    margin: 0 0 2px !important;
    font-size: 13px !important;
}
.support-contact p {
    margin: 2px 0 !important;
    font-size: 11px !important;
}
.support-contact .support-version {
    margin-top: 2px !important;
    font-size: 10px !important;
}
@media (max-height: 700px) {
    body.login-page { padding: 4px 10px !important; }
    .login-card { margin-top: 48px !important; padding: 62px 26px 10px !important; }
    .logo-wrap { top: -54px !important; width: 108px !important; height: 108px !important; }
    .login-card h1 { font-size: 27px !important; }
    .login-card .subtitle { font-size: 12px !important; margin: 2px 0 3px !important; }
    .login-card .input-wrap { height: 38px !important; min-height: 38px !important; }
    .login-card form button,
    .login-card form [type="submit"] { height: 40px !important; min-height: 40px !important; }
    .login-card .login-foot { margin-top: 5px !important; }
}


/* Ganesh Booking Admin: restore document scrolling without changing login */
html {
    height: auto !important;
    min-height: 100%;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}
body.app-page {
    height: auto !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}
.app-page .app-main {
    min-height: 100vh;
}
.app-page .page-content {
    padding-bottom: 48px !important;
}
.app-page .sidebar {
    height: 100vh;
    overflow-y: auto !important;
    overscroll-behavior: contain;
}