/* General Body Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, rgb(255, 232, 181), rgb(245, 255, 155));
}

#pdf-container {
    margin: 0px;
    padding: 0px;
    background: linear-gradient(to right, rgb(255, 232, 181), rgb(245, 255, 155));
}

.page-break {
    page-break-before: always; 
    break-before: page;       
}

/* Popup CSS */
.popup {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position */
    top: 0;
    left: 0;    
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background: linear-gradient(to right, rgb(255, 232, 181), rgb(245, 255, 155)); 
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {              
    padding: 15px 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.9rem; 
    font-weight: bold;   
    color: #661010;
    text-align: center;
}

/* Progress bar container */
.progress-bar {
    width: 100%;
    max-width: 300px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3); /* Light background */
    border-radius: 5px;
    margin-top: 20px;
    overflow: hidden;
    position: relative;
}

/* Progress bar fill */
.progress-bar-fill {
    height: 100%;
    width: 0; /* Start with 0% width */
    background: linear-gradient(to right, #4caf50, #8bc34a); /* Green gradient */
    border-radius: 5px;
    animation: progressAnimation 2s ease-in-out forwards; /* Simulate progress */
}

/* Progress bar animation */
@keyframes progressAnimation {
    0% {
        width: 0;
    }
    100% {
        width: 100%; /* Fill the bar */
    }
}




/* Force desktop layout when generating PDF */
.force-desktop {
    width: 793.7px; /* 8.3 inches at 96 DPI */
    /*height: 1122.52px; */
    overflow: visible;
    transform: scale(1); /* Ensure no scaling is applied */
    transform-origin: top center; /* Align scaling origin */
    display: block; /* Ensure block layout */
    /* font-size: 16px; */
}

/* #content-page1 {
    width: 100%;
    padding: 0px;
    margin: 0px;
    display: flex;
    flex-direction: column; 
    align-items: center;    
    justify-content: center; 
} */
/* 
#content-page1, #content-page2 {
    page-break-inside: avoid;
    page-break-after: auto;
    page-break-before: auto;
}

.number-freq-info {
    page-break-inside: avoid;
    page-break-after: auto;
    page-break-before: auto;
} */


/* .scale-content-page1 {
    transform: scale(1, 0.88); 
    transform-origin: top center; 
}

.scale-content-page2 {
    transform: scale(0.97); 
    transform-origin: top center;
    
}

.scale-content-page3 {
    transform: scale(1, 0.76); 
    transform-origin: top center;
    
}

.scale-content-page4 {
    transform: scale(1, 0.76); 
    transform-origin: top center;
    
} */






/****************** Parent container & Border Area ***************************/
.parent-container {
    /* width: 100%; */
    /* max-width: 1200px; */
    /* margin: 0 auto; */
    background: linear-gradient(to right, rgb(255, 232, 181), rgb(245, 255, 155)); 
    
    /* padding: 20px; */
    /* border-radius: 8px; */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */    
    display: flex;
    flex-direction: column; 
    align-items: center;    
    justify-content: center; 
}

.input-page-border-area {
    width: 95%;
    background-color: transparent;
    border: 2px solid rgb(141, 13, 13);
    border-radius: 8px;
    margin: 6px;    
    display: flex;
    flex-direction: column; 
    align-items: center;   
    justify-content: center;
    max-width: 786px;
}

.page-border-area {
    width: 95%;
    background-color: transparent;
    border: 2px solid rgb(141, 13, 13);
    border-radius: 8px;
    margin: 6px;    
    display: flex;
    flex-direction: column; 
    align-items: center;   
    justify-content: top; 
    /* pdf according height */
    max-width: 786px;
    height: 1101px; 
}

/* hide all on load */
#info-section-page1, #info-section-page2, #info-section-page3, #info-section-page4, #info-section-page5, #info-section-page6, #info-section-page7, #info-section-page8 {
    margin-top: 6px;
    display: none;    /* block */
}

#cover-page-top {
    display: none;    /* block */
}

/* #info-section-page1 {
    display: none;
} */

/* container for page cover */
/* .cover-parent-container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(to right, rgb(33, 107, 18), rgb(148, 161, 29)); 
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

   
    display: flex;
    flex-direction: column; 
    align-items: center;   
    justify-content: center; 
}

.cover-page-border-area {
    width: 98%;
    background-color: transparent;
    border: 2px solid rgb(255, 239, 146);
    border-radius: 8px;

 
     display: flex;
     flex-direction: column; 
     align-items: center;    
     justify-content: center; 
} */

.bottom-text {
    width: 100%;
    text-align: center;
    position: absolute;
    margin-top: 1070px;
    margin-bottom: 5px;
    color: #7c0e0e;
    font-weight: bold;
}

/* .bottom-text-p3 {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
    color: #7c0e0e;
    font-weight: bold;
}

.bottom-text-p4 {
    width: 100%;
    text-align: center;
    position: absolute;
    margin-top: 1070px;
    color: #7c0e0e;
    font-weight: bold;
}
 
.bottom-text-p5 {
    width: 100%;
    text-align: center;
    margin-top: 214px;
    margin-bottom: 5px;
    color: #7c0e0e;
    font-weight: bold;
}

.bottom-text-p6 {
    width: 100%;
    text-align: center;
    position: absolute;
    margin-top: 1070px;
    color: #7c0e0e;
    font-weight: bold;
}

.bottom-text-p7 {
    width: 100%;
    text-align: center;
    margin-top: 55px;
    margin-bottom: 5px;
    color: #7c0e0e;
    font-weight: bold;
}

.bottom-text-p8 {
    width: 100%;
    text-align: center;
    position: absolute;
    margin-top: 1060px;
    margin-bottom: 5px;
    color: #7c0e0e;
    font-weight: bold;
} */

h3 {
    margin: 6px;
    color: #5e1a0e;
    font-size: 17px;
}

.dasha-header {
    margin-top: 10px;
    margin-bottom: 12px;
    color: #5e1a0e;
    font-size: 17px;
}

h4 {
    color: #5e1a0e;
    font-size: 18px;
}

.feat-header2 {
    margin-top: 10px; 
    margin-bottom: 0px;
    padding: 0px;
    font-size: 17px;
}

.feat-header1 {
    margin: 0px;
    padding: 0px;
    font-size: 16px;
}


/* hide cover page */
/* #cover-page {
    display: none;
} */
/****************** Input Section ***************************/
.header-logo img {
    margin-top: 10px; 
    height: 120px;
    width: auto;
}

#input-label {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: bold;
    color: #8d5c12;
}

/* Name Section */
.name-section {
    width: 70%;
    display: flex;
    flex-direction: row; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 5px;
}

.name-section label {    
    font-family: 'Poppins', sans-serif;    
    color: black;
    font-size: 16px;
    font-weight: 500;
    background: linear-gradient(to left, rgb(255, 255, 125), rgb(252, 135, 119)); 
    border: 1px solid black;
    border-radius: 3px;
    padding: 6px 12px;    
}

.name-section input {
    font-family: 'Poppins', sans-serif;    
    width: 100%;
    max-width: 500px;
    padding: 4px;
    color: black;
    font-size: 17px;
    font-weight: 500;
    background-color: #fce1b9;
    border: 1px solid black;
    border-radius: 3px;
}

.name-section input:focus {
    color: black;
    background-color: #ffda8a;
    outline: none; /* Optional: Removes the default focus outline */
}

/* Date of Birth Section */
.dob-section {
    width: 70%;
    display: flex;
    flex-direction: row; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 5px;
    margin-top: 13px;
}

.dob-section label {    
    font-family: 'Poppins', sans-serif;    
    color: black;
    font-size: 16px;
    font-weight: 500;
    background: linear-gradient(to left, rgb(255, 255, 125), rgb(252, 135, 119)); 
    border: 1px solid black;
    border-radius: 3px;
    padding: 6px 8px;    
}

.dob-section input {
    font-family: 'Poppins', sans-serif;    
    width: 18%;
    max-width: 100px;
    padding: 4px;
    color: black;
    font-size: 17px;
    font-weight: 500;
    background-color: #fce1b9;
    border: 1px solid black;
    border-radius: 3px;
}

.dob-section input:focus {
    color: black;
    background-color: #ffda8a;
    outline: none; 
}

/* Time of Birth Section */
.birth-time-section {
    width: 75%;
    display: flex;
    flex-direction: row; 
    align-items: center;    
    justify-content: center; 
    gap: 5px;
    margin-top: 13px;
}

.birth-time-section label {    
    font-family: 'Poppins', sans-serif;    
    color: black;
    font-size: 16px;
    font-weight: 500;
    background: linear-gradient(to left, rgb(255, 255, 125), rgb(252, 135, 119)); 
    border: 1px solid black;
    border-radius: 3px;
    padding: 6px 10px;    
}

.birth-time-section input {
    font-family: 'Poppins', sans-serif;    
    width: 16%;
    max-width: 100px;
    padding: 4px;
    color: black;
    font-size: 17px;
    font-weight: 500;
    background-color: #fce1b9;
    border: 1px solid black;
    border-radius: 3px;
}

.birth-time-section select {
    font-family: 'Poppins', sans-serif;    
    width: 20%;
    max-width: 100px;
    padding: 4px;
    color: black;
    font-size: 16px;
    font-weight: 500;
    background-color: #fce1b9;
    border: 1px solid black;
    border-radius: 3px;
}

.birth-time-section input:focus {
    color: black;
    background-color: #ffda8a;
    outline: none; 
}

/* Place of Birth Section */
/* Input Buttons */
.input-button-label {
    margin-top: 20px;
    font-size: 17px;
}

.input-button-container {
    display: flex;
    justify-content: center; /* Center the buttons */
    gap: 10px; /* Space between buttons */
    margin-top: 10px;
}

/* General button styling */
.input-btn {
    background-color: #ca7322; /* Blue background */
    color: white; /* White text */
    border: none; /* Remove borders */
    border-radius: 5px; /* Rounded corners */
    padding: 10px 20px; /* Padding for size */
    font-size: 16px; /* Font size */
    cursor: pointer; /* Change cursor to pointer */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Hover and active transitions */
}

/* hide all options on load */
#g-api-input-container, #astro-api-input-container, #manual-input-container {
    width: 100%;
    display: none; /* flex */
    flex-direction: column; 
    align-items: center;   
    justify-content: center; 
    /* display: none; */
}


/* Google API */
/* #g-api-label {
    margin-top: 20px;
    margin-bottom: 5px;
} */

