/* auth.css - Desert Dry Welcome & Login (light Zoho-style) */

.dd-auth .dd-nav,
.dd-auth .dd-footer{
  display:none!important;
}

.dd-auth .dd-main-container{
  max-width:none!important;
  margin-top:0!important;
  padding:0!important;
}

:root{
  --dd-auth-gold:#FFC000;
  --dd-auth-gold-dark:#E0A800;
  --dd-auth-text:#111827;
  --dd-auth-muted:#6B7280;
  --dd-auth-soft:#F7F9FC;
  --dd-auth-border:#E5E7EB;
  --dd-auth-card:#FFFFFF;
  --dd-auth-shadow:0 14px 40px rgba(15,23,42,.08);
  --dd-auth-shadow-soft:0 8px 26px rgba(15,23,42,.06);
}

.dd-auth-wrap{
  min-height:100vh;
  color:var(--dd-auth-text);
  background:
    radial-gradient(900px 420px at 12% 12%, rgba(255,192,0,.15), transparent 60%),
    radial-gradient(760px 360px at 92% 10%, rgba(255,192,0,.10), transparent 58%),
    linear-gradient(180deg,#ffffff 0%,var(--dd-auth-soft) 100%);
}

.dd-auth-wrap-login{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:34px 16px;
}

.dd-auth-shell{
  width:min(1080px,100%);
  display:grid;
  grid-template-columns:1.06fr .94fr;
  gap:22px;
}

.dd-login-info,
.dd-login-panel{
  border:1px solid rgba(229,231,235,.9);
  background:rgba(255,255,255,.86);
  box-shadow:var(--dd-auth-shadow);
  border-radius:28px;
}

.dd-login-info{
  padding:42px;
  position:relative;
  overflow:hidden;
}

.dd-login-info:after{
  content:"";
  position:absolute;
  width:230px;
  height:230px;
  right:-90px;
  bottom:-92px;
  border-radius:50%;
  background:rgba(255,192,0,.16);
}

.dd-login-panel{
  padding:28px;
  display:flex;
  align-items:center;
}

.dd-auth-logo-link{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
}

.dd-auth-logo{
  display:block;
  width:min(280px,100%);
  height:auto;
  object-fit:contain;
}

.dd-auth-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:26px 0 12px;
  padding:7px 12px;
  border:1px solid rgba(255,192,0,.34);
  border-radius:999px;
  background:rgba(255,192,0,.10);
  color:#7A5A00;
  font-size:12px;
  font-weight:800;
  letter-spacing:.35px;
  text-transform:uppercase;
}

.dd-auth-title,
.dd-welcome-hero h1{
  margin:0;
  font-weight:900;
  letter-spacing:-.45px;
  color:var(--dd-auth-text);
}

.dd-auth-title{
  font-size:38px;
  line-height:1.05;
}

.dd-auth-lead,
.dd-welcome-hero p{
  color:#344054;
  font-size:16px;
  line-height:1.65;
  margin:14px 0 0;
}

.dd-auth-feature-pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}

.dd-auth-feature-pills span{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border:1px solid var(--dd-auth-border);
  border-radius:999px;
  background:#fff;
  color:#344054;
  font-size:13px;
  font-weight:800;
  box-shadow:0 6px 16px rgba(15,23,42,.04);
}

.dd-auth-info-card{
  margin-top:30px;
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:16px;
  border:1px solid rgba(229,231,235,.95);
  border-radius:18px;
  background:#fff;
  box-shadow:var(--dd-auth-shadow-soft);
  max-width:510px;
}

.dd-auth-info-icon{
  width:42px;
  height:42px;
  flex:0 0 42px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:rgba(255,192,0,.14);
  color:#9A7200;
  font-size:20px;
}

.dd-auth-info-title{
  font-weight:900;
  margin-bottom:3px;
}

.dd-auth-info-text{
  color:var(--dd-auth-muted);
  font-size:13px;
  line-height:1.5;
}

.dd-auth-card{
  width:100%;
  border:1px solid var(--dd-auth-border);
  border-radius:24px;
  box-shadow:var(--dd-auth-shadow-soft);
  background:#fff;
  padding:28px;
}

.dd-login-card-head{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:22px;
}

