/* ===== Base Styles ===== */
body {
	font-family: 'Poppins', sans-serif;
	margin: 0;
	padding: 20px;
	background: #f8f9fa;
	color: #222;
}

h2 {
	text-align: center;
	color: #0056b3;
	margin-bottom: 20px;
}

form {
	background: #fff;
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	max-width: 600px;
	margin: auto;
}

label {
	font-weight: bold;
}

input, button {
	padding: 10px;
	margin: 8px 0;
	width: 100%;
	box-sizing: border-box;
	border-radius: 6px;
	border: 1px solid #ccc;
	font-size: 16px;
}

button {
	background: #007BFF;
	color: #fff;
	border: none;
	font-weight: bold;
	cursor: pointer;
	transition: background 0.3s ease;
}

button:hover {
	background: #0056b3;
}

.result {
	margin-top: 20px;
	padding: 20px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

/* ===== Table Styling ===== */
table.excel, .result_name {
	border-collapse: collapse;
	margin: 10px 0;
	width: 100%;
	font-size: 15px;
}
table.excel th, .result_name th, table.excel td, .result_name td {
	border: 1px solid #000;
	text-align: center;
	padding: 8px;
	word-break: break-word;
}
table.excel th, .result_name th {
	background: #e9f1ff;
	font-weight: bold;
}
table.excel tr:nth-child(even), .result_name tr:nth-child(even) {
	background: #f7faff;
}

/* ===== Pyramid Layout ===== */
.pyramid {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 20px 0;
}
.layer {
	display: flex;
	justify-content: center;
	margin: 4px;
	flex-wrap: wrap;
}
.box {
	border: 1px solid #000;
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 2px;
	font-weight: bold;
	background: #eef;
	border-radius: 6px;
}
.green {
	background: #7fff7f !important;
}

.white {
	background: #FFFFFF;
	border: 1px solid #FFFFFF;
}

/* ===== Dropdown Table ===== */
.traits-visible {
	display: block;
	position: relative;
	margin-top: 10px;
	background: #fff;
	width: 100%;
	overflow-x: auto;
}

.traits-visible table {
	width: 100%;
	min-width: 350px;
}
.traits-visible th {
	background: #eef;
	font-weight: bold;
}
.traits-visible td:last-child {
	font-weight: bold;
	color: #007bff;
}

a.trait-toggle {
	color: #7a0ba3;
	text-decoration: none;
	font-weight: bold;
}
a.trait-toggle:hover {
	text-decoration: underline;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
	body {
		padding: 10px;
	}

	form, .result {
		padding: 15px;
		border-radius: 8px;
	}

	h2 {
		font-size: 22px;
	}

	.box {
		width: 35px;
		height: 35px;
		font-size: 14px;
	}

	table.excel th, table.excel td {
		font-size: 13px;
		padding: 6px;
	}

	.traits-dropdown {
		max-width: 100%;
		overflow-x: auto;
	}
}

@media (max-width: 480px) {
	h2 {
		font-size: 20px;
	}
	input, button {
		font-size: 14px;
		padding: 8px;
	}
	.box {
		width: 32px;
		height: 32px;
	}
}

/* Make code column fully visible (no wrapping) */
table.excel td:first-child,
table.excel th:first-child {
	white-space: nowrap;
	width: auto;
	min-width: 40px;
	font-weight: bold;
	font-family: monospace;
}

/* ===== Inverted Pyramid Outline ===== */
.pyramid-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 68px 0 0 0;
}

.pyramid-outline {
  position: relative;
  padding: 20px 40px 0px;
}

/* draw the V outline */
.pyramid-outline::before,
.pyramid-outline::after {
  content: "";
  position: absolute;
  top: 0;
  width: 3px;
  height: 250px;
  background: black;
}

.pyramid-outline::before {
  left: 50%;
  transform: translateX(-50%) rotate(-36deg);
  transform-origin: top center;
}