.birth-place-section {
    width: 68%;
    display: flex;
    flex-direction: row; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 5px; 
    margin-top: 20px;   
}

.birth-place-section label {    
    font-family: 'Poppins', sans-serif;    
    color: black;
    font-size: 16px;
    font-weight: 500;
    background: linear-gradient(to left, rgb(255, 255, 125), rgb(252, 135, 119)); 
    border: 1px solid black;
    border-radius: 3px;
    padding: 6px 7px;    
}

.birth-place-section input {
    font-family: 'Poppins', sans-serif;    
    width: 65%;
    max-width: 400px;
    padding: 5px;
    color: black;
    font-size: 16px;
    font-weight: 500;
    background-color: #fce1b9;
    border: 1px solid black;
    border-radius: 3px;
}

.birth-place-section input:focus {
    color: black;
    background-color: #ffda8a;
    outline: none; 
}

/* Google API Birth Place Details Output */
.place-details-output {
    width: 45%;
    max-width: 350px;
    border: 1px solid #000000; 
    border-radius: 5px; 
    padding: 10px; 
    margin-top: 10px; 
    font-size: 14px; 
    line-height: 1.4;
    background-color: #fff1b4; 
}

.place-details-output h4 {
    font-size: 16px; 
    margin-top: 0px;
    margin-bottom: 8px; 
}

.place-details-output p {
    margin: 5px 0; 
}

/* Astrology API */
/* #astro-api-label {
    margin-top: 20px;
    margin-bottom: 5px;
} */

.birth-place-section-astro-api {
    width: 80%;
    display: flex;
    flex-direction: row; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 5px;    
    margin-top: 20px;
}

.birth-place-section-astro-api label {    
    font-family: 'Poppins', sans-serif; 
    width: 21%;  
    max-width: 110px; 
    color: black;
    font-size: 16px;
    font-weight: 500;
    background: linear-gradient(to left, rgb(255, 255, 125), rgb(252, 135, 119)); 
    border: 1px solid black;
    border-radius: 3px;
    padding: 6px 7px;    
}

.birth-place-section-astro-api input {
    font-family: 'Poppins', sans-serif;    
    width: 60%;
    max-width: 400px;
    padding: 5px;
    color: black;
    font-size: 16px;
    font-weight: 500;
    background-color: #fce1b9;
    border: 1px solid black;
    border-radius: 3px;
}

.birth-place-section-astro-api input:focus {
    color: black;
    background-color: #ffda8a;
    outline: none; 
}

#search-button {
    padding: 9px 15px;
    font-size: 17px;
    background-color: #8d6213;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

#click-label {
    margin-top: 3px;
    display: none;
}

/* Astrology API Birth Place Details Output */
.place-details-output-astro-api {
    width: 45%;
    max-width: 350px;
    border: 1px solid #000000; 
    border-radius: 5px; 
    padding: 10px; 
    margin-top: 10px; 
    font-size: 14px; 
    line-height: 1.4;
    background-color: #fff1b4; 
}

.place-details-output-astro-api h4 {
    font-size: 16px; 
    margin-top: 0px;
    margin-bottom: 8px; 
}

.place-details-output-astro-api p {
    margin: 5px 0; 
}


/* Manual Inputs */
/* .cls-manual-checkbox {
    margin-top: 20px;
    margin-bottom: 4px;
} */

/* #manual-checkbox {
    margin-top: 0px;  
    vertical-align: middle;    
} */

/* #manual-checkbox-label {   
    vertical-align: middle;   
} */

/* input[type="checkbox"] {
    width: 16px; 
    height: 16px; 
    transform: scale(1.5); 
    margin: 0px 5px;
    cursor: pointer; 
    border: 1px solid #000000;
} */

.birth-place-section-manual {
    width: 68%;
    display: flex;
    flex-direction: row; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 5px;    
    margin-top: 20px;
}

.birth-place-section-manual label {    
    font-family: 'Poppins', sans-serif;    
    color: black;
    font-size: 16px;
    font-weight: 500;
    background: linear-gradient(to left, rgb(255, 255, 125), rgb(252, 135, 119)); 
    border: 1px solid black;
    border-radius: 3px;
    padding: 6px 7px;    
}

.birth-place-section-manual input {
    font-family: 'Poppins', sans-serif;    
    width: 65%;
    max-width: 400px;
    padding: 5px;
    color: black;
    font-size: 16px;
    font-weight: 500;
    background-color: #fce1b9;
    border: 1px solid black;
    border-radius: 3px;
}

.birth-place-section-manual input:focus {
    color: black;
    background-color: #ffda8a;
    outline: none; 
}

.latitude-manual, .longitude-manual, .timeZone-manual {
    width: 68%;
    max-width: 455px;
    display: flex;
    flex-direction: row; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 5px; 
    margin-top: 5px;   
}

.latitude-manual label, .longitude-manual label, .timeZone-manual label {    
    width: 20%;
    font-family: 'Poppins', sans-serif;    
    color: black;
    font-size: 16px;
    font-weight: 500;
    background: linear-gradient(to left, rgb(255, 255, 125), rgb(250, 189, 181)); 
    border: 1px solid black;
    border-radius: 3px;
    padding: 6px 7px;    
}

.latitude-manual input, .longitude-manual input, .timeZone-manual input {
    font-family: 'Poppins', sans-serif;    
    width: 315px;
    padding: 5px;
    color: black;
    font-size: 16px;
    font-weight: 500;
    background-color: #fce1b9;
    border: 1px solid black;
    border-radius: 3px;
}

.latitude-manual input:focus, .longitude-manual input:focus, .timeZone-manual input:focus {
    color: black;
    background-color: #ffda8a;
    outline: none; 
}

/* Name Display */
.name-correction-display {
    width: 95%;
    display: flex;
    flex-direction: row; 
    align-items: center;    
    justify-content: center; 
    gap: 5px;
    margin-top: 15px;
}

#name-correction-label {    
    font-family: 'Poppins', sans-serif;    
    color: black;
    font-size: 16px;
    font-weight: 500;
    background: linear-gradient(to left, rgb(255, 255, 125), rgb(252, 135, 119)); 
    border: 1px solid black;
    border-radius: 3px;
    padding: 6px 12px;    
}

.name-correction-display input {
    font-family: 'Poppins', sans-serif;    
    width: 100%;
    max-width: 400px;
    padding: 4px;
    color: black;
    font-size: 17px;
    font-weight: 500;
    background-color: #fce1b9;
    border: 1px solid black;
    border-radius: 3px;
}

.name-correction-display input:focus {
    color: black;
    background-color: #ffda8a;
    outline: none; /* Optional: Removes the default focus outline */
}

/* Name correction Frequeny */
.name-correction-frequency {
    width: 90%;
    max-width: 500px;
    border-collapse: collapse;
    margin: 10px auto;
    text-align: center;
}

.name-correction-frequency td {
    font-size: 16px;
    font-weight: bold;
    border: 1px solid black;
    padding: 5px;
    background: #ffcc8a;
    color: #350505;
}

.name-correction-frequency td:first-child {
    width: 300px; 
}

.cls-name-frequency {
    font-size: 20px;
}

.name-correction-frequency td:nth-child(2) {
    width: 140px; 
}

/* Name Suggestion */
.cls-name-suggestion {
    width: 70%;
    max-width: 450px;
    text-align: center;
    margin-top: 15px;
}

#suitable-frequencies-section {
    font-size: 16px;    
}

/* Default: Hide the <br> for larger screens (desktop) */
.mobile-break {
    display: none;
}

.name-suggestion-text {
    width: 100%; 
    font-size: 16px;
    text-align: center;
    padding: 5px; 
    margin: 5px;
    border: 1px solid black;
    border-radius: 5px;
}

.frequency-check-text {
    width: 85%;
    max-width: 850px;
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    font-weight: normal;
    border: 1px solid black;
    border-radius: 5px;
    padding: 10px 15px;
    color: #350505;
    background-color: #ffe08d;
}

/* Frequency Check Button */
.frequency-button {
    background-color: #ca6022; 
    color: white; 
    border: none; 
    border-radius: 5px; 
    font-size: 16px; 
}

/* Frequency Check Buttons */
.frequency-check {
    margin: 5px 5px;
    text-align: center;
    width: 100%;
}

#button-container {
    margin-top: 10px;
    text-align: center;
}

#add-field-button {
    background-color: #f58f1b; /* Blue background */
    color: rgb(255, 255, 255); /* White text */
    border: none; /* Remove borders */
    border-radius: 5px; /* Rounded corners */
    padding: 10px 20px; /* Padding for size */
    font-size: 16px; /* Font size */
    cursor: pointer; /* Change cursor to pointer */
}

#options-container {
    margin-top: 10px;
    text-align: center;
}

.option-button {
    background-color: #ca7322; /* Blue background */
    color: white; /* White text */
    border: none; /* Remove borders */
    border-radius: 5px; /* Rounded corners */
    padding: 10px 20px; /* Padding for size */
    font-size: 16px; /* Font size */
    cursor: pointer; /* Change cursor to pointer */
    margin-top: 5px;
}

/* .option-button:hover {
    background-color: #ddd;
} */

#field-container {
    margin-top: 10px;
}

.custom-input-style {
    padding: 5px;  
    font-size: 16px; 
    border: 1px solid #7c7171;
    border-radius: 5px;
}


.name-correction-header {
    margin: 10px 0px 0px 0px;
    padding: 0px;
    width: 100%;
    text-align: center;
}

/* #frequency-check-section {
    padding: 0px;
    margin: 0px;
} */
/***************** Frequency Check **********************/
.frequency-grid-modified-container {
    width: 98%;
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-direction: row; 
    align-items: start;    
    justify-content: center; 
    text-align: center;
}


.frequency-check-header {
    margin: 10px 0px;
    padding: 0px;
    width: 100%;
    text-align: center;
    font-size: 17px;
}

#frequency-table-container {
    width: 80%;
    display: flex; 
    justify-content: center; 
    align-items: center;     
    margin: 9px auto; /* Center content */
}

#frequency-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

#frequency-table th,
#frequency-table td {
    border: 1px solid #330505;
    padding: 4px 5px;
}

#frequency-table th {
    background-color: orange;
    font-size: 14px;
    font-weight: bold;
}

#frequency-table td {
    font-size: 12px;
    font-weight: bold;
    color: #530d0d;
}

#frequency-table td:nth-child(4) {
    font-size: 15px;
    color: #630e0e; 
}