.dd-mini-mark{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:linear-gradient(135deg,var(--dd-auth-gold),#FFD966);
  color:#111827;
  font-weight:950;
  box-shadow:0 12px 24px rgba(255,192,0,.24);
}

.dd-auth-card h2{
  margin:0 0 3px;
  font-weight:900;
  color:var(--dd-auth-text);
}

.dd-auth-card p{
  margin:0;
}

.dd-login-form .form-label{
  color:#374151;
  font-size:13px;
}

.dd-input,
.dd-login-form .form-control{
  border-radius:14px;
  border:1px solid #D7DEE8;
  padding:12px 13px;
  background:#FBFCFE;
  transition:all .18s ease;
}

.dd-input:focus,
.dd-login-form .form-control:focus{
  border-color:var(--dd-auth-gold);
  box-shadow:0 0 0 .22rem rgba(255,192,0,.16);
  background:#fff;
}

.btn-dd-primary,
.dd-signin-btn{
  border:0;
  border-radius:14px;
  background:linear-gradient(135deg,var(--dd-auth-gold),#FFD966);
  color:#111827;
  font-weight:900;
  box-shadow:0 12px 24px rgba(255,192,0,.22);
}

.btn-dd-primary:hover,
.btn-dd-primary:focus{
  background:linear-gradient(135deg,var(--dd-auth-gold-dark),var(--dd-auth-gold));
  color:#111827;
}

.dd-auth-card-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px;
  color:var(--dd-auth-muted);
  font-size:12px;
}

.dd-auth-card-footer a{
  color:#7A5A00;
  text-decoration:none;
  font-weight:800;
}

.dd-auth-card-footer a:hover{
  text-decoration:underline;
}

/* Welcome page */
.dd-welcome-wrap{
  padding:28px 16px 44px;
}

.dd-welcome-shell{
  width:min(1160px,100%);
  margin:0 auto;
}

.dd-welcome-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:16px 18px;
  border:1px solid rgba(229,231,235,.85);
  border-radius:24px;
  background:rgba(255,255,255,.90);
  box-shadow:var(--dd-auth-shadow-soft);
}

.dd-welcome-logo{
  width:min(300px,58vw);
  height:auto;
  display:block;
}

.dd-welcome-nav-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

.dd-secure-badge{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 12px;
  border-radius:999px;
  background:#F3F4F6;
  color:#374151;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
}

.dd-login-top-btn{
  padding:9px 18px;
}

.dd-welcome-hero{
  margin-top:22px;
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:22px;
  align-items:stretch;
}

.dd-welcome-hero-content,
.dd-welcome-hero-card{
  border:1px solid rgba(229,231,235,.9);
  background:rgba(255,255,255,.9);
  box-shadow:var(--dd-auth-shadow);
  border-radius:30px;
}

.dd-welcome-hero-content{
  padding:48px;
}

.dd-welcome-hero h1{
  font-size:46px;
  line-height:1.03;
}

.dd-welcome-actions{
  margin-top:26px;
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.dd-welcome-note{
  color:var(--dd-auth-muted);
  font-size:13px;
  font-weight:800;
}

.dd-welcome-hero-card{
  padding:34px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  overflow:hidden;
  background:
    linear-gradient(135deg,rgba(255,192,0,.13),rgba(255,255,255,.94)),
    #fff;
}

.dd-welcome-hero-logo{
  width:100%;
  max-width:430px;
  height:auto;
  display:block;
}

.dd-hero-card-line{
  width:72px;
  height:5px;
  border-radius:999px;
  background:var(--dd-auth-gold);
  margin:28px 0 14px;
}

.dd-welcome-hero-card p{
  color:#344054;
  font-weight:700;
  margin:0;
}

.dd-welcome-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-top:22px;
}

