/* AstroDrishti Kundli Generator v6.0.0
   Deep Navy + Antique Gold + Warm Cream
   Fully scoped to .adk-* classes.
*/

.adk-kundli-shell,
.adk-kundli-shell *{box-sizing:border-box}

.adk-kundli-shell{
  --adk-navy:#07182d;
  --adk-navy-2:#0c2544;
  --adk-navy-3:#14345a;
  --adk-gold:#b9862f;
  --adk-gold-2:#d3a64c;
  --adk-gold-soft:#f0ce83;
  --adk-cream:#f8f1e5;
  --adk-cream-2:#fffaf0;
  --adk-white:#fff;
  --adk-ink:#17233a;
  --adk-muted:#6f7480;
  --adk-line:rgba(185,134,47,.24);
  --adk-shadow:0 24px 70px rgba(7,24,45,.12);

  width:min(1120px,calc(100% - 28px));
  max-width:100%;
  margin:28px auto;
  border:1px solid var(--adk-line);
  border-radius:28px;
  overflow:hidden;
  background:var(--adk-cream-2);
  color:var(--adk-ink);
  font-family:"Poppins",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  box-shadow:var(--adk-shadow);
}

.adk-kundli-shell button,
.adk-kundli-shell input,
.adk-kundli-shell select{font:inherit}

.adk-kundli-shell img,
.adk-kundli-shell svg{max-width:100%;height:auto}

.adk-kundli-top{
  position:relative;
  padding:clamp(28px,5vw,58px);
  text-align:center;
  color:#fff;
  overflow:hidden;
  background:
    radial-gradient(circle at 14% 12%,rgba(240,206,131,.22),transparent 26%),
    radial-gradient(circle at 88% 18%,rgba(211,166,76,.14),transparent 25%),
    linear-gradient(135deg,var(--adk-navy),var(--adk-navy-2) 58%,var(--adk-navy-3));
}

.adk-kundli-top:before,
.adk-kundli-top:after{
  content:"";
  position:absolute;
  width:250px;
  height:250px;
  border:1px solid rgba(240,206,131,.16);
  border-radius:50%;
  pointer-events:none;
}
.adk-kundli-top:before{left:-110px;top:-130px}
.adk-kundli-top:after{right:-115px;bottom:-150px}


.adk-topbar{
  position:relative;
  z-index:3;
  width:100%;
  max-width:100%;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  margin-bottom:14px;
}

.adk-back-home{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:38px;
  max-width:100%;
  padding:8px 13px;
  border:1px solid rgba(240,206,131,.32);
  border-radius:999px;
  color:#fff!important;
  background:rgba(255,255,255,.07);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  text-decoration:none!important;
  font-family:"Poppins",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:9.5px;
  font-weight:800;
  letter-spacing:.2px;
  line-height:1;
  white-space:nowrap;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  transition:transform .2s ease,background .2s ease,border-color .2s ease;
}

.adk-back-home:hover,
.adk-back-home:focus{
  color:var(--adk-navy)!important;
  background:var(--adk-gold-soft);
  border-color:var(--adk-gold-soft);
  transform:translateY(-1px);
  outline:none;
}

.adk-back-home span{
  font-size:14px;
  line-height:1;
}

.adk-kundli-brand{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-bottom:19px;
}

.adk-brand-mark{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border:1px solid rgba(240,206,131,.38);
  border-radius:14px;
  color:var(--adk-gold-soft);
  background:rgba(255,255,255,.07);
  font-size:20px;
}

.adk-kundli-brand span{
  display:block;
  color:#fff;
  font-family:"Cinzel",Georgia,serif;
  font-size:19px;
  font-weight:700;
  line-height:1.05;
  text-align:left;
}

.adk-kundli-brand small{
  display:block;
  margin-top:3px;
  color:var(--adk-gold-soft);
  font-size:8px;
  font-weight:700;
  letter-spacing:1.7px;
  text-transform:uppercase;
  text-align:left;
}

