*{
    margin: 0;
    padding: 0;
}

:root {
    --active-tab-bg: #ffb623;
    --active-tab-color: #313131;
    --secondary-color: #CC6A13;
    --primary-color: #DFB330;
    --gray-color: #333333;
    --black-color: #000000;
    --white-color: #F9F6F1;
    --lavender: #BFA2DC;
    --background: #8674C6;
}

body{
    background: var(--background) !important;
}

.kundli-details .main-tabs li, .kundli-details .main-tabs li button{
    width: 100%;
}
.kundli-details .main-tabs{
    border-radius: 10px;
    overflow-x: auto;
    border: 1px solid #d4d4d4;
}
.kundli-details .main-tabs li{
    width: 100%;
    border-right: 1px solid #d4d4d4;
}
.kundli-details .main-tabs li button{
    width: 100%;
    border-right: 1px solid #d4d4d4;
    border-radius: 0;
    color: var(--active-tab-color) !important;
   font-weight: 500;
   height: 100%;
}
.kundli-details .main-tabs li button.active, .kundli-details .main-tabs li button:hover{
   background: var(--active-tab-bg);
   color: var(--active-tab-color) !important;
   font-weight: 500;
}

th, td{
    font-size: 14px !important;
    color: #000000 !important;
    border-color: rgb(145, 145, 145) ;
}
.basic-tab-inner tr{
    display: flex;
    flex-wrap: nowrap;
    overflow-x:auto ;
    justify-content: space-between;
}

.astro-table .table-responsive .border{
    border-color: #e0e0e0 !important;
}

.basic-tab-inner .astro-table {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
  }

.basic-tab-inner   .astro-table table {
    width: 100%;
  }

.basic-tab-inner   .astro-table td {
    padding: 8px;
    vertical-align: top;
    color: #454545;
    font-size: 16px;
}

.basic-tab-inner  .section-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.kundli-inner .kundli-chart-img{
    width: 350px;
    height: auto;
}
.kp-inner .kundli-chart-img{
    width: 350px;
    height: auto;
}
.kundli-inner .kundli-chart-heading, .kundli-inner .section-title{
    font-size: 17px;
    margin: 12px 0 10px;
    text-align: left;
    border-radius: 10px;
    color: #454545;
    font-weight: 500;
}
.kp-inner .kundli-chart-heading, .kp-inner .section-title{
    font-size: 17px;
    margin: 12px 0 10px;
    text-align: left;
    border-radius: 10px;
    color: #454545;
    font-weight: 500;
}
.inner-ashtakvarga p, .dasha-tab-inner p{
    font-size: 14px;
    text-align: justify;
    color: #616161;
}
.inner-ashtakvarga h3{
    font-size: 18px;
}
.inner-ashtakvarga .ashtakvarga-chart-inner .ashtakvarga-chart-img{
    height: auto;
    width: 200px;
}

.astro-table {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
}

.section-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.dasha-tab-inner h3{
    font-size: 17px;
    margin: 12px 0 10px;
    text-align: left;
    border-radius: 10px;
    color: #454545;
    font-weight: 500;
}




.dasha-table-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.dasha-table-content {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding-right: 20px;
}

.dasha-step {
    display: flex;
    align-items: center;
    flex: 1;
    opacity: 0.6;
    transition: opacity 0.3s;
    cursor: pointer;
}

.dasha-step.active {
    opacity: 1;
}

.dasha-step:not(:last-child)::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ccc;
    margin: 0 0.5rem;
}

.step-number {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffb623;
    color: #000;
    text-align: center;
    line-height: 24px;
    font-weight: bold;
    margin-right: 0.5rem;
}

.dasha-arrow {
    cursor: pointer;
}

.kp-inner.lord-table th {
    background-color: #fefec9;
    font-weight: 600;
    text-align: center;
}

.kp-inner  .lord-table td {
    text-align: center;
    vertical-align: middle;
}

.kp-inner  .day-lord-row td {
    background-color: #fff;
    font-weight: 600;
}
.astro-table-container{
    border-radius: 12px !important;
    border: 2px solid #ddd !important;
    margin-bottom: 15px;
    overflow: hidden;
}
.astro-table-container tr th{
    background: #ffb6233b;
}


.tab-buttons {
    display: flex;
    gap: 10px;
  }

  .vimshottari-tab,
  .yogini-tab, .kalachakra-tab {
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 8px 20px;
    background-color: white;
    color: #444;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .vimshottari-tab.active {
    background-color: #ffffe0;
    border-color: var(--active-tab-bg);
    color: #444;
    box-shadow: 0 0 5px rgba(255, 235, 59, 0.5);
  }

.yogini-tab.active {
    background-color: #ffffe0;
    border-color: var(--active-tab-bg);
    color: #444;
    box-shadow: 0 0 5px rgba(255, 235, 59, 0.5);
}
.kalachakra-tab.active {
    background-color: #ffffe0;
    border-color: var(--active-tab-bg);
    color: #444;
    box-shadow: 0 0 5px rgba(255, 235, 59, 0.5);
}