#frequency-table td:nth-child(3) {
    max-width: 90px;
    word-wrap: break-word;
}

/************* Modified Grid Table Container ********************/
.modified-grid-table-container {
    width: 100%;
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-direction: column; 
    align-items: center;    
    justify-content: center; 
    text-align: center;
}


/* Modified Grid */
.modified-grid-container {   
    width: 80%;
    margin: 6px; 
    display: flex;
    flex-direction: column; 
    align-items: center;    
    justify-content: center; 
    gap: 5px;
    /* margin-top: 25px; */
}

.modified-grid {
    border-collapse: collapse;
    border: 1px solid black;
}

.modified-grid td {
    width: 120px;
    height: 70px;
    border: 1px solid black;
    text-align: center;
    vertical-align: middle;
    padding: 0;  
    margin: 0; 
    color: black;
    font-size: 16px;
    font-weight: 550;
}

.modified-grid-label {
    margin-bottom: 10px;
    color: #4e0d0d;
}

/****************** Modified Concentration Table ***************************/
.modified-concentration-table {    
    width: 95%;
    margin: 5px;  
    display: flex;
    flex-direction: row; 
    align-items: center;    
    justify-content: center;     
}

.modified-concentration-table table {    
    border-collapse: collapse;                 
}

/* .energy-concentration-table td:nth-child(5) {
    padding: 5px;  
} */

#modified-header1 {
    background: linear-gradient(to right, rgb(255, 25, 255), rgb(41, 9, 233));
}

#modified-header1 td {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    padding: 4px;
    font-weight: 500;  
    border: 1px solid black;
    text-align: center;
    vertical-align: middle;
    color: white;
}

.modified-header2 {                
    border-bottom: 2px solid black;
}

.modified-header2 td {
    height: 35px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    padding: 3px;
    border: 1px solid black;
    text-align: center;
    vertical-align: middle;
    font-weight: 550;
}

.modified-rows td {  
    width: 120px;
    color: black;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: bold;
    padding: 6px 5px;
    border: 1px solid black;
    text-align: center;
    vertical-align: middle;    
}

/*color*/
#mg-number-1, #mg-number-1-element, #mg-number-9, #mg-number-9-element {
    background-color: #fdc881;
}

#mg-number-3, #mg-number-3-element, #mg-number-6, #mg-number-6-element {
    background-color: #ffbcba;
}

#mg-number-4, #mg-number-4-element, #mg-number-7, #mg-number-7-element {
    background-color: #a3cdd3;
}

#mg-number-2, #mg-number-2-element, #mg-number-5, #mg-number-5-element, #mg-number-8, #mg-number-8-element {
    background-color: #aef199;
}

#mg-number-1, #mg-number-2, #mg-number-3, #mg-number-4, #mg-number-5, #mg-number-6, #mg-number-7, #mg-number-8, #mg-number-9 {
    font-weight: bold;
}

.mg-difference-row td {
    height: 35px;
    width: 120px;
    color: #530909;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: bold;
    padding: 3px;
    border: 1px solid black;
    border-bottom: 2px solid black;
    text-align: center;
    vertical-align: middle;
    background: linear-gradient(to right, rgba(233, 56, 25, 0.267), rgba(233, 173, 9, 0));    
}

/* bootom text */
/* #name-freq-page-bottom-text {
    margin-top: 20px;
} */

/* Get Details Button */
#show-details {
    margin-top: 15px;
    margin-bottom: 20px;
    padding: 15px;
    font-size: 17px;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}
button:hover {
    background-color: #0056b3;
}

#validation-message {
    margin-bottom: 20px;
}



/************************** Cover Page **************************/
#cover-page-area {
    width: 95%;
    display: flex;
    flex-direction: column; 
    align-items: center;    
    justify-content: start; 
    gap: 5px;  
    /* background: radial-gradient(closest-side at center, rgb(221, 255, 68), rgb(115, 150, 20)); */
    background: radial-gradient(closest-side at center, rgb(250, 225, 86), rgb(126, 156, 44));
}

.design1 img {
    margin-top: 4px; 
    margin-bottom: 0px;
    height: 90px;
    width: auto;
}

.mantra img {
    margin-top: -40px; 
    height: 160px;
    width: auto;
}

.cover-logo img {
    margin-top: -25px; 
    height: 390px;
    width: auto;
    box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.2);
    border-radius: 240px;
}

.title-txt {
    background: linear-gradient(to right, rgb(106, 12, 109), rgb(211, 123, 8)); 
    width: 60%;
    padding: 20px 20px;
    border-radius: 8px;
    border: 1px solid rgb(250, 217, 119);
    font-size: 27px;
    font-weight: bold;
    color: #ffd000;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 5px;
    
}

.report-info-txt {
    font-size: 18px;    
    font-weight: bold;
    color: #4b3306;
    margin-top: 0px;
    margin-bottom: 15px;
}

.company-info-txt {
    font-size: 19px;  
    font-weight: bold;  
    color: #2a5c08;
    text-align: center;
}

.company-info-txt2 {
    margin-top: 0px;
    font-size: 16px;  
    font-weight: bold;  
    color: #275508;
    text-align: center;
}

.company-helpline-txt {
    font-size: 17px;    
    font-weight: bold;
    color: #311c04;
    margin-top: 5px;
}

.cover-copyright {
    width: 80%;
    margin-top: 12px;
    display: flex;
    flex-direction: row; 
    align-items: start;    
    justify-content: center; 
    gap: 6px;  
}

.design2 img {
    margin: 0px; 
    height: 80px;
    width: auto;
}

.copyright-txt {
    margin-top: 5px;
    margin-bottom: 0px;
    width: 100%;
    font-size: 14px;
    font-weight: bold;
    color: #552b09;
    text-align: left;
}


/********************************* Info Section Page1 ****************************************/
.top-design {
    display: flex;            
    justify-content: center;  
    align-items: center;     
}

.top-design img { 
    width: 23%;
    margin-top: 15px; 
}


/* Display Name */
.display-name {   
    margin-top: 14px; 
    width: 70%;
    max-width: 600px;
    display: flex;
    flex-direction: row; 
    align-items: center;    
    justify-content: center; 
    gap: 5px;    
}

.display-name input {
    font-family: 'Poppins', sans-serif;      
    width: 100%;
    padding: 7px;
    color: rgb(107, 17, 17);
    font-size: 20px;
    font-weight: bold;
    background: linear-gradient(to left, rgb(255, 255, 125), rgb(252, 135, 119));
    border: 1px solid rgb(85, 15, 15);
    border-radius: 20px;
    text-align: center;
}  

/* Birth details table */
.birth-details-display table {
    /* width: 325px; */
    border-collapse: collapse;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    margin-top: 15px;
    margin-bottom: 10px;
    background: linear-gradient(to right, rgb(247, 171, 108), rgb(246, 252, 167));
}

.birth-details-display td {
    border: 1px solid #50250c;
    padding: 5px;
    text-align: left;
}

.birth-details-display td:first-child {
    width: 120px; /* First column width */
}

.birth-details-display td:nth-child(2) {
    width: 180px; /* second column width */
}


/****************** number info **********************/
.number-freq-info {
    width: 95%;
    display: flex;
    flex-direction: row; 
    align-items: flex-start;    
    justify-content: center; 
    gap: 10px;
    margin-top: 20px;
}

.mbn-container {
    display: flex;
    flex-direction: column; 
    align-items: center;    
    justify-content: center; 
}

.mbn-wrapper {
    /* width: 30%; */
    gap: 0px;
    margin-top: 15px;   
    max-width: 210px;
    height: 100%;
    border: 1px solid #722a14; /* Outer border */
    border-radius: 10px;       /* Rounded corners */
    overflow: hidden;          /* Ensures corners are properly clipped */ 
    margin-top: 25px;       
}

.mulank-bhagyank-namayank-section {
    width: 100%;               /* Table takes full wrapper width */
    border-collapse: collapse;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #440808;   
}

.mulank-bhagyank-namayank-section td {    
    padding: 5px;
    padding-left: 20px;
    padding-right: 15px;
    text-align: left;
}

/* Gradient Rows */
.mulank-row {    
    background: linear-gradient(to right, rgba(230, 90, 132, 0.466), rgba(253, 225, 148, 0.404)); 
}

.bhagyank-row {
    background: linear-gradient(to right,rgb(228, 133, 104), rgb(253, 225, 148)); 
}

.namayank-row {
    background: linear-gradient(to right, rgba(243, 151, 97, 0.582), rgba(253, 225, 148, 0.493)); 
}

.mulank-bhagyank-namayank-section td:nth-child(2) {
    width: 45%; /* Second column width */
    text-align: center;       
}


.highlight-circle {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;    
    font-weight: bold;
    font-size: 18px;
    border: 1px solid #790f0f;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

/* enemy neutral lucky table */
.num-table-container {
    /* width: 60%;  */
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    gap: 4px;    
}

.num-table-container p {
    margin-top: 0px;
    margin-bottom: 10px;
    color: red;
    font-style: italic;
    font-size: 15px;
}

.enemy-neutral-lucky-section {
    width: 100%;
    max-width: 390px;
    border-collapse: collapse;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;  
    font-weight: bold;  
    margin-bottom: 0px;     
}

.enemy-neutral-lucky-section td {
    border: 1px solid #50250c;
    padding: 9px;
    text-align: left;
}

.enemy-neutral-lucky-section td:first-child {
    min-width: 150px; 
    text-align: left; 
}

.enemy-neutral-lucky-section td:nth-child(2) {
    min-width: 160px; 
    text-align: left; 
}

.enemy-row {
    background: linear-gradient(to left, rgb(253, 244, 146), rgb(255, 117, 107));
}

.neutral-row {
    background: linear-gradient(to left, rgb(253, 244, 146), rgb(194, 177, 177));
}

.friendly-row {
    background: linear-gradient(to left, rgb(253, 244, 146), rgb(122, 175, 122));
}

.lucky-row {
    background: linear-gradient(to left, rgb(253, 244, 146), rgb(183, 255, 124));
    color: #0a4e0d;
}

.enemy-neutral-lucky-section td:first-child {
    width: 47%; /* First column width */     
}

.enemy-neutral-lucky-section td:nth-child(2) {
    width: 53%; /* First column width */    
}

/****************** Grid Section *************************/
.grid-container {
    width: 95%;
    display: flex;
    flex-direction: row; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 15px;
}

.grid-container1 {    
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 5px;
    /* margin-top: 25px; */
}

.grid-container1 table {
    border-collapse: collapse;    
}

.grid-container1 table td {
    width: 120px;
    height: 70px;
    border: 1px solid black;
    text-align: center;
    vertical-align: middle;
    padding: 0;  
    margin: 0;   
    color: black;
    font-family: 'Poppins', sans-serif;     
}

/* Standard grid Number font styling */
.number-slg {
    font-size: 18px; 
    font-weight: bold;    
}

/* Standard grid Element font styling */
.element-slg {
    font-size: 14px; 
}

#cell1 {
    background: linear-gradient(to right, rgb(233, 136, 71), rgb(255, 251, 214));
}