.pyramid-outline::after {
  right: 50%;
  transform: translateX(50%) rotate(36deg);
  transform-origin: top center;
}

/* base line of the V */
.pyramid-outline .base-line {
  position: absolute;
  top: 260px;
  left: 38%;
  right: 38%;
  height: 3px;
  background: black;
}

/* boxes */
.pyramid-outline .pyramid {
  position: relative;
  z-index: 2;
  margin-top: 10px;
}

.pyramid-outline .layer {
  display: flex;
  justify-content: center;
  margin: 6px 0;
}

.pyramid-outline .box {
  width: 40px;
  height: 40px;
  border: 1px solid #000;
  background: #eef;
  margin: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  border-radius: 6px;
}

/* make bottom box hang just below the V */
.g5-layer {
  margin-top: 20px;
}

.layerTop {
  margin-top: -71px !important;
  margin-left: 23px !important;
  position: absolute;
}

.layerLeft {
  margin-top: 27px !important;
  margin-left: -117px !important;
  position: absolute;
}

.layerRight {
  margin-top: 27px !important;
  margin-left: 159px !important;
  position: absolute;
  width: 140px;
}

/* ===== Red extension lines under pyramid ===== */
.pyramid-outline::before,
.pyramid-outline::after,
.pyramid-outline .base-line,
.pyramid-outline .top-left,
.pyramid-outline .top-center,
.pyramid-outline .top-right,
.pyramid-outline .black-left,
.pyramid-outline .black-right,
.pyramid-outline .red-vertical-left,
.pyramid-outline .red-vertical-right,
.pyramid-outline .red-bottom {
  position: absolute;
  content: "";
}

/* long horizontal red line under pyramid sides */
.pyramid-outline .top-left {
  top: 96px; 
  margin-left:-76px;
  left: 0;
  right: 77%;
  height: 3px;
  background: black;
}

.pyramid-outline .top-center {
  top: -1px; 
  left: 24%;
  right: 24%;
  height: 3px;
  background: black;
}

.pyramid-outline .top-right {
  top: 96px; 
  margin-right:-74px;
  right: 0;
  left: 77%;
  height: 3px;
  background: black;
}

.pyramid-outline .black-left {
  top: 201px; 
  margin-left:-15px;
  left: 0;
  right: 62%;
  height: 3px;
  background: black;
}

.pyramid-outline .black-right {
  top: 201px; 
  left: 62%;
  right: 0;
  margin-right:-16px;
  height: 3px;
  background: black;
}

/* small vertical red lines beside bottom box */
.pyramid-outline .red-vertical-left,
.pyramid-outline .red-vertical-right {
  width: 3px;
  height: 60px;
  background: black;
  top: 201px;
}

.pyramid-outline .red-vertical-left {
  left: 38%;
}

.pyramid-outline .red-vertical-right {
  right: 38%;
}

.star-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 50px 0;
}

.star-outline {
  position: relative;
  padding: 20px 40px 200px;
}

/* draw the V outline */
.star-outline::before,
.star-outline::after {
  content: "";
  position: absolute;
  top: 0;
  width: 3px;
  height: 300px;
  background: black;
}

.star-outline::before {
  left: 50%;
  transform: translateX(-50%) rotate(-18deg);
  transform-origin: top center;
}

.star-outline::after {
  right: 50%;
  transform: translateX(50%) rotate(18deg);
  transform-origin: top center;
}

/* boxes */
.star-outline .star {
  position: relative;
  z-index: 2;
  margin-top: 10px;
}

.star-outline .layer {
  display: flex;
  justify-content: center;
  margin: 6px 0;
}

.star-outline .box {
  width: 40px;
  height: 40px;
  border: 1px solid #000;
  background: #eef;
  margin: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  border-radius: 6px;
}

.star-outline::before,
.star-outline::after,
.star-outline .base-line {
  position: absolute;
  content: "";
}

