* {
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", sans-serif;
  background: #f2f4f8;
  margin: 0;
  padding: 0;
  color: #333;
}
header {
  color: #fff;
  padding: 10px 20px;
  text-align: center;
  background-image: linear-gradient(
    to right,
    #b8cbb8 0%,
    #b8cbb8 0%,
    #b465da 0%,
    #cf6cc9 33%,
    #ee609c 66%,
    #ee609c 100%
  );
}
header h1 {
  font-size: 2.5rem;
  margin: 7px 0 0;
}
header p {
  font-size: 1.2rem;
  color: #ffde59;
}

/* Hero Banner */
.hero-banner {
  color: #fff;
  padding: 30px 20px 50px;
  text-align: center;
  background-image: linear-gradient(to top, #30cfd0 0%, #330867 100%);
}
.welcome-messages h1 {
  font-size: 2.2rem;
  color: #ffe600;
}
.welcome-messages p {
  font-size: 22px;
  margin: 5px 0;
  line-height: 37px;
}

/* Container & Section */
.container {
  padding: 20px;
}
.section {
  background: #fff;
  padding: 30px;
  margin-top: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);
}
.section h2 {
  font-size: 1.8rem;
  color: #2c3e50;
  border-bottom: 2px solid #007bff;
  padding-bottom: 10px;
  margin-bottom: 20px;
  margin-top: 0;
}