#cell2 {
    background: linear-gradient(to right, rgb(250, 106, 95), rgb(255, 251, 214));
}

#cell3 {
    background: linear-gradient(to right, rgb(176, 252, 114), rgb(255, 251, 214));
}

#cell4 {
    background: linear-gradient(to right, rgb(233, 136, 71), rgb(255, 251, 214));
}

#cell5 {
    background: linear-gradient(to right, rgb(176, 252, 114), rgb(255, 251, 214));
}

#cell6 {
    background: linear-gradient(to right, rgb(185, 183, 182), rgb(255, 251, 214));    
}

#cell7 {
    background: linear-gradient(to right, rgb(176, 252, 114), rgb(255, 251, 214));    
}

#cell8 {
    background: linear-gradient(to right, rgb(100, 165, 238), rgb(255, 251, 214));
}

#cell9 {
    background: linear-gradient(to right, rgb(185, 183, 182), rgb(255, 251, 214));
}


/* Birth Grid */
.grid-container2 {    
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 5px;
    /* margin-top: 25px; */
}

.grid-container2 table {
    border-collapse: collapse;
}

.grid-container2 table td {
    width: 120px;
    height: 70px;
    border: 1px solid black;
    text-align: center;
    vertical-align: middle;
    padding: 0;  
    margin: 0; 
    color: black;
    font-size: 17px;
    font-weight: 550;
}

/* Energy  Grid */
.energy-grid-container {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 5px;
}

.grid-container3 {
    width: 90%;    
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 5px;
    margin-top: 20px;
}

.grid-container3 table {
    border-collapse: collapse;
}

.grid-container3 table td {
    width: 150px;
    height: 70px;
    border: 1px solid black;
    text-align: center;
    vertical-align: middle;
    padding: 10px 5px;  
    margin: 0; 
    color: black;
    font-size: 14px;
    font-weight: 550;
    background: linear-gradient(to left, rgba(250, 248, 156, 0.575), rgba(240, 165, 122, 0.637));
}

.grid-container3 label {
    margin-bottom: 100px;
}

/****************** Energy Concentration Table ***************************/
.energy-concentration-table {    
    width: 95%;
    margin-top: 30px;  
    margin-bottom: 20px; 
    display: flex;
    flex-direction: row; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */   
             
}

.energy-concentration-table table {    
    border-collapse: collapse;                 
}

.energy-concentration-table td:nth-child(5) {
    padding: 5px;  /* Adjust the padding value as needed */
}

#energy-header1 {
    height: 40px;
    background: linear-gradient(to right, rgb(255, 25, 255), rgb(41, 9, 233));
}

#energy-header1 td {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    padding: 3px;
    font-weight: 500;  
    border: 1px solid black;
    text-align: center;
    vertical-align: middle;
    color: white;
}

.energy-header2 {                
    border-bottom: 2px solid black;
}

.energy-header2 td {
    height: 35px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    border: 1px solid black;
    text-align: center;
    vertical-align: middle;
    font-weight: 550;
}

.energy-rows td {  
    height: 35px;
    width: 120px;
    color: black;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    border: 1px solid black;
    text-align: center;
    vertical-align: middle;    
}

#water-fire-difference, #wood-metal-difference, #rahu-ketu-difference {
    border: 1px solid black;
    padding: 6px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: #852323;
    background: linear-gradient(to right, rgba(233, 56, 25, 0.267), rgba(233, 173, 9, 0));
}

.highlight-diff {
    font-size: 16px;  
    font-weight: bold; 
    color: rgb(121, 18, 18);        
}

.state-message {
    color: #3d0606;
}

#water-remarks, #fire-remarks, #wood-remarks, #metal-remarks, #rahu-remarks, #ketu-remarks, #moon-remarks, #mercury-remarks, #saturn-remarks  {
    width: 250px;
}
/* #energy-row2 {
    border-bottom: 2px solid black;
} */

#energy-row3 {
    border-top: 2px solid black;
}
/* #energy-row4 {
    border-bottom: 2px solid black;
} */

#energy-row5 {
    border-top: 2px solid black;
}

/* #energy-row6 {
    border-bottom: 2px solid black;
} */

#energy-row7 {
    border-top: 2px solid black;
    border-bottom: 2px solid black;
}

#energy-row8 {
    border-bottom: 2px solid black;
}

#energy-row9 {
    border-bottom: 2px solid black;
}

/*color*/
#number-1, #planet-sun, #element-water, #number-9, #planet-mars, #element-fire {
    background-color: #fdc881;
}

#number-3, #planet-jupiter, #element-wood, #number-6, #planet-venus, #element-metal {
    background-color: #ffbcba;
}

#number-4, #planet-rahu, #element-rahu, #number-7, #planet-ketu, #element-ketu {
    background-color: #a3cdd3;
}

#number-2, #planet-moon, #element-moon, #number-5, #planet-mercury, #element-mercury, #number-8, #planet-saturn, #element-saturn{
    background-color: #aef199;
}

#number-1, #number-2, #number-3, #number-4, #number-5, #number-6, #number-7, #number-8, #number-9 {
    font-weight: 550;
}

#water-energy, #fire-energy, #wood-energy, #metal-energy, #rahu-energy, #ketu-energy, #moon-energy, #mercury-energy, #saturn-energy  {
    font-weight: bold;
}


/**************** Lagna Rashi ***********************/
/* Flexbox layout for Lagna and Rashi sections */
#lagna-rashi-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px; /* Space between Lagna and Rashi */
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 0px;
    margin-bottom: 5px;
}

.lagna-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 0px;
}

#lagna-img img, 
#rashi-img img {
    width: 220px; /* Default width */
    height: 220px; /* Default height */
}

#lagna-text {
    margin-top: -10px;
    margin-bottom: 0px;
    font-size: 20px;
    color: #5c0e66;
    font-weight: bold;
}

.rashi-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 0px;
}

#rashi-text {
    margin-top: -10px;
    margin-bottom: 0px;
    font-size: 20px;
    color: #5c0e66;
    font-weight: bold;
}
/**************** Rudraksha *****************************/
.rudraklsha-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 15px;
}

.Rudraksha-banner1 {
    width: 100%;
    margin-bottom: -6px;
}

.Rudraksha-banner2 {
    width: 100%;
}

.Rudraksha-banner1 img {
    width: 90%;
    max-width: 900px;
    border-top-left-radius: 25px; 
    border-top-right-radius: 25px;
}

.Rudraksha-banner2 img {
    width: 90%;
    max-width: 900px;
    border-bottom-left-radius: 25px; 
    border-bottom-right-radius: 25px;
}


#rudraksha-image-display-section {
    width: 90%;
    height: 600px;
    max-width: 950px;
    align-items: center;
    justify-content: center;
    background: #ff934b57;
    padding-top: 10px;
    margin: 0px;

    /* Watermark settings */
    background-image: url('/imgs/backImg16.png'); /* Replace with the actual path */
    background-repeat: no-repeat; /* Prevent repeating the image */
    background-position: center; /* Position in the center */
    background-size: 560px; /* Adjust size of the watermark */
    position: relative; /* To allow layering */
}


#rudraksha-image-display-section img {
    width: 46%;
    max-width: 420px;
    padding: 0px 5px;
    margin: 6px 0px;
}


/****************** Basic Astro Details ***************************/
.lagna-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.lagna-tables {
    display: flex;
    flex-direction: row; /* Display tables side-by-side */
    gap: 20px; /* Add space between tables */
}

.lagna-tables table {
    border-collapse: collapse;
    width: 100%; /* Set a fixed width for each table */
    border: 1px solid #350505;
}

.lagna-tables th, .lagna-tables td {
    border: 1px solid #250505;
    padding: 5px;
    text-align: left;
    font-size: 15px;
}

/******************* Chart section ***************************************/

.chart-buttons {
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
    display: none;
}

.chart-buttons button {
    padding: 10px 20px;
    margin: 0 5px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    background-color: #f38e3b;
}

button:disabled {
    background-color: #ffdc9a; /* Light gray background for disabled button */
    color: #a9a9a9; /* Gray text color for disabled button */
    border: 1px solid #a9a9a9; /* Gray border for disabled button */
    cursor: not-allowed; /* Shows a "not-allowed" cursor when hovering */
}



.chart-section {
    width: 95%;
    display: flex;
    flex-direction: row; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    /* gap: 5px; */
}

.lagna-chart {    
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 3px;
    margin-top: -20px;        
}

.lagna-chart label {
    margin-top: -40px;
    font-size: 14px;
}

.cls-chart-container1 svg {
    transform: scale(0.84); /* Scale down to 80% */
    transform-origin: center; /* Keep the scaling centered */
    font-weight: bold;
}


.chalit-chart {    
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 3px;
    margin-top: -20px;
    margin-left: -30px; 
}

.chalit-chart label {
    margin-top: -40px;
    font-size: 14px;
}

.cls-chart-container2 svg {
    transform: scale(0.84); /* Scale down to 80% */
    transform-origin: center; /* Keep the scaling centered */
    font-weight: bold;
}

/****************** Planet House Nakshatra Data ***************************/
#planet-data-table-header {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 14px;
}

#planet-data-table {    
    margin: 0px; 
    border-collapse: collapse;  
    /* page-break-inside: avoid; 
    break-inside: avoid;     */
}

#planet-data-table th {
    background-color: orange; 
    font-size: 12px;
    color: rgb(0, 0, 0); 
    padding: 5px 10px; 
    border: 1px solid #000000; 
    font-weight: bold; 
}

#planet-data-table td {
    padding: 5px 10px; 
    font-size: 12px;
    font-weight: bold;
    border: 1px solid #000000; 
    text-align: center; 
}

/* #planet-data-table th:nth-child(6) {
    padding-left: 16px; 
    padding-right: 16px; 
} */