/* long horizontal red line under star sides */
/* ===== STAR OUTLINE CONTAINER ===== */
.star-container {
    position: relative;
    width: 332px;   /* adjust size as needed */
    height: 400px;
    margin: 40px auto;
}

/* Star background image */
.star-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    opacity: 0.25; /* make the image faint so lines show clearly */
    z-index: 1;
}

/* Star outline on top */
.star-outline {
    position: absolute;
    top: 56px;
    left: -38px;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Example of line segments */
.star-outline div {
    position: absolute;
    background: black;
}

/* You can add and rotate more lines here */
.star-outline .bottomLeft {
    width: 3px;
    height: 299px;
    top: 48px;
    left: 177px;
    transform: rotate(-54deg);
}

.star-outline .bottomRight {
    width: 3px;
    height: 299px;
    top: 47px;
    left: 233px;
    transform: rotate(54deg);
}

/* base line of the V */
.star-outline .topLeft {
    position: absolute;
    top: 108px;
    left: 14%;
    right: 59%;
    height: 3px;
    background: black;
}

.star-outline .topRight {
    position: absolute;
    top: 108px;
    left: 59%;
    right: 14%;
    height: 3px;
    background: black;
}

.star-outline .top1 {
    width: 3px;
    height: 60px;
    top: 104px;
    left: 188px;
    transform: rotate(142deg);
}

.star-outline .top2 {
    width: 3px;
    height: 55px;
    top: 106px;
    left: 223px;
    transform: rotate(218deg);
}

.star-outline .top3 {
    width: 3px;
    height: 60px;
    top: 135px;
    left: 231px;
    transform: rotate(290deg);
}

.star-outline .top4 {
    width: 3px;
    height: 58px;
    top: 158px;
    left: 205px;
    transform: rotate(360deg);
}

.star-outline .top5 {
    width: 3px;
    height: 62px;
    top: 135px;
    left: 175px;
    transform: rotate(72deg);
}

/* ===== STAR NUMBERS ===== */
.star-outline .point {
    position: absolute;
    width: 17px;
    height: 11px;
    background: transparent;
    border-radius: 50%;
    text-align: center;
    line-height: 6px;
    font-weight: bold;
    font-size: 13px;
    z-index: 5;
}

/* Position each number manually — adjust visually as needed */
.star-outline .point1 { /* top point */
	top: 150px;
    left: 186px;
}
.star-outline .point2 { /* right-top */
	top: 186px;
    left: 251px;
}
.star-outline .point3 { /* right-bottom */
	top: 165px;
    left: 190px;
}
.star-outline .point4 { /* left-bottom */
	top: 186px;
    left: 143px;
}
.star-outline .point5 { /* left-top */
	top: 165px;
    left: 206px;
}
.star-outline .point6 { /* left-top */
	top: 161px;
    left: 258px;
}
.star-outline .point7 { /* left-top */
	top: 151px;
    left: 212px;
}
.star-outline .point8 { /* left-top */
	top: 160px;
    left: 136px;
}
.star-outline .point9 { /* left-top */
	top: 141px;
    left: 198px;
}

.pyramid-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px auto;
}

.pyramid-center .row {
  display: flex;
  justify-content: center;
  margin: 5px 0;
}

