/* ===== EMI CARD ===== */

.emi-card{
  width:100%;
  max-width:440px;
  margin:40px auto;              /* clean center */
  background:#ffffff;
  border-radius:16px;
  padding:30px;
  box-shadow:0 20px 40px rgba(27,38,44,0.15);
  animation:fadeUp 0.8s ease;
}

/* animation */
@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* ===== HEADINGS ===== */
.emi-card h2{
  text-align:center;
  color:#1B262C;
  margin-bottom:25px;
}

/* ===== INPUTS ===== */
.inputs div{
  margin-bottom:18px;
}

.emi-card label{
  font-size:14px;
  color:#1B262C;
  margin-bottom:6px;
  display:block;
}

.emi-card input{
  width:100%;
  padding:12px;
  border-radius:10px;
  border:1px solid #BBE1FA;
  font-size:15px;
}

.emi-card input:focus{
  outline:none;
  border-color:#3282B8;
}

/* ===== BUTTON ===== */
.emi-card button{
  width:100%;
  padding:14px;
  margin-top:20px;
  background:#0F4C75;
  color:#fff;
  border:none;
  border-radius:12px;
  font-size:16px;
  cursor:pointer;
  transition:0.3s;
}

.emi-card button:hover{
  background:#3282B8;
}

/* ===== RESULTS ===== */
.results{
  margin-top:25px;
  animation:fadeUp 0.6s ease;
}

.hidden{
  display:none;
}

.result-item{
  display:flex;
  justify-content:space-between;
  margin-bottom:12px;
  color:#1B262C;
}

/* ===== CHART ===== */
canvas{
  width:100% !important;
  height:260px !important;
  margin-top:20px;
}

/* ===== MOBILE ===== */
@media(max-width:480px){
  .emi-card{
    margin:16px;
    padding:22px;
  }
}
/* ===== EMI SCHEDULE COMPONENT (FULLY ISOLATED) ===== */
.emi-schedule-section{
  margin-top:70px;
  padding:0 10px;
  font-family:'Segoe UI',sans-serif;
}

/* SUMMARY CARDS */
.emi-schedule-section .emi-summary{
  display:flex;
  gap:25px;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom:35px;
}

.emi-schedule-section .sum-card{
  background:linear-gradient(135deg,#0F4C75,#3282B8);
  color:#fff;
  padding:24px 40px;
  border-radius:16px;
  text-align:center;
  min-width:220px;
  box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.emi-schedule-section .sum-card p{
  margin:0;
  opacity:.85;
  font-size:14px;
}

.emi-schedule-section .sum-card h3{
  margin-top:8px;
  font-size:26px;
  font-weight:700;
}

/* GLASS CARD */
.emi-schedule-section .schedule-box{
  padding:35px;
  border-radius:18px;
  background:rgba(255,255,255,.6);
  backdrop-filter:blur(10px);
  box-shadow:0 10px 35px rgba(0,0,0,.15);
}

/* TITLE */
.emi-schedule-section .schedule-box h2{
  text-align:center;
  margin-bottom:28px;
  font-size:26px;
  font-weight:700;
  background:linear-gradient(90deg,#0F4C75,#3282B8);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* TABLE */
.emi-schedule-section #scheduleTable{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border-radius:12px;
  overflow:hidden;
}

/* HEADER */
.emi-schedule-section #scheduleTable th{
  background:linear-gradient(90deg,#1B262C,#0F4C75);
  color:#fff;
  padding:15px;
  font-size:14px;
  letter-spacing:.3px;
}

/* CELLS */
.emi-schedule-section #scheduleTable td{
  padding:13px;
  text-align:center;
  border-bottom:1px solid #eee;
  font-size:14px;
}

/* STRIPES */
.emi-schedule-section #scheduleTable tbody tr:nth-child(even){
  background:#f8fbff;
}

/* HOVER */
.emi-schedule-section #scheduleTable tbody tr:hover{
  background:#BBE1FA;
  transition:.25s;
}

/* MOBILE SAFE */
@media(max-width:768px){
  .emi-schedule-section .schedule-box{
    padding:20px;
  }
  .emi-schedule-section #scheduleTable th,
  .emi-schedule-section #scheduleTable td{
    padding:10px;
    font-size:12px;
  }
}

/* ===== GST CALCULATOR CARD ===== */

.gst-card{
  max-width:440px;
  margin:40px auto;
  background:#ffffff;
  padding:30px;
  border-radius:16px;
  box-shadow:0 20px 40px rgba(27,38,44,0.15);
  animation:gstFade 0.6s ease;
}

@keyframes gstFade{
  from{ opacity:0; transform:translateY(20px); }
  to{ opacity:1; transform:translateY(0); }
}

/* ===== HEADING ===== */
.gst-card h2{
  text-align:center;
  color:#1B262C;
  margin-bottom:25px;
}

/* ===== INPUTS ===== */
.gst-inputs div{
  margin-bottom:18px;
}

.gst-card label{
  display:block;
  font-size:14px;
  color:#1B262C;
  margin-bottom:6px;
}

.gst-card input,
.gst-card select{
  width:100%;
  padding:12px;
  border-radius:10px;
  border:1px solid #BBE1FA;
  font-size:15px;
}

.gst-card input:focus,
.gst-card select:focus{
  outline:none;
  border-color:#3282B8;
}
/* GST ADD REMOVE BUTTONS FIX */
.gst-card .gst-toggle{
  display:flex;
  gap:18px;              /* main spacing */
  margin:20px 0 25px;
  flex-wrap:wrap;        /* mobile pe neeche aa jayega */
}

.gst-card .gst-toggle button{
  flex:1;
  min-width:180px;       /* prevents merging */
  padding:14px 18px;
  border-radius:12px;
  font-weight:600;
  cursor:pointer;
  transition:.3s;
}