/****************** Planet Result  ***************************/
/* #planet-result-container {
    width: 95%;
    display: flex;
    flex-direction: row; 
    align-items: top;    
    justify-content: center; 
    gap: 15px; 
}

#planet-result-theory {    
    margin: 0 auto 20px auto; 
    border-collapse: collapse;     
}

#planet-result-theory th {
    background-color: orange; 
    font-size: 15px;
    color: rgb(0, 0, 0); 
    padding: 5px 10px; 
    border: 1px solid #000000; 
    font-weight: bold; 
}

#planet-result-theory td {
    padding: 5px; 
    font-size: 15px;
    border: 1px solid #000000; 
    text-align: center; 
} */

/* #planet-result-theory th:nth-child(6) {
    padding-left: 16px; 
    padding-right: 16px; 
} */


/* #planet-result-placement {    
    margin: 0 auto 20px auto; 
    border-collapse: collapse;     
}

#planet-result-placement th {
    background-color: orange; 
    font-size: 15px;
    color: rgb(0, 0, 0); 
    padding: 5px 10px; 
    border: 1px solid #000000; 
    font-weight: bold; 
}

#planet-result-placement td {
    padding: 5px; 
    font-size: 15px;
    border: 1px solid #000000; 
    text-align: center; 
} */

/****************** Dasha Table ***************************/
.dasha-section {
    display: flex;
    flex-direction: row; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 6px;
}

#mahadasha-table {    
    margin: 0 auto 20px auto; 
    border-collapse: collapse; 
    font-size: 15px; 
}

#mahadasha-table th {
    background-color: orange; 
    color: rgb(0, 0, 0); 
    padding: 5px 5px; 
    border: 1px solid #000000; 
    font-weight: bold; 
}

#mahadasha-table td {
    padding: 8px; 
    border: 1px solid #000000; 
    text-align: center; 
}

#antardasha-table {    
    margin: 0 auto 20px auto; 
    border-collapse: collapse; 
    font-size: 15px; 
}

#antardasha-table th {
    background-color: orange; 
    color: rgb(0, 0, 0); 
    padding: 5px 5px; 
    border: 1px solid #000000; 
    font-weight: bold; 
}

#antardasha-table td {
    padding: 5px; 
    border: 1px solid #000000; 
    text-align: center; 
}

#antardasha-table2 {    
    margin: 0 auto 20px auto; 
    border-collapse: collapse; 
    font-size: 15px; 
}

#antardasha-table2 th {
    background-color: orange; 
    color: rgb(0, 0, 0); 
    padding: 5px 5px; 
    border: 1px solid #000000; 
    font-weight: bold; 
}

#antardasha-table2 td {
    padding: 5px; 
    border: 1px solid #000000; 
    text-align: center; 
}

/******************** Frequency Check Section *************************/




/********* Add Expert Advice Button *******************/
.add-expert-button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 5px;
    display: none;
}

#add-expert {
    background-color: #d87d15;
    color: white;
    padding: 10px 25px;
    font-size: 16px;
    border: none;
    border-radius: 8px;       /* Rounded corners */
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}    

.display-expert-buttons-container {
    width: 95%;
    margin-top: 10px;
    display: flex;
    gap: 10px;
    justify-content: center;
}
  
.expert-buttons {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 8px 15px;
    font-size: 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


/************* Mentor Section ************************/
.expert-advice-container {
    width: 95%;
    max-width: 930px; 
    margin: 20px auto;
    padding-top: 0px; 
    padding-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: linear-gradient(to right, #f1b780, #dcf8af);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
}

.expert-header-ss {
    background-color: rgb(121, 47, 18);
    font-size: 17px;
    font-weight: normal;
    color: #ffffff;
    text-align: center;
    margin: 0px;
    padding: 6px;
}

.expert-header-as {
    background-color: rgb(121, 47, 18);
    font-size: 17px;
    font-weight: normal;
    color: #ffffff;
    text-align: center;
    margin: 0px;
    padding: 6px;
}

.expert-header-rg {
    background-color: rgb(121, 47, 18);
    font-size: 17px;
    font-weight: normal;
    color: #ffffff;
    text-align: center;
    margin: 0px;
    padding: 6px;
}

.expert-img-description {
    width: 95%;
    display: flex;
    flex-direction: row; 
    align-items: center;    
    justify-content: center; 
    gap: 6px;
    margin-top: 5px;
    margin-bottom: 20px;
}

.expert-img-description img {
    width: 260px;
    padding: 0px 5px;
}

.expert-description {
    display: flex;
    flex-direction: column; 
    align-items: center;    
    justify-content: center; 
    text-align: center;
    gap: 9px;
}

.expert-name {
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    color: #477c14;
    padding: 0px;
    margin-top: 5px;
    margin-bottom: 0px;
}

.expert-about {
    font-size: 13px;
    font-weight: bold;
    color: #122c06;
    text-align: center;
    padding: 0px;
    margin: 0px;
}
  
.auto-adjustable-textarea {
    width: 95%; /* Fixed width */
    font-family: 'Poppins', sans-serif;
    min-height: 90px;
    font-size: 15px;
    font-weight: normal;
    line-height: 1.5;
    border: 1px solid #a0ac38;
    border-radius: 4px;
    background-color: #fff3c0;
    resize: none; /* Disable manual resizing */
    overflow: hidden; /* Prevent scrollbar flickering */
    /* box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.2s ease; */
}

.auto-adjustable-textarea:focus {
    outline: none;
    border-color: #007bff;
}

.auto-adjustable-textarea::placeholder {
    color: #999;
    font-style: italic;
}
  

#expert-container-ss, #expert-container-rg, #expert-container-as {
    display: none;
}


/*************** Expert Advice abd Generate PDF button ************************/
.expert-pdf-btn-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: linear-gradient(to right, rgb(255, 232, 181), rgb(245, 255, 155));

}



/* Container to center the button */
.save-pdf-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 100px;
    display: none;
}

/* Styling for the button */
.save-pdf-button {
    background: linear-gradient(to right, #4CAF50, #8BC34A);  /* Gradient color */
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 12px;       /* Rounded corners */
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}    







/***************************** Mobile Responsive **************************************/
@media (max-width: 684px) { 

#info-section-page2, #info-section-page3, #info-section-page4, #info-section-page5, #info-section-page6, #info-section-page7, #info-section-page8 {
    margin-top: 0px;
}

.page-border-area {
    width: 95%;
    background-color: transparent;
    border: 2px solid rgb(141, 13, 13);
    border-radius: 8px;
    margin: 6px;    
    display: flex;
    flex-direction: column; 
    align-items: center;   
    justify-content: top; 
    /* pdf according height */
    max-width: 786px;
    height: auto;
}
    
.popup-content {    
    position: fixed; /* Fixed position */
    top: 250px;
    left: 50px;        
    padding: 15px 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;    
    color: #661010;
    text-align: center;
}

.bottom-text {
    width: 100%;
    text-align: center;
    position: relative;
    margin-top: 10px;
    margin-bottom: 5px;
    color: #7c0e0e;
    font-size: 11px;
    font-weight: bold;
}

h3 {
    color: #5e1a0e;
    font-size: 14px;
}

h4 {
    color: #5e1a0e;
    font-size: 13px;
}

/****************** Input Section ***************************/
#input-label {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #8d5c12;
}

/* Name Section */
.name-section {
    width: 95%;
    display: flex;
    flex-direction: row; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 5px;
}

.name-section label {    
    font-family: 'Poppins', sans-serif;    
    color: black;
    font-size: 13px;
    font-weight: 500;
    background: linear-gradient(to left, rgb(255, 255, 125), rgb(252, 135, 119)); 
    border: 1px solid black;
    border-radius: 3px;
    padding: 6px 8px;    
}

.name-section input {
    font-family: 'Poppins', sans-serif;    
    width: 100%;
    max-width: 500px;
    padding: 4px;
    color: black;
    font-size: 14px;
    font-weight: 500;
    background-color: #fce1b9;
    border: 1px solid black;
    border-radius: 3px;
}

/* Date of Birth Section */
.dob-section {
    width: 95%;
    display: flex;
    flex-direction: row; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 5px;
    margin-top: 13px;
}

.dob-section label {    
    font-family: 'Poppins', sans-serif;    
    color: black;
    font-size: 13px;
    font-weight: 500;
    background: linear-gradient(to left, rgb(255, 255, 125), rgb(252, 135, 119)); 
    border: 1px solid black;
    border-radius: 3px;
    padding: 6px 8px;    
}

.dob-section input {
    font-family: 'Poppins', sans-serif;    
    width: 15%;
    max-width: 100px;
    padding: 4px;
    color: black;
    font-size: 14px;
    font-weight: 500;
    background-color: #fce1b9;
    border: 1px solid black;
    border-radius: 3px;
}

/* Time of Birth Section */
.birth-time-section {
    width: 95%;
    display: flex;
    flex-direction: row; 
    align-items: center;    
    justify-content: center; 
    gap: 5px;
    margin-top: 13px;
}

.birth-time-section label {    
    font-family: 'Poppins', sans-serif;    
    color: black;
    font-size: 13px;
    font-weight: 500;
    background: linear-gradient(to left, rgb(255, 255, 125), rgb(252, 135, 119)); 
    border: 1px solid black;
    border-radius: 3px;
    padding: 6px 8px;    
}

.birth-time-section input {
    font-family: 'Poppins', sans-serif;    
    width: 17%;
    max-width: 100px;
    padding: 4px;
    color: black;
    font-size: 14px;
    font-weight: 500;
    background-color: #fce1b9;
    border: 1px solid black;
    border-radius: 3px;
}

.birth-time-section select {
    font-family: 'Poppins', sans-serif;    
    width: 16%;
    max-width: 100px;
    padding: 4px;
    color: black;
    font-size: 14px;
    font-weight: 500;
    background-color: #fce1b9;
    border: 1px solid black;
    border-radius: 3px;
}

.birth-time-section input:focus {
    color: black;
    background-color: #ffda8a;
    outline: none; 
}

.input-button-container {
    display: flex;
    justify-content: center; /* Center the buttons */
    gap: 10px; /* Space between buttons */
    margin-top: 10px;
    flex-direction: column;
}

/* General button styling */
.input-btn {
    background-color: #ca7322; /* Blue background */
    color: white; /* White text */
    border: none; /* Remove borders */
    border-radius: 5px; /* Rounded corners */
    padding: 10px 20px; /* Padding for size */
    font-size: 16px; /* Font size */
    cursor: pointer; /* Change cursor to pointer */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Hover and active transitions */
}