.tab-content {
    margin-top: 20px;
}
.dasha-tab-inner .dasha-tab-inner-content{
    border-radius: 1rem;
    box-shadow: none;
    margin: 0 0 10px;
    min-height: auto;
    border: 2px solid rgba(0, 0, 0, .125);
    padding: 15px 20px;
    margin-top: 10px;
}

.dasha-tab-inner .dasha-tab-inner-content .inner-table{
    padding: 10px;
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, .125);
}

.yogini-tab-heading{
    font-size: 16px;
    color: #000;
    margin-bottom: 10px;
    margin-top: 12px;
    overflow-x: auto;
    display: flex;
    white-space: nowrap;
    font-weight: 400;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 0 2px 1px #ccc;
    padding: 5px 10px;
    border-radius: 3px;
    width: max-content;
}

.custom-nav-tabs {
    display: flex;
    border-bottom: none;
    gap: 40px;
  }

  .remedies-tab,
  .dosha-tab {
    background: none ;
    border: none;
    color: #888 !important;
    font-weight: 500 !important;
    position: relative;
    padding-bottom: 8px;
    cursor: pointer;
  }

  .remedies-tab.active,
  .dosha-tab.active {
    color: #000 !important;
  }

  .remedies-tab.active::after,
  .dosha-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: var(--active-tab-bg);
  }

.free-report-Manglik{
    padding: 20px 15px;
    border: 2px solid;
    border-radius: 20px;
}

.custom-table {
    border-radius: 12px;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
  }

  .custom-table th,
  .custom-table td {
    white-space: nowrap;
    padding: 12px 16px;
  }

  .table-warning {
    background-color: #fffccf !important;
    color: #333;
  }



  .table-responsive {
    margin: 20px 0;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }





/*  */

.page-heading-sec h1{
    font-size: 32px;
    color: #313131;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}
.page-heading-sec .partners-name{
    margin: 0;
    border: 1px solid var(--active-tab-bg);
    padding: 8px 15px;
    border-radius: 5px;
    background-color: #ffffe0;
    text-transform: capitalize;
}
.page-heading-sec .ring-img{
    height: auto;
    width: 70px;
}
.page-heading-sec .partners-details-card{
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 15px 21px -10px #0000002e;
    margin-bottom: 30px;
}
.page-heading-sec .card-heading-div{
    padding: 10px 20px;
    background-color: var(--active-tab-bg);
    border-radius: 10px 10px 0 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    color: #333;
}
.page-heading-sec .card-heading-div h3{
    font-size: 18px;
    color: #333;
}
.page-heading-sec .card-heading-div .gender{
    background-color: #bea152;
    font-size: 14px;
    padding: 3px 20px;
    border-radius: 50px;
    font-weight: 600;
    color: #fff;
    display: block;
    margin-left: 10px;
}
.page-heading-sec .card-content-div{
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #454545;
}
.page-heading-sec .card-content-div h4{
    font-weight: 600;
    font-size: 16px;
    margin: 0;
    width: 36%;
}
.page-heading-sec .card-content-div p{
    color: #454545;
    margin: 0;
    width: 64%;
}

.compatibility-table thead th {
    color: #6c757d;
  }
  .attribute-cell {
    background-color: #fff9c4 !important;
    color: #c49a00;
    font-weight: bold;
}

.point-highlight{
color: #454545;
    font-size: 16px;
    background-color: #ffffe0;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #f0df20;
    text-align: left;
    font-weight: 600;
}

.matching-sec-heading{
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    margin-top: 20px;
}

.dosha-card{
    background-color: #fff;
    border: 1px solid var(--active-tab-bg);
    background-color: #fff;
    box-shadow: 0 6px 15px -2px #d1d1d1;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    border: 1px solid var(--active-tab-bg);
    color: #444;
    margin-bottom: 30px;
}

/*  */






@media (max-width: 992px) {
    .kundli-details .main-tabs li button{
        font-size: 12px;
    }
}
@media (max-width: 768px) {
    .dasha-step {
      max-width: 100px; /* adjust as needed */
      white-space: nowrap;
      overflow: hidden;
      text-overflow: clip;
      position: relative;
    }
    .custom-table th,
    .custom-table td {
      font-size: 13px;
      padding: 8px 12px;
    }

    .dasha-step::after {
      content: "..";
      position: absolute;
      right: 0;
      background: white; /* Or match your container background */
      padding-left: 4px;
    }
    .basic-tab-inner .astro-table td {
        display: block;
        width: 100%;
      }
      .nowrap-columns{
        white-space: nowrap;
        text-align: left;
      }
      .compatibility-table thead th {
        text-align: left;
      }
}