/* ADD GST BUTTON */
.gst-card .gst-toggle button:first-child{
  background:#fff;
  border:2px solid #3282B8;
  color:#0F4C75;
}

/* REMOVE GST BUTTON */
.gst-card .gst-toggle button:last-child{
  background:#0F4C75;
  color:#fff;
  border:none;
}

/* ACTIVE STATE */
.gst-card .gst-toggle button.active{
  transform:scale(1.03);
  box-shadow:0 5px 15px rgba(0,0,0,.15);
}

/* GST SUPPLY TYPE DROPDOWN */
.gst-card select{
  width:100%;
  padding:14px;
  border-radius:12px;
  border:1px solid #cfe3f1;
  background:#f7fbff;
  font-size:15px;
  outline:none;
  transition:.3s;
}

.gst-card select:focus{
  border-color:#3282B8;
  box-shadow:0 0 0 3px rgba(50,130,184,.15);
}

/* ===== CALCULATE BUTTON ===== */
.gst-calc-btn{
  width:100%;
  padding:14px;
  background:#0F4C75;
  color:#fff;
  border:none;
  border-radius:12px;
  font-size:16px;
  cursor:pointer;
}

.gst-calc-btn:hover{
  background:#3282B8;
}

/* ===== RESULTS ===== */
.gst-results{
  margin-top:25px;
}

.gst-results.hidden{
  display:none;
}

.gst-results div{
  display:flex;
  justify-content:space-between;
  margin-bottom:10px;
  color:#1B262C;
}

.gst-results .total{
  border-top:1px solid #BBE1FA;
  padding-top:10px;
  font-weight:600;
}

/* ===== MOBILE ===== */
@media(max-width:480px){
  .gst-card{
    margin:16px;
    padding:22px;
  }
}
.it-wrapper{
  max-width:1200px;
  margin:40px auto;
  padding:0 20px;
}

.it-wrapper h1{
  color:#0F4C75;
  margin-bottom:30px;
}

.it-grid{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:30px;
}

.it-left, .it-right, .it-result-card{
  background:#fff;
  border-radius:16px;
  padding:30px;
  box-shadow:0 20px 40px rgba(0,0,0,0.12);
}

.it-tabs{
  display:flex;
  gap:10px;
  margin-bottom:20px;
}

.it-tabs .tab{
  flex:1;
  padding:10px;
  border:none;
  border-radius:10px;
  background:#BBE1FA;
  cursor:pointer;
}

.it-tabs .active{
  background:#0F4C75;
  color:#fff;
}

.it-step{ display:none; }
.it-step.active{ display:block; }

.it-step label{
  display:block;
  margin-top:14px;
}

.it-step input, .it-step select{
  width:100%;
  padding:12px;
  border-radius:10px;
  border:1px solid #BBE1FA;
}

.nav-btns{
  display:flex;
  justify-content:space-between;
  margin-top:20px;
}

.primary-btn{
  background:#0F4C75;
  color:#fff;
  border:none;
  padding:12px 18px;
  border-radius:10px;
}

.it-right p{
  display:flex;
  justify-content:space-between;
  margin-bottom:10px;
}

.save-box{
  margin-top:20px;
  padding:14px;
  background:#BBE1FA;
  border-radius:10px;
}

.cta{
  margin-top:20px;
  width:100%;
  padding:14px;
  border:none;
  background:#0F4C75;
  color:#fff;
  border-radius:12px;
}

.it-result{
  max-width:500px;
  margin:40px auto;
}

.it-row{
  display:flex;
  justify-content:space-between;
  margin-bottom:12px;
}

.it-save{
  margin-top:20px;
  padding:14px;
  background:#BBE1FA;
  border-radius:10px;
  text-align:center;
}

.hidden{ display:none; }

@media(max-width:768px){
  .it-grid{
    grid-template-columns:1fr;
  }
}
/* ===== DSC SECTION SAFE SCOPE ===== */

.dsc-wrapper {
  padding: 40px 16px;
}

/* card */
.dsc-wrapper .dsc-card {
  max-width: 520px;
  margin: auto;
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* heading scoped */
.dsc-wrapper h2 {
  text-align: center;
  color: #0F4C75;
  margin-bottom: 25px;
}

/* grid */
.dsc-wrapper .dsc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* label scoped */
.dsc-wrapper label {
  font-size: 14px;
  color: #333;
}

/* select scoped */
.dsc-wrapper select {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #cfe3f7;
}

/* buttons scoped (navbar safe now) */
.dsc-wrapper button {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  margin-top: 20px;
  cursor: pointer;
}

.dsc-wrapper .btn-primary {
  background: #0F4C75;
  color: #fff;
}

.dsc-wrapper .btn-secondary {
  background: #3282B8;
  color: #fff;
}

/* result boxes */
.dsc-wrapper .result-box,
.dsc-wrapper .gst-box {
  margin-top: 20px;
  display: none;
}

.dsc-wrapper .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.dsc-wrapper .total {
  font-weight: bold;
  font-size: 17px;
}

.dsc-wrapper .note {
  font-size: 12px;
  color: #555;
  margin-top: 12px;
}

.dsc-wrapper .done {
  margin-top: 16px;
  text-align: center;
  font-weight: bold;
  color: green;
}
/* DSC SUBMIT BUTTON */
#gstBox .submit-lead-btn{
  margin-top:18px;
  width:100%;
  padding:14px;
  border:none;
  border-radius:12px;
  background:#0F4C75;
  color:#fff;
  font-weight:600;
  font-size:16px;
  cursor:pointer;
  transition:.3s;
}
#gstBox .submit-lead-btn:hover{ background:#0b3e61; }