/* Place of Birth Section */
/* Google API */
/* #g-api-label {
    margin-top: 20px;
    margin-bottom: 5px;
    font-size: 14px;
} */

.birth-place-section {
    width: 96%;
    display: flex;
    flex-direction: row; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 4px;    
}

.birth-place-section label {    
    font-family: 'Poppins', sans-serif;    
    color: black;
    font-size: 13px;
    font-weight: 500;
    background: linear-gradient(to left, rgb(255, 255, 125), rgb(252, 135, 119)); 
    border: 1px solid black;
    border-radius: 3px;
    padding: 6px 8px;    
}

.birth-place-section input {
    font-family: 'Poppins', sans-serif;    
    width: 62%;
    max-width: 400px;
    padding: 5px;
    color: black;
    font-size: 14px;
    font-weight: 500;
    background-color: #fce1b9;
    border: 1px solid black;
    border-radius: 3px;
}

/* Google API Birth Place Details Output */
.place-details-output {
    width: 80%;
    max-width: 350px;
    border: 1px solid #000000; 
    border-radius: 5px; 
    padding: 10px; 
    margin-top: 10px; 
    font-size: 14px; 
    line-height: 1.4;
    background-color: #fff1b4; 
}

.place-details-output h4 {
    font-size: 14px; 
    margin-top: 0px;
    margin-bottom: 8px; 
}

.place-details-output p {
    margin: 5px 0; 
}

/* Astrology API */
/* #astro-api-label {
    margin-top: 20px;
    margin-bottom: 5px;
    font-size: 14px;
} */

.birth-place-section-astro-api {
    width: 96%;
    display: flex;
    flex-direction: row; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 3px;    
}

.birth-place-section-astro-api label {    
    font-family: 'Poppins', sans-serif; 
    width: 36%;  
    max-width: 110px; 
    color: black;
    font-size: 13px;
    font-weight: 500;
    background: linear-gradient(to left, rgb(255, 255, 125), rgb(252, 135, 119)); 
    border: 1px solid black;
    border-radius: 3px;
    padding: 6px 7px;    
}

.birth-place-section-astro-api input {
    font-family: 'Poppins', sans-serif;    
    width: 56%;
    max-width: 400px;
    padding: 5px;
    color: black;
    font-size: 14px;
    font-weight: 500;
    background-color: #fce1b9;
    border: 1px solid black;
    border-radius: 3px;
}

#search-button {
    padding: 9px 12px;
    font-size: 14px;
    background-color: #8d6213;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

#click-label {
    margin-top: 4px;
    display: none;
}

#response-container {
    width: 95%;
}

/* Astrology API Birth Place Details Output */
.place-details-output-astro-api {
    width: 80%;
    max-width: 350px;
    border: 1px solid #000000; 
    border-radius: 5px; 
    padding: 10px; 
    margin-top: 10px; 
    font-size: 14px; 
    line-height: 1.4;
    background-color: #fff1b4; 
}

.place-details-output-astro-api h4 {
    font-size: 14px; 
    margin-top: 0px;
    margin-bottom: 8px; 
}

.place-details-output-astro-api p {
    margin: 5px 0; 
}


/* Manual Inputs */
/* .cls-manual-checkbox {
    margin-top: 20px;
    margin-bottom: 4px;
} */

/* #manual-checkbox {
    margin-top: 0px;  
    vertical-align: middle;    
} */

/* #manual-checkbox-label {    
    font-size: 14px; 
    vertical-align: middle;   
} */

/* input[type="checkbox"] {
    width: 16px; 
    height: 16px; 
    transform: scale(1.5); 
    margin: 0px 5px;
    cursor: pointer; 
    border: 1px solid #000000;
} */

.birth-place-section-manual {
    width: 95%;
    display: flex;
    flex-direction: row; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 4px;    
    margin-top: 20px;
}

.birth-place-section-manual label {    
    font-family: 'Poppins', sans-serif;    
    color: black;
    font-size: 13px;
    font-weight: 500;
    background: linear-gradient(to left, rgb(255, 255, 125), rgb(252, 135, 119)); 
    border: 1px solid black;
    border-radius: 3px;
    padding: 6px 7px;    
}

.birth-place-section-manual input {
    font-family: 'Poppins', sans-serif;    
    width: 62%;
    max-width: 400px;
    padding: 5px;
    color: black;
    font-size: 14px;
    font-weight: 500;
    background-color: #fce1b9;
    border: 1px solid black;
    border-radius: 3px;
}

.latitude-manual, .longitude-manual, .timeZone-manual {
    width: 95%;
    max-width: 455px;
    display: flex;
    flex-direction: row; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 5px; 
    margin-top: 5px;   
}

.latitude-manual label, .longitude-manual label, .timeZone-manual label {    
    width: 22%;
    font-family: 'Poppins', sans-serif;    
    color: black;
    font-size: 13px;
    font-weight: 500;
    background: linear-gradient(to left, rgb(255, 255, 125), rgb(250, 189, 181)); 
    border: 1px solid black;
    border-radius: 3px;
    padding: 6px 7px;    
}

.latitude-manual input, .longitude-manual input, .timeZone-manual input {
    font-family: 'Poppins', sans-serif;    
    width: 60%;
    padding: 5px;
    color: black;
    font-size: 14px;
    font-weight: 500;
    background-color: #fce1b9;
    border: 1px solid black;
    border-radius: 3px;
}

.latitude-manual input:focus, .longitude-manual input:focus, .timeZone-manual input:focus {
    color: black;
    background-color: #ffda8a;
    outline: none; 
}

.frequency-check-text {
    width: 85%;
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    font-weight: normal;
    border: 1px solid black;
    border-radius: 5px;
    padding: 5px;
    color: #350505;
    background-color: #ffe08d;
}

/* Get Details Button */
#show-details {
    margin-top: 25px;
    margin-bottom: 25px;
    padding: 12px;
    font-size: 17px;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

#validation-message {
    margin-bottom: 20px;
}

/************************** Cover Page **************************/
.design1 img {
    margin-top: 0px; 
    margin-bottom: 0px;
    height: 70px;
    width: auto;
}

.mantra img {
    margin-top: -40px; 
    height: 120px;
    width: auto;
}

.cover-logo img {
    margin-top: -25px; 
    height: 220px;
    width: auto;
    box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.2);
    border-radius: 240px;
}

.title-txt {
    background: linear-gradient(to right, rgb(106, 12, 109), rgb(211, 123, 8)); 
    width: 70%;
    padding: 18px 15px;
    border-radius: 8px;
    border: 1px solid rgb(250, 217, 119);
    font-size: 19px;
    font-weight: bold;
    color: #ffd000;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 5px;
    
}

.report-info-txt {
    text-align: center;
    font-size: 12px;    
    font-weight: bold;
    color: #4b3306;
    margin-top: 0px;
    margin-bottom: 10px;
}

.company-info-txt {
    font-size: 17px;  
    font-weight: bold;  
    color: #2a5c08;
    text-align: center;
}

.company-info-txt2 {
    margin-top: 0px;
    font-size: 13px;  
    font-weight: bold;  
    color: #275508;
    text-align: center;
}

.company-helpline-txt {
    font-size: 16px;    
    font-weight: bold;
    color: #47350d;
    margin-top: 5px;
}

.cover-copyright {
    width: 95%;
    display: flex;
    flex-direction: row; 
    align-items: start;    
    justify-content: center; 
    gap: 3px;  
    margin-top: 10px;
}

.design2 img {
    margin: 3px; 
    height: 60px;
    width: auto;
}

.copyright-txt {
    width: 100%;
    margin-top: 0px;
    font-size: 10px;
    font-weight: bold;
    text-align: left;
    color: #173105;
}

.feat-theory-tm-txt {
    width: 85%;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0px;
    color: #330505;
}

/********************************* Info Section Page1 ****************************************/
.top-design {
    display: flex;            /* Enables Flexbox */
    justify-content: center;  /* Centers items horizontally */
    align-items: center;      /* Centers items vertically */
}

.top-design img { 
    width: 23%;
    margin-top: 25px; /* You can remove this if you want perfect vertical alignment */
}


/* Display Name */
.display-name {   
    margin-top: 15px; 
    width: 95%;
    max-width: 600px; 
    display: flex;
    flex-direction: row; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 5px;    
}

.display-name label {  
    font-size: 20px;    
}

.display-name input {
    font-family: 'Poppins', sans-serif;      
    width: 100%;
    padding: 5px;
    color: rgb(107, 17, 17);
    font-size: 15px;
    font-weight: bold;
    background: linear-gradient(to left, rgb(255, 255, 125), rgb(252, 135, 119));
    border: 1px solid rgb(85, 15, 15);
    border-radius: 20px;
    text-align: center;
}  

/* Birth details table */
.birth-details-display table {
    /* width: 325px; */
    border-collapse: collapse;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    margin-top: 15px;
    background: linear-gradient(to right, rgba(247, 171, 108, 0.397), rgb(246, 252, 167));
}

.birth-details-display td {
    border: 1px solid #50250c;
    padding: 5px;
    text-align: left;
}

.birth-details-display td:first-child {
    width: 120px; /* First column width */
}

.birth-details-display td:nth-child(2) {
    width: 180px; /* second column width */
}


/****************** number info **********************/
.number-freq-info {
    width: 95%;
    margin-top: 0px;
    display: flex;
    flex-direction: column; 
    align-items: center;   
    justify-content: center;
    gap: 15px; 
}

.mbn-container {
    display: flex;
    flex-direction: column; 
    align-items: center;    
    justify-content: center; 
}

.mbn-wrapper {
    /* width: 30%; */
    gap: 0px;
    margin-top: 10px;
    max-width: 210px;
    height: 100%;
    border: 1px solid #722a14; /* Outer border */
    border-radius: 10px;       /* Rounded corners */
    overflow: hidden;          /* Ensures corners are properly clipped */ 
}

.mulank-bhagyank-namayank-section {
    width: 100%;               /* Table takes full wrapper width */
    border-collapse: collapse;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: #440808;
}

.mulank-bhagyank-namayank-section td {    
    padding: 5px;
    padding-left: 18px;
    padding-right: 15px;
    text-align: left;
}

/* Gradient Rows */
.mulank-row {    
    background: linear-gradient(to right, rgba(230, 90, 132, 0.466), rgba(253, 225, 148, 0.404)); 
}

.bhagyank-row {
    background: linear-gradient(to right,rgb(228, 133, 104), rgb(253, 225, 148)); 
}