/* Matka Info Box */
.matka-info-box {
  background: linear-gradient(135deg, #ffffff, #f9f9f9);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}
.matka-info-box h2 {
  color: #e91e63;
}
.matka-info-box a {
  color: #007bff;
  font-weight: bold;
  text-decoration: none;
}
.matka-info-box ul {
  padding-left: 20px;
}
.matka-info-box li {
  margin: 8px 0;
  list-style: none;
  position: relative;
}
.matka-info-box li::before {
  content: "";
  background: #28a745;
  margin-right: 6px;
  position: absolute;
  height: 5px;
  width: 5px;
  left: -18px;
  top: 8px;
}

/* Booking Alert */
.booking-alert {
  background: #fff8e1;
  border: 2px dashed #ff9800;
  color: #7c4d00;
  padding: 25px;
  border-radius: 10px;
  margin-top: 30px;
  text-align: center;
  font-weight: bold;
}
.booking-alert strong {
  color: #d81b60;
}

/* Results Section */
.results {
  display: grid;
  grid-template-columns: repeat(3, 2fr);
  gap: 24px;
}
.result-card {
  background: #f1f8ff;
  padding: 20px;
  border-left: 5px solid #007bff;
  border-radius: 8px;
  transition: transform 0.2s;
}
.result-card:hover {
  transform: translateY(-4px);
}
.result-card h3 {
  margin-bottom: 10px;
  font-size: 1.6rem;
  color: #0056b3;
}
.result-card p {
  font-size: 1rem;
  margin: 0;
}
table {
  width: 100%;
}

/* Tips List */
ul {
  padding-left: 20px;
}
ul li {
  margin-bottom: 10px;
}

/* Contact Section */
#contact p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Footer */
footer {
  background-color: #111;
  color: #aaa;
  text-align: center;
  padding: 20px 0;
  font-size: 0.95rem;
}
.result-buttons {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.btn-jodi,
.btn-panel {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-jodi {
  background: linear-gradient(45deg, #ff0000, #e100ff);
  padding: 10px 30px;
  border-radius: 5px;
  font-weight: 500;
  text-decoration: none;
}

.btn-panel {
  background: linear-gradient(45deg, #e100ff, #ff005c);
  padding: 10px 30px;
  border-radius: 5px;
  font-weight: 500;
  text-decoration: none;
}

.btn-jodi:hover,
.btn-panel:hover {
  transform: scale(1.05);
}
.booking-alert p {
  font-size: 22px;
}
.weekly-line-section {
  background: linear-gradient(to right, #de6161, #2657eb);
  padding: 20px;
  border-radius: 12px;
  color: white;
  font-family: "Segoe UI", sans-serif;
  text-align: center;
  margin: 20px 0 0;
}

.weekly-line-header {
  background: linear-gradient(90deg, #ffffff, #ffffff);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  color: #000000;
  font-size: 18px;
}

.weekly-line-header .highlight-red {
  color: red;
  font-weight: bold;
}

.weekly-line-body p {
  margin: 10px 0;
  font-size: 20px;
  color: #fff;
}

.weekly-line-body .day {
  color: gold;
  font-weight: bold;
  margin-right: 5px;
}

.weekly-line-body .star {
  color: #ff5252;
  font-weight: bold;
}
.result-card span {
  display: flex;
  padding: 18px 0;

  gap: 20px;
}
.refresh-button-wrapper {
  position: fixed;
  bottom: 35px;
  right: -1%;
  transform: translateX(-50%);
  z-index: 9999;
}

.refresh-button {
  background-color: #ff4d4d;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

.refresh-button:hover {
  background-color: #e60000;
}
/* Light pastel gradients for each card */
.result-card:nth-child(1) {
  background: linear-gradient(135deg, #fdfcfb, #e2d1c3);
}
.result-card:nth-child(2) {
  background: linear-gradient(135deg, #e0c3fc, #8ec5fc);
}
.result-card:nth-child(3) {
  background: linear-gradient(135deg, #fbc2eb, #a6c1ee);
}
.result-card:nth-child(4) {
  background: linear-gradient(135deg, #ffecd2, #fcb69f);
}
.result-card:nth-child(5) {
  background: linear-gradient(135deg, #d4fc79, #96e6a1);
}
.result-card:nth-child(6) {
  background: linear-gradient(135deg, #f6d365, #fda085);
}
.result-card:nth-child(7) {
  background: linear-gradient(135deg, #cfd9df, #e2ebf0);
}
.result-card:nth-child(8) {
  background: linear-gradient(135deg, #d9afd9, #97d9e1);
}
.result-card:nth-child(9) {
  background: linear-gradient(135deg, #fdfcfb, #e2d1c3);
}
.section p {
  line-height: 28px;
}
.full-bhaav-section {
  background-color: #ffe4c4;
  padding: 50px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.full-bhaav-section h3 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #111;
}

.bhaav-container {
  justify-content: center;
  display: grid;
  grid-template-columns: repeat(4, 2fr);
  gap: 15px;
}

.bhaav-item {
  padding: 40px 0 10px;
  text-align: center;
  width: 100%;
  background: white;
  border-radius: 10px;
}

.bhaav-item img {
  width: 70%;
  margin: 0 auto;
}

.bhaav-item img:hover {
  transform: scale(1.05);
}

.bhaav-item p {
  margin-top: 30px;
  font-size: 21px;
  color: #111;
}
.footer {
  background-color: #2d2d2d;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
  font-family: Arial, sans-serif;
}

.footer a {
  color: #ccc;
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s;
}

.footer a:hover {
  color: #fff;
}

.table-th-mobile {
  padding: 20px;
  background: linear-gradient(135deg, rgb(246, 211, 101), rgb(253, 160, 133));
  text-align: center;
}
/* td {
    border: 1px solid #0000002e;
  } */
.number-grid {
  display: grid;
  grid-template-columns: 10px 10px 10px 10px;
  gap: 16px;
  justify-content: center;
  align-items: center;
  padding: 10px;
}
.bold {
  font-weight: bold;
  color: black;
}
.layout {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px #959da533;
  margin-bottom: 15px;
  padding: 8px;
  margin: 13px;
}
.layout_table h6 {
  margin: 10px 13px !important;
}
.layout_table h6 a {
  font-size: 17px;
  color: black;
}
.layout_table .text-center {
  font-size: 15px;
  text-align: center;
}
.layout_table {
  align-items: end;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px #959da533;
  margin-bottom: 15px;
  padding: 8px 0px;
  margin: 13px;
}
.layout_table .text_heading {
  font-size: 17px;
  text-align: center;
  color: rgb(46, 49, 247);
}

.custom-cell {
  display: flex;
  justify-content: space-between;
  padding-left: 10px;
}

.mobile_padding {
  padding: 0;
}

.vertical-numbers {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: -6px 0px 10px -4px;
  font-size: 10px;
}

.center-number {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -3px 6px 12px 4px;
  font-size: 14px;
}

/* For second row styling override */
.custom-cell .row-mobile:nth-of-type(2) .center-number {
  margin: 1px 2px 8px 10px;
}

.custom-cell .row-mobile:nth-of-type(2) .vertical-numbers {
  margin: -6px 1px 2px 0px;
}
.panel_table .table-td {
  padding: 30px 1px 0px 30px;
}
.panel_table {
  border-collapse: collapse;
}
.empty-day {
  text-align: center;
  color: #606060;
  font-size: 17px;
}
.jodi_table {
  border-collapse: collapse;
  color: #fff;
  font-size: 18px;
  border-radius: 6px;
}

.jodi_table th,
.jodi_table td {
  border: 1px solid#bbb9b9;
  padding: 12px;
  text-align: center;
  vertical-align: middle;
}

.jodi_table thead th {
  font-weight: bold;
  background: linear-gradient(135deg, #e0c3fc, #8ec5fc);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 18px;
}
.jodi_table tbody td {
  font-weight: bold;
  color: #000000;
}
.panel_table th,
.panel_table td {
  border: 1px solid#d3d3d3;
  text-align: center;
  vertical-align: middle;
}

.text-center {
  text-align: center;
}

.my-4 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.spinner-border {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  vertical-align: text-bottom;
  border: 0.4em solid rgba(0, 0, 0, 0.1);
  border-right-color: #007bff; /* Bootstrap primary blue */
  border-radius: 50%;
  animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Spinner Size */

/* Base Style for jodi_table */
.jodi_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.jodi_table th,
.jodi_table td {
  text-align: center;
  border: 1px solid #ddd;
  /* border: none; */
  vertical-align: middle;
}

/* Styling div and spans inside td */
.jodi_table td div {
  margin: 10px 0;
}

.jodi_table td span {
  font-weight: bold;
}

/* No data text */
.no-data-text {
  text-align: center;
  padding: 20px;
  font-size: 16px;
  color: #999;
}
.table-responsive {
  width: 100%;
}
.support-box {
  border: 3px solid red;
  border-radius: 15px;
  padding: 20px;
  background: #fce9ff;
  text-align: center;
  font-family: Arial, sans-serif;
  box-shadow: inset 0 0 10px #f9a;
  max-width: 500px;
  margin: 20px auto;
}

.support-box p {
  font-style: italic;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 15px;
}

.email-button {
  display: inline-block;
  background: linear-gradient(to bottom, #ffcc00, #ff6600);
  color: black;
  font-weight: bold;
  font-size: 14px;
  padding: 10px 25px;
  border-radius: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  font-style: italic;
}
.panel-chart {
  width: 100%;
  text-align: center;
}
.panel-chart thead th {
  background: linear-gradient(135deg, #f6d365, #fda085);
  padding: 8px 0px;
}
.panel-chart tbody {
  background-color: #ffe9cc;
}
.panel-chart thead tr th:nth-child(1) {
  width: 100px;
}
table,
th {
  border: 1px solid #a3a4a5a8;
}
table {
  border-collapse: collapse;
}
.panel-chart tr td:nth-child(1) {
  font-size: 13px;
  font-weight: 500;
}
tbody td {
  padding: 5px 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  border: 1px solid #a3a4a5a8;
}
.panel-chart tbody tr td:nth-child(2),
.panel-chart tbody tr td:nth-child(5),
.panel-chart tbody tr td:nth-child(8),
.panel-chart tbody tr td:nth-child(11),
.panel-chart tbody tr td:nth-child(14),
.panel-chart tbody tr td:nth-child(17),
.panel-chart tbody tr td:nth-child(20),
.panel-chart tbody tr td:nth-child(23) {
  border-right-width: 0px;
  font-size: 15px;
  font-weight: 500;
}
.panel-chart tbody tr td:nth-child(3),
.panel-chart tbody tr td:nth-child(6),
.panel-chart tbody tr td:nth-child(9),
.panel-chart tbody tr td:nth-child(12),
.panel-chart tbody tr td:nth-child(15),
.panel-chart tbody tr td:nth-child(18),
.panel-chart tbody tr td:nth-child(21),
.panel-chart tbody tr td:nth-child(24),
.panel-chart tbody tr td:nth-child(27) {
  border-left-width: 0px;
  border-right-width: 0px;
  font-size: 23px;
  font-weight: 500;
  font-style: italic;
}
.panel-chart tbody tr td:nth-child(4),
.panel-chart tbody tr td:nth-child(7),
.panel-chart tbody tr td:nth-child(10),
.panel-chart tbody tr td:nth-child(13),
.panel-chart tbody tr td:nth-child(16),
.panel-chart tbody tr td:nth-child(19),
.panel-chart tbody tr td:nth-child(22),
.panel-chart tbody tr td:nth-child(25),
.panel-chart tbody tr td:nth-child(28) {
  border-left-width: 0px;
  font-size: 15px;
  font-weight: 500;
}
.layout_golden {
  background: #fff8e1;
  border-radius: 15px;
  box-shadow: 0 8px 16px #0003;
  margin: 20px auto;
  max-width: 400px;
  padding: 20px;
  border: 2px solid #ff9800;
}
.heading_golden {
  color: #ff1800;
  font-family: Poppins, sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px #00000080;
}
.number-container {
  background: #e1000026;
  border-radius: 10px;
  box-shadow: 0 4px 12px #0000001a;
  color: #1e3a8a;
  font-family: Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 10px;
}
.number {
  background: #d7d7d7;
  border-radius: 8px;
  color: #fff;
  font-size: 22px;
  padding: 5px 10px;
  text-shadow: 1px 1px 4px #0006;
}
.jodi_table tbody {
  background-color: #ffe9cc;
}