.adk-kicker{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:6px 12px;
  border:1px solid rgba(240,206,131,.28);
  border-radius:999px;
  color:var(--adk-gold-soft);
  background:rgba(255,255,255,.06);
  font-size:10px;
  font-weight:800;
  letter-spacing:1.5px;
  text-transform:uppercase;
}

.adk-kundli-top h2{
  position:relative;
  z-index:1;
  max-width:800px;
  margin:14px auto 12px;
  color:#fff;
  font-family:"Cinzel",Georgia,serif;
  font-size:clamp(31px,5vw,52px);
  line-height:1.1;
}

.adk-kundli-top>p{
  position:relative;
  z-index:1;
  max-width:760px;
  margin:0 auto;
  color:#cdd7e4;
  font-size:13px;
  line-height:1.85;
}

.adk-feature-row{
  position:relative;
  z-index:1;
  max-width:850px;
  margin:28px auto 0;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
}

.adk-feature-row span{
  min-width:0;
  padding:11px 9px;
  border:1px solid rgba(240,206,131,.15);
  border-radius:13px;
  color:#eef2f7;
  background:rgba(255,255,255,.055);
  font-size:9px;
  font-weight:700;
  overflow-wrap:anywhere;
}

.adk-feature-row b{
  display:inline-grid;
  place-items:center;
  width:24px;
  height:24px;
  margin-right:4px;
  border-radius:8px;
  color:var(--adk-navy);
  background:var(--adk-gold-soft);
  font-size:8px;
}