.namayank-row {
    background: linear-gradient(to right, rgba(243, 151, 97, 0.582), rgba(253, 225, 148, 0.493)); 
}

.mulank-bhagyank-namayank-section td:nth-child(2) {
    width: 45%; /* Second column width */
    text-align: center;       
}


.highlight-circle {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;    
    font-weight: bold;
    font-size: 18px;
    border: 1px solid #790f0f;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

/* enemy neutral lucky table */
.num-table-container {
    /* width: 60%;  */
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    gap: 4px;    
}

.num-table-container p {
    margin-top: 0px;  
    color: red;
    font-style: italic;
    font-size: 15px;
}

.enemy-neutral-lucky-section {
    width: 100%;
    max-width: 390px;
    border-collapse: collapse;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;  
    font-weight: bold;      
    margin-bottom: 0px;     
}

.enemy-neutral-lucky-section td {
    border: 1px solid #50250c;
    padding: 9px;
    text-align: left;
}

.enemy-neutral-lucky-section td:first-child {
    min-width: 130px; 
    text-align: left; 
}

.enemy-neutral-lucky-section td:nth-child(2) {
    min-width: 150px; 
    text-align: left; 
}

.enemy-row {
    background: linear-gradient(to left, rgb(253, 244, 146), rgb(255, 117, 107));
}

.neutral-row {
    background: linear-gradient(to left, rgb(253, 244, 146), rgb(194, 177, 177));
}

.friendly-row {
    background: linear-gradient(to left, rgb(253, 244, 146), rgb(122, 175, 122));
}

.lucky-row {
    background: linear-gradient(to left, rgb(253, 244, 146), rgb(183, 255, 124));
    color: #0a4e0d;
}

.enemy-neutral-lucky-section td:first-child {
    width: 47%; /* First column width */     
}

.enemy-neutral-lucky-section td:nth-child(2) {
    width: 53%; /* First column width */    
}

/****************** Grid Section *************************/
.grid-container {
    width: 95%;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 10px;
    margin-top: 15px;
}

.grid-container1 {    
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 5px;
    /* margin-top: 25px; */
}

.grid-container1 table {
    border-collapse: collapse;    
}

.grid-container1 table td {
    width: 90px;
    height: 55px;
    border: 1px solid black;
    text-align: center;
    vertical-align: middle;
    padding: 0;  
    margin: 0;   
    color: black;
    font-family: 'Poppins', sans-serif;     
}

.grid-container1 label {
    font-size: 12px; 
    color: #440808;   
}

/* Standard grid Number font styling */
.number-slg {
    font-size: 14px; 
    font-weight: bold;    
}

/* Standard grid Element font styling */
.element-slg {
    font-size: 12px; 
}

#cell1 {
    background: linear-gradient(to right, rgba(233, 136, 71, 0.774), rgb(255, 251, 214));
}

#cell2 {
    background: linear-gradient(to right, rgba(250, 105, 95, 0.664), rgb(255, 251, 214));
}

#cell3 {
    background: linear-gradient(to right, rgba(180, 252, 122, 0.664), rgb(255, 251, 214));
}

#cell4 {
    background: linear-gradient(to right, rgba(233, 136, 71, 0.774), rgb(255, 251, 214));
}

#cell5 {
    background: linear-gradient(to right, rgba(180, 252, 122, 0.664), rgb(255, 251, 214));
}

#cell6 {
    background: linear-gradient(to right, rgba(185, 183, 182, 0.781), rgb(255, 251, 214));    
}

#cell7 {
    background: linear-gradient(to right, rgba(180, 252, 122, 0.664), rgb(255, 251, 214));    
}

#cell8 {
    background: linear-gradient(to right, rgba(100, 164, 238, 0.726), rgb(255, 251, 214));
}

#cell9 {
    background: linear-gradient(to right, rgba(185, 183, 182, 0.781), rgb(255, 251, 214));
}


/* Birth Grid */
.grid-container2 {    
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 5px;
    /* margin-top: 25px; */
}

.grid-container2 table {
    border-collapse: collapse;
}

.grid-container2 table td {
    width: 90px;
    height: 55px;
    border: 1px solid black;
    text-align: center;
    vertical-align: middle;
    padding: 0;  
    margin: 0; 
    color: black;
    font-size: 14px;
    font-weight: 550;
}

.grid-container2 label {
    font-size: 14px;    
    color: #440808;  
}


/* Energy  Grid */
.grid-container3 {
    width: 90%;    
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 5px;
    /* margin-top: 25px; */
}

.grid-container3 table {
    border-collapse: collapse;
}

.grid-container3 table td {
    width: 100px;
    height: 70px;
    border: 1px solid black;
    text-align: center;
    vertical-align: middle;
    padding: 9px 5px;  
    margin: 0; 
    color: black;
    font-size: 10px;
    font-weight: 550;
    background: linear-gradient(to left, rgba(250, 248, 156, 0.575), rgba(240, 165, 122, 0.637));
}

.grid-container3 label {
    font-size: 14px;
    color: #690f0f;
    margin-bottom: 10px;
}

.chart-buttons {
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
    display: block;
}

/****************** Energy Concentration Table ***************************/
.energy-concentration-table {    
    width: 96%;
    margin-top: 20px;  
    margin-bottom: 20px; 
    display: flex;
    flex-direction: row; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */      
        
}

.energy-concentration-table table {    
    border-collapse: collapse;                 
}

#energy-header1 {
    height: 38px;
    background: linear-gradient(to right, rgb(255, 25, 255), rgb(41, 9, 233));
}

#energy-header1 td {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    padding: 3px;
    font-weight: 500;  
    border: 1px solid black;
    text-align: center;
    vertical-align: middle;
    color: white;
}

.energy-header2 {                
    border-bottom: 2px solid black;
}

.energy-header2 td {
    height: 25px;
    font-family: 'Poppins', sans-serif;
    padding: 4px 0px;
    font-size: 10px;
    border: 1px solid black;
    text-align: center;
    vertical-align: middle;
    font-weight: 550;
}

.energy-rows td {     
    height: auto;
    width: 90px; 
    color: black;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;    
    font-weight: bold;
    padding: 5px 0px;
    border: 1px solid black;
    text-align: center;
    vertical-align: middle;    
}

#water-fire-difference, #wood-metal-difference, #rahu-ketu-difference {
    border: 1px solid black;
    padding: 6px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    
}




/* #energy-row2 {
    border-bottom: 2px solid black;
} */

#energy-row3 {
    border-top: 2px solid black;
}
/* #energy-row4 {
    border-bottom: 2px solid black;
} */

#energy-row5 {
    border-top: 2px solid black;
}

/* #energy-row6 {
    border-bottom: 2px solid black;
} */

#energy-row7 {
    border-top: 2px solid black;
    border-bottom: 2px solid black;
}

#energy-row8 {
    border-bottom: 2px solid black;
}

#energy-row9 {
    border-bottom: 2px solid black;
}

/*color*/
/* #number-1, #planet-sun, #element-water, #number-9, #planet-mars, #element-fire {
    background-color: #ffbcba;
}

#number-3, #planet-jupiter, #element-wood, #number-6, #planet-venus, #element-metal {
    background-color: #ffe59f;
}

#number-4, #planet-rahu, #element-rahu, #number-7, #planet-ketu, #element-ketu {
    background-color: #a3cdd3;
}

#number-2, #planet-moon, #element-moon, #number-5, #planet-mercury, #element-mercury, #number-8, #planet-saturn, #element-saturn{
    background-color: #aef199;
} */

#number-1, #number-2, #number-3, #number-4, #number-5, #number-6, #number-7, #number-8, #number-9 {
    font-weight: 550;
}

#water-energy, #fire-energy, #wood-energy, #metal-energy, #rahu-energy, #ketu-energy, #moon-energy, #mercury-energy, #saturn-energy  {
    font-size: 11px;
    font-weight: bold;
}

#water-remarks, #fire-remarks, #wood-remarks, #metal-remarks, #rahu-remarks, #ketu-remarks, #moon-remarks, #mercury-remarks, #saturn-remarks  {
    width: 120px;
}

/***************************** Info Section Page2 *****************************/

/**************** Lagna Rashi ***********************/
/* Flexbox layout for Lagna and Rashi sections */
#lagna-rashi-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 5px; /* Space between Lagna and Rashi */
    padding-top: 20px;    
    padding-bottom: 0px; 
    margin-bottom: 0px;   
}

.lagna-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 0px;
}

#lagna-img img, 
#rashi-img img {
    width: 150px; /* Default width */
    height: 150px; /* Default height */    
}


#lagna-text {
    margin-top: -5px;
    font-size: 16px;
    color: #5c0e66;
    font-weight: bold;
}


.rashi-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 0px;
}

#rashi-text {
    margin-top: -5px;
    font-size: 16px;
    color: #5c0e66;
    font-weight: bold;
}

/****************** Basic Astro Details ***************************/
.lagna-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;  
}

.lagna-tables {
    display: flex;
    flex-direction: row; /* Display tables side-by-side */
    gap: 4px; /* Add space between tables */
}

.lagna-tables table {
    border-collapse: collapse;
    width: 100%; /* Set a fixed width for each table */
    border: 1px solid #350505;
}

.lagna-tables th, .lagna-tables td {
    border: 1px solid #250505;
    padding: 5px;
    font-size: 9px;
    font-weight: bold;
    text-align: left;
}

/******************* Chart section ***************************************/
.chart-section {
    width: 95%;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    /* gap: 5px; */    
}

.lagna-chart {    
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 3px;
    margin-top: -25px;  
    margin-bottom: 0px;
    margin-left: 0px;    
    margin-right: 0px;  
}

.lagna-chart label {
    margin-top: -45px;
    font-size: 14px;
    margin-bottom: 0px;
}

.cls-chart-container1 svg {
    transform: scale(0.8); /* Scale down to 80% */
    transform-origin: center; /* Keep the scaling centered */
}


.chalit-chart {    
    display: none;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 3px;
    margin-top: -25px;  
    margin-bottom: 0px;
    margin-left: 0px;    
    margin-right: 0px
}

.chalit-chart label {
    margin-top: -45px;
    font-size: 14px;
}

.cls-chart-container2 svg {
    transform: scale(0.8); /* Scale down to 80% */
    transform-origin: center; /* Keep the scaling centered */
}

/****************** Planet House Nakshatra Data ***************************/
#planet-data-table {    
    width: 96%;
    border-collapse: collapse;       
}

