body {
    padding: 0;
    margin: 0;
    background: #e3faff;
}

@media only screen and (min-width: 1025px) {
    html {
        background: #777 !important;
    }

    body,
    body>div {
        width: 400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body .footer-menu,
    body .header,
    body .intro,
    body .show-flax,
    body .ariyan-guruji {
        right: 0;
        width: 360px !important;
    }

    body .page-header {
        width: 370px !important;
        right: 0;
    }

    body {
        border-left: 1px solid #e7eaff;
        border-right: 1px solid #e7eaff;
    }
}

* {
    outline: 0;
    font-family: Inter;
}

p,
a {
    font-size: 17px;
    color: #47484c;
    font-weight: 400;
    margin: 3px 0;
    line-height: 1.4em !important;
}

b,
strong {
    font-weight: 600;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Outfit;
    font-size: 24px;
    font-weight: 600;
    margin: 3px 0;
    line-height: 1.4em !important;
}

main {
    padding: 0;
    margin: 0 20px;
}

.header {
    padding: 15px 20px 20px;
    background: linear-gradient(242deg, #06215b, #0c46c8);
    border-radius: 0;
}

.datetime {
    font-size: 15px !important;
    color: #FFF;
    margin-top: 15px;
}

.header h1,
.header p,
.header b {
    color: #FFF;
}

.astrology-form {
    margin-top: 30px;
}

.form-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-group div {
    width: 48% !important;
    display: block;
}

label {
    display: block;
    margin: 0 0 10px;
    font-family: Inter;
    font-size: 15px;
    font-weight: 600;
    color: #FFF;
}

.form-control {
    background: #4264c0;
    color: #ffffff;
    width: -webkit-fill-available;
    height: 40px;
    padding: 0 10px;
    border-radius: 10px 10px 7px 7px;
    border: 0;
    border-bottom: 1px solid #fff;
    font-size: 15px !important;
    font-weight: 600;
}

.form-control::placeholder {
    color: #ffffffbc;
}

select option {
    background: #0c2a6b;
}

.btn {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    font-size: 17px;
    font-weight: 500;
    border: 0;
    border-radius: 10px;
    width: -webkit-fill-available;
}

.btn.primary {
    background: #0d0db9;
    color: #FFF;
}

.btn.secondary {
    background: #FFF;
    color: #1b1f2b;
}

.btn.extra {
    background: #58a5f270;
    color: #FFF;
}

.information {
    background: #FFF;
    border-radius: 10px;
    border: 1px solid #e7eaff;
}

.information .heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e7eaff;
    padding: 10px 20px;
}

.information .heading span {
    padding: 5px 10px;
    background: #0c5cde44;
    color: #3741ff;
    font-weight: 600;
    height: 20px;
    border-radius: 7px;
    margin: 0;
}

.information .options {
    padding: 15px 20px;
}

.information .options p {
    font-size: 15px;
    color: #363636 !important;
}

.information .heading.result {
    justify-content: flex-start !important;
}

.information .heading.result .icon {
    margin-right: 8px;
    height: 20px;
    width: 20px;
}

.information .heading.result .icon.good {
    fill: green;
}

.information .heading.result .icon.bad {
    fill: red;
}

.information .heading.result .icon.solutions {
    fill: #454545;
}


.information .heading.result h2 {
    font-size: 18px !important;
}

.main-functions,
.prediction-form {
    background: linear-gradient(242deg, #06215b, #0c46c8);
    padding: 15px;
    border-radius: 10px;
}

.information.solution {
    background-color: #09090b !important;
    border-color: #515151 !important
}

.information.solution .heading {
    border-color: #515151 !important
}

body .information.solution * {
    color: #dbdbdb !important;
}

.information.chart-section {
    background: transparent;
    border: none;
    padding: 0;
}

.verified {
    padding: 11px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    background: #c5ffc5;
    color: #0e6723;
    margin: 0;
    border: 1px solid #89ff89;
}

.verified .icon {
    color: green;
    height: 15px;
    width: 15px;
    margin-right: 4px;
}

.noresult-img {
    width: 30%;
    mix-blend-mode: multiply;
}

.no-result,
.loading-result {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 55dvh;
    text-align: center;
}

.no-result p,
.loading-result p {
    font-size: 15px !important;
}

.no-result h2,
.loading-result h2 {
    font-size: 20px !important;
    margin-top: 20px;
}

.footer-menu {
    height: 55px;
    padding: 8px 20px;
    background-color: #FFF;
    position: fixed;
    box-shadow: 0px -10px 40px -28px #303030a7;
    bottom: 0;
    left: 0;
    width: -webkit-fill-available;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 99999;
    border-top: 1px solid #e7eaff;
}

.footer-menu .menu-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-decoration: none;
}

.footer-menu .menu-link.active * {
    color: #0d0db9 !important;
}

.menu-link .icon {
    height: 20px;
    width: 20px;
}

.menu-link p {
    font-size: 14px;
    font-weight: 600;
}


.page-header {
    height: 40px;
    background: #FFF;
    position: fixed;
    top: 0;
    left: 0;
    width: -webkit-fill-available;
    display: flex;
    align-items: center;
    padding: 8px 15px;
    z-index: 99999;
    margin-bottom: 60px;
    border-bottom: 1px solid #e7eaff;
}

.page-header .icon {
    height: 22px;
    width: 22px;
    margin-right: 10px;
    cursor: pointer;
}

.page-header h2 {
    font-size: 19px !important;
}

.prediction-form .form-group {
    flex-wrap: wrap;
}

.prediction-form .form-group div {
    width: 30.5% !important;
}

.tab-header {
    display: flex;
    background: #FFF;
    border-radius: 10px;
    border: 1px solid #e7eaff;
    padding: 5px;
    width: -webkit-fill-available;
    justify-content: space-between;
}

.tab-header .tab {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    border-radius: 7px;
    flex-grow: 1;
}

.tab-header .tab .icon {
    height: 20px;
    width: 20px;
    margin-right: 8px;
}

.tab-header .tab.active {
    background: linear-gradient(242deg, #06215b, #0c46c8);
    color: #FFF;
}

.tab-body {
    display: block;
    margin-top: 10px;
}

.tab {
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tab:hover {
    background-color: #f0f0f0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.data-block {
    background: #FFF;
    border-radius: 10px;
    border: 1px solid #e7eaff;
    padding: 8px 15px 15px;
    margin-bottom: 10px;
}

.data-block h3 {
    font-size: 24px;
}

.data-block p {
    font-size: 14px;
    margin: 7px 0 !important;
}

.data-block .data-tags {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 15px;
    flex-wrap: wrap;
}

.data-block .data-tags span {
    background: #c5c5ff;
    color: #1212be;
    font-size: 12px;
    padding: 2px 4px;
    margin-right: 4px;
    border-radius: 3px;
    margin-bottom: 4px;
}

.faq-cat h3 {
    font-size: 22px !important;
    display: flex;
    align-items: center;
    text-transform: capitalize;
}

.faq-cat {
    margin-bottom: 35px;
}

.faq-list {
    background: #FFF;
    border-radius: 10px;
    border: 1px solid #e7eaff;
    padding: 0;
    margin-top: 15px;
}

.faq-question {
    cursor: pointer;
    color: #1d1d1d;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px !important;
    font-weight: 500;
}

.faq-question .question-text {
    font-size: 16px !important;
    font-weight: 500;
    color: #1d1d1d;
    text-transform: none !important;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 10px 20px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question .toggle-icon {
    transition: transform 0.3s ease;
}

.faq-question.collapsed .toggle-icon {
    transform: rotate(0deg);
    height: 22px;
    width: 22px;
    min-width: 22px;
    min-height: 22px;
    margin-left: 10px;
}

.faq-question:not(.collapsed) .toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    margin-top: 10px;
    color: #666 !important;
    display: none;
    font-size: 14px !important;
}

.faq-answer .answer-text {
    color: #3d3d3d !important;
    font-size: 14px !important;
}

.faq-answer.expanded {
    display: block;
}

.hide {
    display: none !important;
}

.show {
    display: block !important;
}

.error-message {
    color: red;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
}

.history-block {
    background: #FFF;
    border-radius: 10px;
    border: 1px solid #e7eaff;
    padding: 10px;
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.history-block .icon {
    background: #cbcbff;
    border-radius: 7px;
    height: 22px;
    width: 22px;
    padding: 13px;
    color: #0d0db9;
    margin-right: 15px;
}

.history-block h3 {
    font-size: 18px !important;
}

.history-block p {
    font-size: 14px !important;
}

.intro {
    background: #fff;
    border-bottom: 1px solid #e7eaff;
    border-radius: 0px;
    box-shadow: 0px 10px 40px -30px #2d2d2d51;
    padding: 15px 20px 20px;
    display: none;
    margin-top: -20px;
    margin-bottom: 0;
}

.planets-details {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 3px;
}

.current-planet {
    height: 110px;
    padding: 7px 10px 10px;
    border-radius: 10px;
    box-shadow: 0px 1px 3px #494949;
    min-width: 80px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    border-top: 3px solid black;
    margin-right: 14px;
    background: #FFF;
}

.current-planet b {
    font-size: 22px !important;
}

.current-planet.sun {
    border-color: #f0bb0c;
}

.current-planet.moon {
    border-color: #0c1ff0;
}

.current-planet.mars {
    border-color: #c40606;
}

.current-planet.mercury {
    border-color: #f0760c;
}

.current-planet.venus {
    border-color: #180c5a;
}

.current-planet.jupiter {
    border-color: #e5f00c;
}

.current-planet.saturn {
    border-color: #1135d8;
}

.current-planet.rahu {
    border-color: #161616;
}

.current-planet.ketu {
    border-color: #121212;
}

.current-planet p {
    font-size: 16px !important;
}

.doshas-title {
    font-size: 20px !important;
}

.doshas {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.doshas .phrases {
    background: #FFF;
    border-radius: 10px;
    border: 1px solid #e7eaff;
    padding: 10px 15px 15px;
    width: 39.5%;
    margin-top: 10px;
}

.phrases h3 {
    font-size: 18px;
}

.phrases .description {
    font-size: 13px !important;
}

.actionbtns {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.actionbtn {
    width: 25% !important;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e7eaff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    box-shadow: 0px 2px 3px #d9dcf6;
}

.actionbtn p {
    font-weight: 600;
    margin-top: 10px;
}

.loader {
    background: #e7eaff;
    border-radius: 100px;
    height: 8px;
    width: 60%;
    margin-top: 20px;
}

.loader .progress {
    background: #0d0db6;
    border-radius: 100px;
    height: 7px;
}

.phrases .retrogate {
    width: -webkit-fill-available;
    padding: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 7px;
    font-weight: 600;
    margin-top: 10px;
    background: #efefef;
    color: #111;
    text-transform: capitalize;
}

.retrogate.red {
    background: #ffd6d6;
    color: #c51313;
}

.retrogate.green {
    background-color: #c2ffd7;
    color: #088535;
}

#result-datetime {
    margin-top: 6px !important;
    font-size: 15px !important;
}

.show-flax,
.ariyan-guruji {
    display: none;
    right: unset !important;
    position: fixed;
    z-index: 999999;
    bottom: 72px;
    padding: 25px 20px 10px;
    width: -webkit-fill-available;
    background: #FFF;
    min-height: 425px;
    max-height: 55dvh;
    border-radius: 20px 20px 0 0;
    border-top: 1px solid #e7eaff;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0px -10px 40px -20px #575757b0;
}

.show-flax .close {
    text-align: right;
}

.show-flax .close .icon {
    cursor: pointer;
}

.flax-header {
    font-size: 20px;
    font-weight: 600;
    margin-top: -30px !important;
    display: block;
}

.show-flax.show {
    transform: translateX(0);
    /* Slide in */
}

/* Styles for Dosha phrases to make them clickable */
.phrases {
    cursor: pointer;
}

.phrases:hover {
    box-shadow: 0px 0px 5px #808080b9;
}

.flax-body {
    border-top: 1px solid #e7eaff;
    padding: 4px 20px 0px;
    margin: 17px -20px 0px;
}

.flax-body h4 {
    font-size: 16px;
    text-transform: uppercase;
    color: #0505ae;
    font-weight: 600;
    margin-top: 16px;
}

.flax-body p {
    text-transform: capitalize;
    font-size: 14px !important;
}

.flax-body ul {
    padding: 10px 15px;
    border-radius: 10px;
    background: #e7eaff;
}

.flax-body li {
    margin: 10px 17px;
    color: #353535;
    font-size: 14px !important;
}

/* Chart SVG styling */
.flax-body svg {
    max-width: 100%;
    width: 100%;
    height: auto;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 10px;
}

.flax-body .feather {
    width: unset !important;
    border: none !important;
}

/* Prediction Cards */
.prediction-explanation {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.prediction-zodiac {
    font-size: 16px;
    color: #1d1d1d;
    font-weight: 600;
    margin-bottom: 15px;
}

.prediction-card {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
    border-left: 4px solid;
    border: 1px solid #e7eaff;
    border-left: 4px solid;
}

.prediction-card.card-blue {
    border-left-color: #4a90e2;
}

.prediction-card.card-green {
    border-left-color: #66bb6a;
}

.prediction-card.card-yellow {
    border-left-color: #ffa726;
}

.prediction-card.card-purple {
    border-left-color: #ab47bc;
}

.prediction-card.card-pink {
    border-left-color: #ec407a;
}

.prediction-card.card-cyan {
    border-left-color: #26c6da;
}

.prediction-card-title {
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1d;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prediction-card-text {
    font-size: 14px;
    color: #3d3d3d;
    line-height: 1.6;
    margin: 0;
}

/* Birth Chart Section */
.information.chart-section {
    background: #fff;
    border: 1px solid #e7eaff;
    padding: 15px;
    border-radius: 10px;
}

.chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: #fff;
    border: none;
}

.chart-container svg {
    max-width: 100%;
    height: auto;
    width: 100%;
}

/* Section Title - No horizontal margins */
.section-title {
    font-size: 15px !important;
    color: #444444;
    margin: 15px 0 10px 0;
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 8px !important;
}

.overlay {
    background: #0000008f;
    width: 100%;
    height: 100dvh;
    position: fixed;
    display: none;
}

.ariyan-guruji {
    max-height: 75dvh !important;
    min-height: unset !important;
}

#problem {
    max-height: 80px;
    min-height: 80px;
    height: 80px;
    min-width: -webkit-fill-available;
    width: -webkit-fill-available;
    max-width: -webkit-fill-available;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 15px;
    background: #f4f4ff;
    color: #000;
    border-radius: 8px;
    border: 1px solid #e7eaff;
}

#problem::placeholder {
    color: #242424bc;
    font-weight: 400;
    font-size: 15px !important;
    line-height: 1.4em !important;
}

.answer-area {
    padding: 15px;
    background-color: #f4fff7;
    border-radius: 10px;
    border: 1px solid #e7eaff;
    margin-top: 10px;
}

.answer-area .answer-title {
    font-size: 18px;
    color: #FFF;
    padding: 15px;
    margin: -16px -16px 10px;
    border-radius: 10px 10px 0 0;
    background-color: #178b17;
    display: flex;
    align-items: center;
}

.answer-title .icon {
    margin-right: 7px;
}

.problems-title {
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    margin-top: -5px;
}

.problem-solution {
    margin-bottom: 10px;
}

.thinking {
    display: flex;
    align-items: center;
    margin: 22px 0 -5px !important;
}

.thinking .icon {
    margin-right: 8px;
}

.ariyan-guruji.show {
    transform: unset !important;
}

.askariyanguruji {
    display: flex;
    justify-content: center;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e7eaff;
    flex-direction: column;
    text-align: left;
    background: #FFF;
}

.askariyanguruji b {
    font-size: 22px !important;
    margin-bottom: 7px;
}

#another-ask-guruji {
    margin-top: 10px;
    margin-bottom: 5px;
}

.asked-question {
    font-size: 18px !important;
    margin: 15px 0 10px !important;
    display: block;
    text-transform: capitalize;
}

.autocomplete-suggestions {
    position: absolute;
    z-index: 1000;
    background-color: #fff;
    border: 1px solid #ddd;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    display: none;
}

.autocomplete-suggestion-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.autocomplete-suggestion-item:last-child {
    border-bottom: none;
}

.autocomplete-suggestion-item:hover {
    background-color: #f0f0f0;
}

.loading-result.show {
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.feather-icon {
    vertical-align: middle;
    margin-right: 5px;
}

.spinner {
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.intro.show {
    display: block;
}

/* Add styles for the Ariyan Guruji answer area content */
.ariyan-guruji .answer-area p {
    color: #333 !important;
    /* Ensure solution text is readable */
    font-size: 15px !important;
    line-height: 1.5em !important;
}

/* Style for the Ariyan Guruji button */
.btn.ask-guruji {
    margin-top: 20px;
    /* Add space above the button */
}


.planet-details-content .planet-info {
    background: #ebf1f6ff;
    border-radius: 8px;
    padding: 1px 20px 15px;
    margin-bottom: 20px;
}

.planet-details-content .planet-info p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}

.planet-details-content .interpretation {
    margin-top: 20px;
}


.planet-details-content .error-message p {
    color: #e74c3c !important;
    text-align: center;
    font-size: 14px;
    margin: 20px 0;
}

.planet-details-content {
    margin-top: 20px;
}


.horoscope-section {
    margin-top: -10px;
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e7eaff;
}

.horoscope-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.horoscope-header h3 {
    color: #2c3e50;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.zodiac-sign {
    background: linear-gradient(242deg, #06215b, #0c46c8);
    color: white;
    padding: 6px 12px;
    border-radius: 7px;
    font-weight: 500;
    font-size: 14px;
}

.horoscope-description {
    font-size: 15px;
    line-height: 1.6;
    color: #34495e;
    margin-bottom: 25px;
}

/* Score Bars */
.scores-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
}

.score-item {
    background: #e6f2ff;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #e7eaff;
}

.score-label {
    display: block;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 14px;
}

.score-bar {
    position: relative;
    background: #e9ecef;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.score-value {
    position: absolute;
    right: 0;
    top: -25px;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
}

/* Lucky Details */
.lucky-details {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(242deg, #06215b, #0c46c8);
    border-radius: 5px;
}

.lucky-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lucky-label {
    font-weight: 600;
    color: #def0f5;
}

.lucky-value {
    font-weight: 500;
    color: #def1f8;
}

.color-preview {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Monthly Horoscope Styles */
.important-days {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.days-section h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 16px;
}

.days-list {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    color: #495057;
}

/* Yearly Horoscope Styles */
.yearly-phases {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.yearly-phase {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.phase-header {
    background: linear-gradient(242deg, #06215b, #0c46c8);
    color: white;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.phase-header h4 {
    margin: 0;
    font-size: 16px;
}

.phase-score {
    background: rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 10px;
    font-weight: 600;
}

.phase-content {
    padding: 15px;
}

.phase-prediction {
    font-size: 16px;
    line-height: 1.6;
    color: #34495e;
    margin-bottom: 20px;
}

.phase-details {
    display: grid;
    gap: 15px;
}

.phase-detail {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 5px;
    border-left: 2px solid #102274;
}

.phase-detail h5 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 14px;
}

.phase-detail p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #495057;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 40px 20px;
}

.loading-state img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.loading-state p {
    color: #667eea;
    font-weight: 500;
    margin: 0;
}

/* Button States */
.submit-btn:disabled {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

.submit-btn:disabled i {
    color: #6c757d;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .scores-grid {
        grid-template-columns: 1fr;
    }
    
    .important-days {
        grid-template-columns: 1fr;
    }
    
    .lucky-details {
        flex-direction: column;
        gap: 10px;
    }
}


/* New Prediction Page Styles */

.chart-container {
    padding: 0px;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-container svg {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.kundali-grid {
    display: block;
    padding: 0;
}

.kundali-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e7eaff;
}

.kundali-table tbody tr {
    border-bottom: 1px solid #e7eaff;
}

.kundali-table tbody tr:last-child {
    border-bottom: none;
}

.kundali-table tbody tr:hover {
    background-color: #f8f9ff;
}

.kundali-table tbody td {
    padding: 12px 15px;
    vertical-align: middle;
    font-size: 14px;
}

.kundali-table tbody td:first-child {
    font-weight: 600;
    color: #1d1d1d;
    width: 45%;
}

.kundali-table tbody td:last-child {
    color: #47484c;
    width: 55%;
}

.kundali-item {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 7px;
    border: 1px solid #e7eaff;
}

.kundali-item .label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.kundali-item .value {
    font-size: 15px;
    color: #1d1d1d;
    font-weight: 600;
}

.panchang-grid {
    padding: 15px;
}

.panchang-item {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 7px;
    border: 1px solid #e7eaff;
    margin-bottom: 10px;
}

.panchang-item:last-child {
    margin-bottom: 0;
}

.panchang-item .panchang-title {
    font-size: 14px;
    color: #0d0db9;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: capitalize;
}

.panchang-item .panchang-content {
    font-size: 14px;
    color: #3d3d3d;
    line-height: 1.5;
}

.panchang-item .panchang-content strong {
    color: #1d1d1d;
}

/* Dasha Table Styles */
.dasha-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e7eaff;
}

.dasha-table thead {
    background: linear-gradient(242deg, #06215b, #0c46c8);
}

.dasha-table thead th {
    color: #FFF;
    font-weight: 600;
    padding: 12px 10px;
    text-align: left;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dasha-table tbody tr {
    border-bottom: 1px solid #e7eaff;
    transition: background-color 0.2s ease;
}

.dasha-table tbody tr:hover {
    background-color: #f8f9ff;
}

.dasha-table tbody tr:last-child {
    border-bottom: none;
}

.dasha-table tbody tr.current-dasha {
    background-color: #d4edda;
    font-weight: 600;
}

.dasha-table tbody tr.current-dasha:hover {
    background-color: #c3e6cb;
}

.dasha-table tbody td {
    padding: 12px 10px;
    color: #47484c;
    vertical-align: middle;
    font-size: 14px;
}

.dasha-table tbody td.planet-name {
    font-weight: 600;
    color: #1d1d1d;
}

.dasha-table tbody tr.current-dasha td {
    color: #155724;
}

.dasha-table tbody td.dasha-date {
    font-size: 13px;
}

.dasha-period {
    background: #e6f2ff;
    padding: 10px 12px;
    border-radius: 7px;
    border-left: 3px solid #0d0db9;
    margin-bottom: 8px;
}

.dasha-period.current {
    background: #d4edda;
    border-left: 3px solid #28a745;
}

.dasha-period .dasha-name {
    font-size: 16px;
    color: #0d0db9;
    font-weight: 600;
    margin-bottom: 4px;
}

.dasha-period.current .dasha-name {
    color: #155724;
}

.dasha-period .dasha-dates {
    font-size: 13px;
    color: #555;
}

.dosha-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
}

.dosha-status.present {
    background: #ffd6d6;
    color: #c51313;
}

.dosha-status.absent {
    background: #c2ffd7;
    color: #088535;
}

.dosha-remedies {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e7eaff;
}

.dosha-remedies h4 {
    font-size: 14px;
    color: #0d0db9;
    font-weight: 600;
    margin-bottom: 8px;
}

.dosha-remedies ul {
    padding-left: 20px;
    margin: 0;
}

.dosha-remedies li {
    font-size: 13px;
    color: #3d3d3d;
    line-height: 1.6;
    margin-bottom: 6px;
}

#loading-step {
    animation: pulse 1.5s ease-in-out infinite;
    display: none; /* Hide the step text */
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}


/* History Table Styles */
.history-search-container {
    position: relative;
    margin: 0;
}

.history-search-container .form-control {
    padding-right: 40px;
    background: #FFF;
    border: 1px solid #e7eaff;
}

.history-search-container .form-control::placeholder {
    color: gray;
}

.history-search-container .search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    pointer-events: none;
}

.history-table-container {
    margin: 0;
    background: #FFF;
    border-radius: 10px;
    border: 1px solid #e7eaff;
    overflow-x: auto;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    font-family: Inter, sans-serif;
}

.history-table thead {
    background: linear-gradient(242deg, #06215b, #0c46c8);
}

.history-table thead th {
    color: #FFF;
    font-weight: 600;
    padding: 12px 10px;
    text-align: left;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    font-family: Inter, sans-serif;
}

.history-table tbody tr {
    border-bottom: 1px solid #e7eaff;
    transition: background-color 0.2s ease;
}

.history-table tbody tr:hover {
    background-color: #f8f9ff;
}

.history-table tbody tr:last-child {
    border-bottom: none;
}

.history-table tbody td {
    padding: 12px 10px;
    color: #47484c;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 14px;
    font-family: Inter, sans-serif;
}

.history-table tbody td.no-history {
    text-align: center;
    padding: 30px;
    color: #999;
    font-style: italic;
}

.history-table .name-cell {
    font-weight: 600;
    color: #1d1d1d;
}

.history-table .gender-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.history-table .gender-badge.male {
    background: #e3f2fd;
    color: #1976d2;
}

.history-table .gender-badge.female {
    background: #fce4ec;
    color: #c2185b;
}

.history-table .gender-badge.other {
    background: #f3e5f5;
    color: #7b1fa2;
}

/* Date and time cells inherit global styles */

.history-table .place-cell {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.history-table .action-cell {
    text-align: center;
}

.history-table .action-cell .icon {
    width: 20px;
    height: 20px;
    color: #0d0db9;
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 15px 20px;
    flex-wrap: wrap;
}

.pagination-btn {
    min-width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF;
    border: 1px solid #e7eaff;
    border-radius: 7px;
    color: #47484c;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0 10px;
}

.pagination-btn:hover:not(.active):not(.disabled) {
    background: #f8f9ff;
    border-color: #0d0db9;
    color: #0d0db9;
}

.pagination-btn.active {
    background: linear-gradient(242deg, #06215b, #0c46c8);
    color: #FFF;
    border-color: #0d0db9;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn .icon {
    width: 16px;
    height: 16px;
}

.pagination-ellipsis {
    min-width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 600;
}

/* Responsive Table */
@media only screen and (max-width: 768px) {
    .history-table {
        font-size: 14px;
    }
    
    .history-table thead th {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .history-table tbody td {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .history-table .place-cell {
        max-width: 100px;
    }
    
    .pagination-btn {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

/* Empty State */
.history-empty-state {
    text-align: center;
    padding: 40px 20px;
}

.history-empty-state .icon {
    width: 60px;
    height: 60px;
    color: #ccc;
    margin-bottom: 15px;
}

.history-empty-state h4 {
    font-size: 18px;
    color: #666;
    margin-bottom: 8px;
}

.history-empty-state p {
    font-size: 14px;
    color: #999;
}