.adk-form{
  max-width:100%;
  padding:clamp(20px,4vw,42px);
  background:
    radial-gradient(circle at 0% 0%,rgba(185,134,47,.08),transparent 23%),
    linear-gradient(180deg,var(--adk-cream-2),#fff);
}

.adk-form-section{
  max-width:100%;
  margin-bottom:20px;
  padding:22px;
  border:1px solid rgba(185,134,47,.18);
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 30px rgba(7,24,45,.045);
}

.adk-section-title{
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin-bottom:17px;
}

.adk-section-title>span{
  width:40px;
  height:40px;
  flex:0 0 40px;
  display:grid;
  place-items:center;
  border-radius:12px;
  color:var(--adk-gold-soft);
  background:linear-gradient(145deg,var(--adk-navy),var(--adk-navy-2));
  font-family:"Cinzel",Georgia,serif;
  font-size:11px;
  font-weight:800;
}

.adk-section-title h3{
  margin:0 0 3px;
  color:var(--adk-navy);
  font-family:"Cinzel",Georgia,serif;
  font-size:20px;
  line-height:1.2;
}

.adk-section-title p{
  margin:0;
  color:var(--adk-muted);
  font-size:10.5px;
  line-height:1.6;
}

.adk-grid-2{
  min-width:0;
  max-width:100%;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
}

.adk-grid-2 label,
.adk-field{
  min-width:0;
  display:grid;
  gap:6px;
}

.adk-grid-2 label>span,
.adk-label{
  color:#36445a;
  font-size:10px;
  font-weight:800;
}

.adk-grid-2 label small{
  color:var(--adk-muted);
  font-size:8.5px;
}

.adk-wide{grid-column:1/-1}

.adk-grid-2 input,
.adk-grid-2 select,
.adk-birth-time select{
  width:100%;
  max-width:100%;
  min-width:0;
  min-height:48px;
  padding:10px 12px;
  border:1px solid #ded6ca;
  border-radius:11px;
  outline:0;
  color:var(--adk-ink);
  background:#fff;
  font-size:10.5px;
  box-shadow:none;
  transition:.2s ease;
}

.adk-grid-2 input::placeholder{color:#9a9da4}

.adk-grid-2 input:focus,
.adk-grid-2 select:focus,
.adk-birth-time select:focus{
  border-color:var(--adk-gold);
  box-shadow:0 0 0 3px rgba(185,134,47,.1);
}

.adk-birth-time{
  min-width:0;
  max-width:100%;
  display:grid;
  grid-template-columns:1fr 1fr .85fr;
  gap:8px;
}

.adk-location-note{
  margin-top:14px;
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:13px 14px;
  border:1px solid rgba(185,134,47,.2);
  border-radius:13px;
  color:#4e596a;
  background:var(--adk-cream);
}

.adk-location-note>i{
  width:30px;
  height:30px;
  flex:0 0 30px;
  display:grid;
  place-items:center;
  border-radius:9px;
  color:var(--adk-gold-soft);
  background:var(--adk-navy);
  font-style:normal;
}

.adk-location-note strong{
  display:block;
  color:var(--adk-navy);
  font-size:10px;
}

.adk-location-note span{
  display:block;
  margin-top:2px;
  font-size:9px;
  line-height:1.55;
}

.adk-submit-wrap{
  text-align:center;
  padding:6px 0 4px;
}

.adk-btn{
  min-height:52px;
  max-width:100%;
  padding:12px 24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:0;
  border-radius:999px;
  color:var(--adk-navy)!important;
  background:linear-gradient(135deg,var(--adk-gold),var(--adk-gold-soft));
  box-shadow:0 14px 30px rgba(185,134,47,.22);
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
}

.adk-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 34px rgba(185,134,47,.28);
  filter:saturate(1.05);
}

.adk-btn:disabled{
  opacity:.65;
  cursor:wait;
  transform:none;
}

.adk-submit-wrap>p{
  margin:9px 0 0;
  color:var(--adk-muted);
  font-size:8.5px;
}

.adk-result{
  max-width:100%;
  margin-top:26px;
  display:none;
}

.adk-result.active{display:block}

.adk-loading{
  min-height:110px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:20px;
  border:1px solid var(--adk-line);
  border-radius:17px;
  color:var(--adk-navy);
  background:var(--adk-cream);
}

.adk-loading span{
  width:30px;
  height:30px;
  border:3px solid rgba(185,134,47,.25);
  border-top-color:var(--adk-gold);
  border-radius:50%;
  animation:adk-spin .8s linear infinite;
}

@keyframes adk-spin{to{transform:rotate(360deg)}}

.adk-loading b{
  font-family:"Cinzel",Georgia,serif;
  font-size:13px;
}

.adk-alert{
  padding:14px;
  border:1px solid var(--adk-line);
  border-radius:13px;
  color:#5e4b2c;
  background:#fff8e9;
  font-size:10px;
  line-height:1.6;
}

.adk-alert-error{
  border-color:rgba(179,61,61,.2);
  color:#8d2b2b;
  background:#fff1f1;
}

.adk-report-card{
  max-width:100%;
  overflow:hidden;
  border:1px solid rgba(185,134,47,.21);
  border-radius:22px;
  background:#fff;
  box-shadow:0 18px 50px rgba(7,24,45,.08);
}

.adk-report-title{
  padding:26px;
  text-align:center;
  color:#fff;
  background:
    radial-gradient(circle at 15% 5%,rgba(240,206,131,.17),transparent 24%),
    linear-gradient(135deg,var(--adk-navy),var(--adk-navy-2));
}

.adk-report-title>span{
  display:inline-flex;
  padding:6px 10px;
  border:1px solid rgba(240,206,131,.25);
  border-radius:999px;
  color:var(--adk-gold-soft);
  font-size:8px;
  font-weight:800;
  letter-spacing:1.3px;
  text-transform:uppercase;
}

.adk-report-title h3{
  margin:10px 0 7px;
  color:#fff;
  font-family:"Cinzel",Georgia,serif;
  font-size:clamp(24px,4vw,36px);
}

.adk-report-title p{
  max-width:700px;
  margin:0 auto;
  color:#cbd4df;
  font-size:10px;
  line-height:1.7;
}

.adk-report-content{
  max-width:100%;
  padding:20px;
}

.adk-report-section{
  max-width:100%;
  margin-bottom:16px;
  padding:18px;
  border:1px solid rgba(185,134,47,.16);
  border-radius:16px;
  background:var(--adk-cream-2);
}

.adk-report-section:last-child{margin-bottom:0}

.adk-report-section h4{
  margin:0 0 12px;
  padding-bottom:9px;
  border-bottom:1px solid rgba(185,134,47,.17);
  color:var(--adk-navy);
  font-family:"Cinzel",Georgia,serif;
  font-size:17px;
}

.adk-report-section p{
  margin:7px 0;
  color:#4f5a6b;
  font-size:10px;
  line-height:1.65;
}

.adk-chart-wrap{
  max-width:100%;
  overflow:auto;
  padding:10px;
  border:1px solid rgba(185,134,47,.13);
  border-radius:13px;
  background:#fff;
}

.adk-chart-wrap svg{
  display:block;
  max-width:100%;
  margin:auto;
}

.adk-report-link{
  color:var(--adk-gold)!important;
  font-weight:800;
  text-decoration:none!important;
}

.adk-kv-grid{
  max-width:100%;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}

.adk-kv-item,
.adk-kv-wide,
.adk-mini-card{
  min-width:0;
  max-width:100%;
  padding:12px;
  border:1px solid rgba(185,134,47,.14);
  border-radius:12px;
  background:#fff;
  overflow-wrap:anywhere;
}

.adk-kv-wide{grid-column:1/-1}

.adk-kv-item>span{
  display:block;
  margin-bottom:5px;
  color:var(--adk-gold);
  font-size:8px;
  font-weight:800;
  letter-spacing:.7px;
  text-transform:uppercase;
}

.adk-kv-item p,
.adk-kv-wide p,
.adk-mini-card p{margin:0}

.adk-kv-wide h5{
  margin:0 0 10px;
  color:var(--adk-navy);
  font-family:"Cinzel",Georgia,serif;
  font-size:13px;
}

.adk-list-cards{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}

.adk-table-wrap{
  width:100%;
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border:1px solid rgba(185,134,47,.14);
  border-radius:12px;
  background:#fff;
}

.adk-report-table{
  width:100%;
  min-width:620px;
  border-collapse:collapse;
  background:#fff;
}

.adk-report-table th,
.adk-report-table td{
  padding:9px 10px;
  border-bottom:1px solid #eee8de;
  color:#4f5a6b;
  font-size:9px;
  text-align:left;
  vertical-align:top;
}

.adk-report-table th{
  color:var(--adk-navy);
  background:var(--adk-cream);
  font-weight:800;
}

.adk-pdf-actions{
  margin-top:15px;
  padding:15px;
  border:1px solid rgba(185,134,47,.19);
  border-radius:15px;
  text-align:center;
  background:var(--adk-cream);
}

.adk-pdf-actions .adk-btn{
  background:linear-gradient(135deg,var(--adk-navy),var(--adk-navy-2));
  color:#fff!important;
  box-shadow:0 12px 26px rgba(7,24,45,.16);
}

.adk-pdf-actions p{
  margin:8px 0 0;
  color:var(--adk-muted);
  font-size:8.5px;
}

.adk-pdf-spinner{
  width:15px;
  height:15px;
  display:inline-block;
  border:2px solid rgba(255,255,255,.35);
  border-top-color:#fff;
  border-radius:50%;
  animation:adk-spin .8s linear infinite;
}

.adk-disclaimer{
  padding:15px 22px;
  border-top:1px solid rgba(185,134,47,.15);
  color:#6a7280;
  background:var(--adk-cream);
  font-size:9px;
  line-height:1.65;
  text-align:center;
}

.adk-disclaimer strong{color:var(--adk-navy)}

.adk-muted{color:var(--adk-muted)!important}

/* PDF-only export node */
.adk-pdf-export{
  position:fixed;
  left:-100000px;
  top:0;
  width:1080px;
  padding:34px;
  z-index:-1;
  color:#17233a;
  background:#fffaf0;
  font-family:"Poppins",Arial,sans-serif;
}

.adk-pdf-brand{
  display:flex;
  align-items:center;
  gap:14px;
  padding:19px 22px;
  border-radius:18px;
  color:#fff;
  background:#07182d;
}

.adk-pdf-brand-mark{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border:1px solid #b9862f;
  border-radius:14px;
  color:#f0ce83;
  font-size:23px;
}

.adk-pdf-brand h1{
  margin:0;
  color:#fff;
  font-family:"Cinzel",Georgia,serif;
  font-size:28px;
}

.adk-pdf-brand p{
  margin:3px 0 0;
  color:#f0ce83;
  font-size:12px;
}

.adk-pdf-details{
  margin:18px 0;
  padding:18px;
  border:1px solid #e5d6bb;
  border-radius:15px;
  background:#fff;
}

.adk-pdf-details h2{
  margin:0 0 13px;
  color:#07182d;
  font-family:"Cinzel",Georgia,serif;
  font-size:20px;
}

.adk-pdf-detail-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}