.pyramid-center .cell {
  width: 35px;
  height: 35px;
  border: 1px solid #ccc;
  margin: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.hideCell{
	border: 0px solid white !important;
	box-shadow: 0 0 0 rgba(0, 0, 0, 0) !important;
}

.pyramid-center .cell.final {
  background: #ffeb3b;
  border-color: #fbc02d;
}

.star-outline .viewCount {
    position: absolute;
    width: 17px;
    height: 11px;
    background: transparent;
    border-radius: 50%;
    text-align: center;
    line-height: 6px;
    font-weight: bold;
    font-size: 31px;
    z-index: 5;
}

/* Position each number manually — adjust visually as needed */
.star-outline .count1 { /* top point */
	top: 141px;
    left: 168px;
}

.star-outline .count2 { /* top point */
	top: 218px;
    left: 242px;
}

.star-outline .count3 { /* top point */
	top: 182px;
    left: 179px;
}

.star-outline .count4 { /* top point */
	top: 217px;
    left: 155px;
}

.star-outline .count5 { /* top point */
	top: 182px;
    left: 216px;
}

.star-outline .count6 { /* top point */
	top: 132px;
    left: 269px;
}

.star-outline .count7 { /* top point */
	top: 141px;
    left: 230px;
}

.star-outline .count8 { /* top point */
	top: 132px;
    left: 125px;
}

.star-outline .count9 { /* top point */
	top: 100px;
    left: 198px;
}

.star-note {
  background: #fffbe6;
  border-left: 6px solid #ffc107;
  padding: 15px 20px;
  border-radius: 8px;
  margin-top: 20px;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.star-note h4 {
  color: #d48806;
  margin-top: 0;
}

.note-section {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 10px;
}

.note-left, .note-right {
  width: 100%;
  background: #fff;
  padding: 10px 15px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.note-left b, .note-right b {
  color: #444;
}

.star-outline .label {
    position: absolute;
    width: 17px;
    height: 11px;
    background: transparent;
    border-radius: 50%;
    text-align: center;
    line-height: 6px;
    font-weight: bold;
    font-size: 21px;
    z-index: 5;
}

.star-outline .label1 {
	top: 95px;
    left: 63px;
}

.star-outline .label2 {
	top: -15px;
    left: 156px;
}

.star-outline .label3 {
	top: 95px;
    left: 248px;
}

.star-outline .label4 {
	top: 296px;
    left: 255px;
}

.star-outline .label5 {
	top: 296px;
    left: 68px;
}

.star-outline .label6 {
	top: 160px;
    left: 82px;
}
.star-outline .label7 {
	top: 163px;
    left: 82px;
}
.star-outline .label8 {
	top: 187px;
    left: 82px;
}

.label {
  position: absolute;
  font-weight: bold;
  color: #000;
  cursor: pointer;
  transition: 0.3s;
}

/* Modal styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
}
.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s;
}
.modal-content h3 {
  color: #4a148c;
  margin-top: 0;
}
.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
  color: #888;
}
.close:hover { color: #000; }

.hide { display:none; }

form {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  font-family: 'Poppins', sans-serif;
  margin-bottom: 10px;
}

form label {
  font-weight: 600;
  color: #333;
  display: block;
  margin-bottom: 6px;
}

form input[type="text"],
form input[type="number"],
form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d3d8df;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  background: #f9fafb;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

form input[type="text"]:focus,
form input[type="number"]:focus,
form select:focus {
  border-color: #007bff;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
}

form select {
  width: calc(50% - 4px);
  display: inline-block;
  margin-right: 4px;
}

form input[name="year"] {
  width: calc(50% - 4px);
  display: inline-block;
}

form button {
  width: 100%;
  padding: 12px 0;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #007bff, #00b4d8);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.1s ease;
}

form button:hover {
  background: linear-gradient(135deg, #0069d9, #009dc2);
  transform: translateY(-1px);
}

form button:active {
  transform: translateY(1px);
}

h2 {
  text-align: center;
  color: #222;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-top: 20px;
  margin-bottom: 15px;
}
.dob-row {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.dob-row select,
.dob-row input[type="number"] {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #d3d8df;
  border-radius: 8px;
  font-size: 15px;
  background: #f9fafb;
  transition: all 0.25s ease;
}

.dob-row select:focus,
.dob-row input[type="number"]:focus {
  border-color: #007bff;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
  outline: none;
}

#floatingBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #007bff, #00b894);
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 11px 0px;
  font-size: 12px;
  z-index: 1000;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.2);
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ===== SECTION BOX STYLE ===== */
.section-emosi, 
.section-sukan, 
.section-fikiran {
    background: #ffffff;
    border-left: 5px solid #007bff;       /* warna biru premium */
    padding: 15px 20px;
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* Title style */
.section-emosi h4,
.section-sukan h4,
.section-fikiran h4 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 20px;
    text-align: center;
    padding: 8px 0;
    text-decoration:underline;
    border-radius: 5px;
    letter-spacing: 0.5px;
}

/* Paragraph style */
.section-emosi p,
.section-sukan p,
.section-fikiran p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 10px;
}

/* Hover effect (premium look) */
.section-emosi:hover,
.section-sukan:hover,
.section-fikiran:hover {
    transform: translateY(-2px);
    transition: 0.25s ease;
    box-shadow: 0 5px 16px rgba(0,0,0,0.15);
}

/* OPTIONAL – make whole section look like a centered card */
.result .section-emosi,
.result .section-sukan,
.result .section-fikiran {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
/* ===== INTRO PREMIUM CARD ===== */
.intro-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 22px 16px;
    max-width: 850px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
	margin-top: -14px;
	margin-bottom: 15px;
}

.intro-card h3 {
    margin: 0 0 12px;
    padding: 10px;
    background: #007bff;
    color: white;
    text-align: center;
    border-radius: 6px;
    font-size: 20px;
    letter-spacing: 0.5px;
}

.bigTitle {
    margin: 0 0 12px;
    padding: 10px;
    background: #007bff;
    color: white;
    text-align: center;
    border-radius: 6px;
    font-size: 20px;
    letter-spacing: 0.5px;
}

.intro-card p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.intro-card ul {
    padding-left: 20px;
    margin: 8px 0 12px;
}

.intro-card li {
    margin-bottom: 6px;
}

.intro-card .highlight {
    background: #f0f7ff;
    padding: 10px 15px;
    border-left: 5px solid #007bff;
    border-radius: 6px;
    margin: 10px 0;
}

/* ========================
   BAHAGIAN INSTINCT (NEW)
   Same design as Emosi/Sukan/Fikiran
======================== */

.section-instinct {
    background: #ffffff;
    border-left: 5px solid #007bff;
    padding: 15px 20px;
    margin: 25px auto;
    border-radius: 8px;
    max-width: 700px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.section-instinct h4 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 20px;
    text-align: center;
    padding: 8px 0;
    text-decoration:underline;
    border-radius: 5px;
    letter-spacing: 0.5px;
}

.section-instinct p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.section-instinct:hover {
    transform: translateY(-2px);
    transition: 0.25s ease;
    box-shadow: 0 5px 16px rgba(0,0,0,0.15);
}

.section-instinct .instinct-icons {
    margin: 8px 0 14px 0;
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
}

.section-instinct svg {
    width: 32px;
    height: 32px;
}
.kes-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	margin: 20px 0;
}

.kes-box {
	background: white;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	text-align: center;
	box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.kes-divider {
	width: 100%;
	height: 2px;
	background: #cbd5e1;
	margin: 25px 0;
}

footer {
	margin-top:40px;
    padding:20px 10px;
    background:linear-gradient(90deg,#064e3b,#15803d);
    color:white;
    text-align:center;
    font-size:14px;
    border-radius:8px;
    box-shadow:0 4px 12px rgba(0,0,0,0.15);
}
.spinner {
    border: 6px solid #e5e7eb;
    border-top: 6px solid #22c55e;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    animation: spin 0.8s linear infinite;
    margin: auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.accordion {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    font-family: 'Poppins', sans-serif;
}

.accordion-item {
    margin-bottom: 5px;
}

.accordion-header {
    width: 100%;
    background: #222;
    color: #fff;
    padding: 15px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
    border-bottom: 1px solid #444;
	margin: 0px 0;
}

.accordion-header.active {
    background: #444;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 6px;
}

.accordion-content p {
    padding: 15px 0;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .accordion-header {
        font-size: 14px;
        padding: 12px;
    }

    .accordion-content p {
        font-size: 14px;
    }
}

/* ===== PREMIUM INTRO TEXT STYLING ===== */
.premium-intro {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    border-radius: 12px;
    padding: 22px 20px;
    max-width: 850px;
    margin: -13px auto;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
	margin-bottom: 10px;
}

.premium-intro p {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
}

.premium-intro b {
    color: #000;
}

.premium-intro ul {
    margin: 10px 0 15px 0;
    padding-left: 22px;
}

.premium-intro ul li {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.7;
}

/* Gold bullets */
.premium-intro ul li::marker {
    color: #d4af37;
    font-weight: bold;
}

/* Heading */
.premium-intro .intro-title {
    background: #d4af37;
    color: black;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .premium-intro {
        padding: 15px;
    }
    .premium-intro p,
    .premium-intro ul li {
        font-size: 15px;
    }
}

.salutation{
	text-align: center;
    padding: 10px;
}

/* ===== SALUTATION DROPDOWN ===== */
.salutation-select {
    width: 120px;              /* adjust if needed */
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #d3d8df;
    background: #ffffff;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.salutation-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.15);
    outline: none;
}

/* ===== DOB (DAY, MONTH, YEAR) MODERN DROPDOWNS ===== */
/* ===== SALUTATION STYLE ===== */
.salutation-select {
    width: 120px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #d3d8df;
    background: #ffffff;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    display: block;
    margin: 0 auto 10px auto;
}

.salutation-select:focus {
    border-color: #007bff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.15);
    outline: none;
}


/* ===== DOB MODERN STYLE ===== */
.dob-row-modern {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.dob-modern {
    flex: 1;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #d3d8df;
    background: #ffffff;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.dob-modern:focus {
    border-color: #007bff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.15);
    outline: none;
}

@media print 
{
	* {
		-webkit-print-color-adjust: exact !important;
		print-color-adjust: exact !important;
	}

	.accordion-header {
		background: #333 !important;
		color: #fff !important;
	}


	.new_page {
		page-break-before: always !important;
		break-before: page !important;
	}

	#export_btn {
		display: none !important;
		visibility: hidden !important;
	}
}

.justify
{
	text-align: justify !important;
	text-justify: inter-word !important;
}

.doa-card {
	background:#f4f7f5;
	border-left:6px solid #0c9d41;
	padding:18px 20px;
	border-radius:10px;
	margin:20px 0;
	font-size:17px;
	line-height:1.7;
	position:relative;
	color:#333;
	text-align: justify;
}

.doa-card:before {
	content:'❝';
	position:absolute;
	top:-10px;
	left:-10px;
	font-size:40px;
	color:#0c9d41;
	opacity:0.25;
}

.doa-title {
	font-weight:700;
	font-size:19px;
	color:#0c9d41;
	margin-bottom:8px;
}

.selawat {
	font-style:italic;
	color:#555;
	margin-bottom:10px;
}

.zikir {
	font-weight:700;
	text-decoration:underline;
}

.zikir-section {
	font-size:17px;
	color:#333;
	line-height:1.7;
	text-align:center;
	white-space:pre-line;
}

.zikir-box {
	background:#0c9d41;
	color:#fff;
	padding:12px 15px;
	border-radius:10px;
	margin:15px 0;
	font-weight:600;
	font-size:18px;
	display:inline-block;
}

.zikir-desc{
	text-align: left;
}

.section-title {
	font-size:20px;
	font-weight:700;
	margin-top:20px;
	margin-bottom:10px;
	color:#111;
}

.accordion-item {
    scroll-margin-top: 20px; /* Provides a little gap at the top so it's not glued to the edge */
}

.accordion-content {
    overflow: hidden; /* Prevents jumping during expansion */
}

html {
    scroll-behavior: smooth;
}

.accordion-header {
    /* Prevents double-tap zoom on some mobile devices when clicking fast */
    touch-action: manipulation; 
}