#planet-data-table th {
    background-color: orange; 
    font-size: 9px;
    font-weight: bold;
    color: rgb(0, 0, 0); 
    padding: 5px 3px; 
    border: 1px solid #000000; 
    font-weight: bold; 
}

#planet-data-table td {
    padding: 5px 3px; 
    font-size: 9px;
    font-weight: bold;
    color: #000000;
    border: 1px solid #000000; 
    text-align: center; 
}



/****************** Planet Result  ***************************/
/* #planet-result-theory th {
    background-color: orange; 
    font-size: 8px;
    color: rgb(0, 0, 0); 
    padding: 5px 10px; 
    border: 1px solid #000000; 
    font-weight: bold; 
}

#planet-result-theory td {
    padding: 5px; 
    font-size: 13px;
    border: 1px solid #000000; 
    text-align: center; 
} */

/****************** Dasha Table ***************************/
.dasha-header {
    margin-top: 10px;
    margin-bottom: 12px;
    color: #5e1a0e;
    font-size: 12px;
}

#mahadasha-table {    
    border-collapse: collapse; 
    font-size: 8px; 
}

#mahadasha-table th {
    background-color: orange; 
    color: rgb(0, 0, 0); 
    padding: 5px 5px; 
    border: 1px solid #000000; 
    font-weight: bold; 
}

#mahadasha-table td {
    padding: 5px; 
    border: 1px solid #000000; 
    text-align: center; 
    font-weight: bold;
}

.dasha-section {
    display: flex;
    flex-direction: row; /* Stack elements vertically */
    align-items: center;    /* Horizontally center elements */
    justify-content: center; /* Vertically center elements */
    gap: 3px;
}

#antardasha-table {        
    border-collapse: collapse; 
    font-size: 7px; 
}

#antardasha-table th {
    background-color: orange; 
    color: rgb(0, 0, 0); 
    padding: 3px 3px; 
    border: 1px solid #000000; 
    font-weight: bold; 
}

#antardasha-table td {
    padding: 3px; 
    border: 1px solid #000000; 
    text-align: center; 
    font-weight: bold;
}

#antardasha-table2 {    
    border-collapse: collapse; 
    font-size: 7px; 
}

#antardasha-table2 th {
    background-color: orange; 
    color: rgb(0, 0, 0); 
    padding: 3px 3px; 
    border: 1px solid #000000; 
    font-weight: bold; 
}

#antardasha-table2 td {
    padding: 3px; 
    border: 1px solid #000000; 
    text-align: center; 
    font-weight: bold;
}


/**************** Rudraksha *****************************/
.feat-header2 {
    margin-top: 10px; 
    margin-bottom: 0px;
    padding: 0px;
    font-size: 13px;
}

.feat-header1 {
    margin: 0px;
    padding: 0px;
    font-size: 12px;
}


.rudraklsha-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 10px;
}

#rudraksha-image-display-section {
    width: 95%;   
    height: auto;
    min-height: 255px; 
    align-items: center;
    justify-content: center;
    border-radius: 0px;
    margin: 0px;
    padding-top: 5px;   

     /* Watermark settings */
     background-image: url('/imgs/backImg16.png'); 
     background-repeat: no-repeat; 
     background-position: center; 
     background-size: 300px; 
     position: relative; 
}

#rudraksha-image-display-section img {
    width: 75%;
    max-width: 350px;
    padding: 0px;
    margin: 0px;
}

.Rudraksha-banner1 img {
    width: 95%;
    height: 90px;
    border-top-left-radius: 12px; 
    border-top-right-radius: 12px;
}

.Rudraksha-banner2 img {
    width: 95%;
    border-bottom-left-radius: 12px; 
    border-bottom-right-radius: 12px;
}


/************************ Name Correction *************************/
/* Name Display */
.name-correction-display {
    width: 95%;
    display: flex;
    flex-direction: row; 
    align-items: center;    
    justify-content: center; 
    gap: 5px;
    margin-top: 15px;
}

#name-correction-label {    
    font-family: 'Poppins', sans-serif;    
    color: black;
    font-size: 14px;
    min-width: 110px;
    text-align: center;
    background: linear-gradient(to left, rgb(255, 255, 125), rgb(252, 135, 119)); 
    border: 1px solid black;
    border-radius: 3px;
    padding: 5px 3px;    
}

.name-correction-display input {
    font-family: 'Poppins', sans-serif;    
    width: 100%;
    max-width: 400px;
    padding: 4px;
    color: black;
    font-size: 14px;
    font-weight: 500;
    background-color: #fce1b9;
    border: 1px solid black;
    border-radius: 3px;
}

.name-correction-display input:focus {
    color: black;
    background-color: #ffda8a;
    outline: none; /* Optional: Removes the default focus outline */
}

/* Name correction Frequeny */
.name-correction-frequency {
    width: 90%;
    max-width: 500px;
    border-collapse: collapse;
    margin: 10px auto;
    text-align: center;
}

.name-correction-frequency td {
    font-size: 12px;
    font-weight: bold;
    border: 1px solid black;
    padding: 5px 3px;
    background: #ffcc8a;
    color: #350505;
}

.name-correction-frequency td:first-child {
    width: 300px; 
}

.cls-name-frequency {
    font-size: 20px;
}

.name-correction-frequency td:nth-child(2) {
    width: 160px; 
}


#need-correction-message {
    width: 80%;
    text-align: center;
}
/* Name Suggestion */
.cls-name-suggestion {
    width: 90%;
    max-width: 450px;
    text-align: center;
    margin-top: 10px;
    justify-content: center;
}

#suitable-frequencies-section {
    font-size: 14px;
    line-height: 28px;
}

.mobile-break {
    display: inline;
}

.name-suggestion-text {
    width: 95%; 
    font-size: 15px;
    text-align: center;
    padding: 5px; 
    margin: 5px;
    border: 1px solid black;
    border-radius: 5px;
}

/********* Field Input text style **************/
.custom-input-style {
    padding: 5px;  
    font-size: 15px; 
    border: 1px solid #7c7171;
    border-radius: 5px;
}

.field-label {
    font-size: 12px;
    font-weight: bold;
    color: #350505;
}



/************* Frequency Check ***************/
.frequency-grid-modified-container {
    width: 98%;
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-direction: column; 
    align-items: start;    
    justify-content: center; 
    text-align: center;
}

.frequency-check-header {
    margin: 10px 0px;
    padding: 0px;
    width: 100%;
    text-align: center;
    font-size: 13px;
}

/************ Frequency Table *****************/
#frequency-table-container {
    margin-top: 5px;
    margin-bottom: 10px;
    display: flex;
    text-align: center ;
    justify-content: center;
}

#frequency-table {
    width: 95%;
    border-collapse: collapse;
    text-align: center;
}

#frequency-table th,
#frequency-table td {
    border: 1px solid #330505;
    padding: 5px 5px;
}

#frequency-table th {
    background-color: orange;
    font-size: 10px;
    font-weight: bold;
}

#frequency-table td {
    font-size: 10px;
    font-weight: bold;
    /* max-width: 80px; */
    /* word-wrap: break-word; 
    word-break: break-word; 
    white-space: normal; 
    overflow-wrap: break-word;  */
}

#frequency-table td:nth-child(2) {
    width: 60px; 
}

#frequency-table  td:nth-child(5) {
    width: 120px;
}

/* Modified Grid */


.modified-grid td {
    width: 90px;
    height: 55px;
    border: 1px solid black;
    text-align: center;
    vertical-align: middle;
    padding: 0;  
    margin: 0; 
    color: black;
    font-size: 13px;
    font-weight: 550;
}

.modified-grid-label {
    font-size: 14px;
    color: #440808;
    margin-bottom: 10px;
}



/****************** Modified Concentration Table ***************************/
#modified-header1 td {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    padding: 3px;
    font-weight: 500;  
    border: 1px solid black;
    text-align: center;
    vertical-align: middle;
    color: white;
}

.modified-header2 td {
    height: 35px;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    border: 1px solid black;
    text-align: center;
    vertical-align: middle;
    font-weight: 550;
}

.modified-rows td {  
    height: 35px;
    width: 120px;
    color: rgb(43, 6, 6);
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: bold;
    padding: 5px;
    border: 1px solid black;
    text-align: center;
    vertical-align: middle;    
}

.mg-difference-row td {
    height: 35px;
    /* width: 120px; */
    color: #530909;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: bold;
    padding: 5px;
    border: 1px solid black;
    border-bottom: 2px solid black;
    text-align: center;
    vertical-align: middle;
}
/******** Expert Button ****************/
#add-expert {
    background-color: #d87d15;
    color: white;
    padding: 15px 20px;
    font-size: 15px;
    border: none;
    border-radius: 12px;       /* Rounded corners */
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

.expert-buttons {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/************* Mentor Section ************************/
.expert-advice-container {
    width: 95%;
    /* max-width: 600px; */
    margin: 20px auto;
    padding-top: 0px; 
    padding-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: linear-gradient(to right, #f1b780, #dcf8af);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
}



.expert-img-description {
    width: 95%;
    display: flex;
    flex-direction: column; 
    align-items: center;    
    justify-content: center; 
    text-align: center;
    gap: 6px;
    margin-top: 5px;
    margin-bottom: 20px;
    padding: 0px;
}

.expert-img-description img {
    width: 250px;
    padding: 0px;
}

.expert-description {
    display: flex;
    flex-direction: column; 
    align-items: center;    
    justify-content: center; 
    text-align: center;
    padding: 0px;
    margin: 0px;
    gap: 9px;
}

.expert-name {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    color: #477c14;
    padding: 0px;
    margin-top: 5px;
    margin-bottom: 0px;
}

.expert-about {
    font-size: 12px;
    font-weight: bold;
    color: #122c06;
    text-align: center;
    padding-left: 5px;
    margin: 0px;
}
  
.auto-adjustable-textarea {
    width: 92%; /* Fixed width */
    font-family: 'Poppins', sans-serif;
    min-height: 90px;
    font-size: 15px;
    font-weight: normal;
    line-height: 1.5;
    border: 1px solid #a0ac38;
    border-radius: 4px;
    background-color: #fff3c0;
    resize: none; /* Disable manual resizing */
    overflow: hidden; /* Prevent scrollbar flickering */
    /* box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.2s ease; */
}


/*************** Generate PDF button ************************/
/* Container to center the button */
/* .save-pdf-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
} */

/* Styling for the button */
/* .save-pdf-button {
    background: linear-gradient(to right, #4CAF50, #8BC34A);  
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 12px;       
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); 
}     */


    
}