.adk-pdf-detail{
  padding:10px;
  border:1px solid #eee5d5;
  border-radius:10px;
  background:#fffaf0;
}

.adk-pdf-detail span{
  display:block;
  color:#b9862f;
  font-size:8px;
  font-weight:800;
  text-transform:uppercase;
}

.adk-pdf-detail strong{
  display:block;
  margin-top:3px;
  color:#17233a;
  font-size:11px;
}

.adk-pdf-export .adk-report-card{
  box-shadow:none;
}

.adk-pdf-footer-note{
  margin-top:18px;
  padding:12px;
  border-top:1px solid #e5d6bb;
  color:#6f7480;
  font-size:9px;
  text-align:center;
}

/* Responsive */
@media(max-width:760px){
  .adk-kundli-shell{
    width:calc(100% - 18px);
    margin:14px auto;
    border-radius:20px;
  }

  .adk-kundli-top{
    padding:30px 16px;
  }

  .adk-kundli-top h2{
    font-size:32px;
  }

  .adk-kundli-top>p{
    font-size:11.5px;
  }

  .adk-feature-row{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .adk-form{
    padding:14px;
  }

  .adk-form-section{
    padding:16px 13px;
    border-radius:16px;
  }

  .adk-grid-2{
    grid-template-columns:1fr;
    gap:10px;
  }

  .adk-wide{
    grid-column:auto;
  }

  .adk-birth-time{
    grid-template-columns:1fr 1fr .82fr;
  }

  .adk-kv-grid,
  .adk-list-cards{
    grid-template-columns:1fr;
  }

  .adk-kv-wide{
    grid-column:auto;
  }

  .adk-report-content{
    padding:12px;
  }

  .adk-report-section{
    padding:13px;
  }

  .adk-btn{
    width:100%;
  }
}

@media(max-width:420px){
  .adk-topbar{
    margin-bottom:12px;
  }

  .adk-back-home{
    min-height:36px;
    padding:7px 11px;
    font-size:8.8px;
  }


  .adk-kundli-shell{
    width:calc(100% - 10px);
    margin:8px auto;
    border-radius:16px;
  }

  .adk-kundli-brand span{
    font-size:16px;
  }

  .adk-kundli-top h2{
    font-size:28px;
  }

  .adk-feature-row{
    gap:6px;
  }

  .adk-feature-row span{
    padding:9px 5px;
    font-size:7.6px;
  }

  .adk-birth-time{
    grid-template-columns:1fr;
  }

  .adk-section-title{
    gap:9px;
  }

  .adk-section-title>span{
    width:36px;
    height:36px;
    flex-basis:36px;
  }

  .adk-section-title h3{
    font-size:17px;
  }
}