.dd-auth-module-card{
  border:1px solid rgba(229,231,235,.92);
  border-radius:22px;
  background:#fff;
  padding:22px;
  box-shadow:var(--dd-auth-shadow-soft);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.dd-auth-module-card:hover{
  transform:translateY(-2px);
  border-color:rgba(255,192,0,.55);
  box-shadow:0 16px 32px rgba(15,23,42,.09);
}

.dd-auth-module-card i{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:rgba(255,192,0,.13);
  color:#9A7200;
  font-size:21px;
  margin-bottom:14px;
}

.dd-auth-module-card h3{
  font-size:17px;
  margin:0 0 7px;
  font-weight:900;
}

.dd-auth-module-card p{
  margin:0;
  color:var(--dd-auth-muted);
  line-height:1.5;
  font-size:13px;
}

.text-muted-2{ color:var(--dd-auth-muted)!important; }

@media (max-width:960px){
  .dd-auth-shell,
  .dd-welcome-hero{ grid-template-columns:1fr; }
  .dd-login-panel{ padding:24px; }
  .dd-login-info{ padding:34px; }
  .dd-auth-title{ font-size:32px; }
  .dd-welcome-hero h1{ font-size:38px; }
  .dd-welcome-grid{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:640px){
  .dd-auth-wrap-login{ padding:18px 12px; }
  .dd-login-info,
  .dd-login-panel,
  .dd-auth-card,
  .dd-welcome-hero-content,
  .dd-welcome-hero-card{ padding:22px; border-radius:22px; }
  .dd-auth-logo{ width:230px; }
  .dd-auth-title{ font-size:28px; }
  .dd-welcome-nav{ align-items:flex-start; flex-direction:column; }
  .dd-welcome-nav-actions{ width:100%; justify-content:space-between; }
  .dd-welcome-logo{ width:min(250px,84vw); }
  .dd-welcome-hero h1{ font-size:31px; }
  .dd-welcome-grid{ grid-template-columns:1fr; }
  .dd-secure-badge{ font-size:12px; }
}

/* Welcome page - simple one-window redesign */
.dd-welcome-simple-wrap{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px 16px;
  background:
    radial-gradient(680px 360px at 18% 16%, rgba(255,192,0,.14), transparent 62%),
    radial-gradient(560px 320px at 82% 12%, rgba(255,192,0,.09), transparent 60%),
    linear-gradient(180deg,#ffffff 0%,#f7f9fc 100%);
}

.dd-welcome-simple-card{
  width:min(720px,100%);
  min-height:min(640px,calc(100vh - 56px));
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:46px 44px;
  border:1px solid rgba(229,231,235,.92);
  border-radius:34px;
  background:rgba(255,255,255,.94);
  box-shadow:0 18px 48px rgba(15,23,42,.09);
  position:relative;
  overflow:hidden;
}

.dd-welcome-simple-card:before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:7px;
  background:linear-gradient(90deg,#FFC000,#FFD966,#FFC000);
}

.dd-welcome-simple-card:after{
  content:"";
  position:absolute;
  width:210px;
  height:210px;
  right:-110px;
  bottom:-118px;
  border-radius:50%;
  background:rgba(255,192,0,.13);
  pointer-events:none;
}

.dd-welcome-simple-logo{
  width:min(260px,72vw);
  height:auto;
  display:block;
  object-fit:contain;
  margin:0 auto 22px;
  position:relative;
  z-index:1;
}

.dd-welcome-simple-divider{
  width:76px;
  height:4px;
  border-radius:999px;
  background:#FFC000;
  margin:0 auto 24px;
  position:relative;
  z-index:1;
}

.dd-welcome-simple-kicker{
  margin:0 0 10px;
  color:#7A5A00;
  font-size:12px;
  font-weight:900;
  letter-spacing:.34px;
  text-transform:uppercase;
  position:relative;
  z-index:1;
}

.dd-welcome-simple-card h1{
  max-width:610px;
  margin:0;
  color:#111827;
  font-size:40px;
  line-height:1.08;
  font-weight:950;
  letter-spacing:-.7px;
  position:relative;
  z-index:1;
}

.dd-welcome-simple-quote{
  max-width:620px;
  margin:20px 0 0;
  color:#344054;
  font-size:17px;
  line-height:1.65;
  font-weight:650;
  position:relative;
  z-index:1;
}

.dd-welcome-simple-time{
  width:min(520px,100%);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin:28px 0 0;
  position:relative;
  z-index:1;
}

.dd-welcome-simple-time > div{
  padding:14px 16px;
  border:1px solid #E5E7EB;
  border-radius:18px;
  background:#FBFCFE;
  box-shadow:0 8px 22px rgba(15,23,42,.045);
}

.dd-time-label{
  display:block;
  margin-bottom:4px;
  color:#6B7280;
  font-size:11px;
  font-weight:900;
  letter-spacing:.28px;
  text-transform:uppercase;
}

.dd-welcome-simple-time strong{
  display:block;
  color:#111827;
  font-size:15px;
  font-weight:900;
}

.dd-welcome-simple-login{
  margin-top:30px;
  padding:13px 26px;
  border-radius:16px;
  position:relative;
  z-index:1;
}

.dd-welcome-simple-note{
  margin:16px 0 0;
  color:#6B7280;
  font-size:12px;
  font-weight:800;
  position:relative;
  z-index:1;
}

@media (max-width:640px){
  .dd-welcome-simple-wrap{ padding:18px 12px; }
  .dd-welcome-simple-card{
    min-height:calc(100vh - 36px);
    padding:34px 22px;
    border-radius:26px;
  }
  .dd-welcome-simple-logo{ width:min(210px,78vw); margin-bottom:18px; }
  .dd-welcome-simple-card h1{ font-size:30px; }
  .dd-welcome-simple-quote{ font-size:15px; }
  .dd-welcome-simple-time{ grid-template-columns:1fr; }
}
