.inputs-box {
  background:#faf7fd;
  padding:20px;
  border-radius:15px;
  margin-bottom:20px;
  box-shadow:0 4px 10px rgba(0,0,0,0.05);
  direction: rtl; /* راست‌چین */
  text-align: right;
}

.inputs-box h2 {
  color:#9D57CB;
  margin-bottom:15px;
  font-weight:bold;
}

.inputs-box label {
  display:block;
  margin-bottom:10px;
  font-weight:bold;
  font-size:16px;
}

.inputs-box input,
.inputs-box button {
  width:100%;
  padding:10px;
  margin-bottom:15px;
  border-radius:10px;
  border:1px solid #ccc;
  font-family: inherit;
  direction: rtl;
}

.inputs-box button {
  background:linear-gradient(135deg,#9D57CB,#5A4CFC);
  color:#fff;
  border:none;
  cursor:pointer;
  font-weight:bold;
}

.inputs-box button:hover {
  opacity:0.9;
}

/* جعبه انتخاب تاریخ */
.jalali-selects {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  direction: rtl;
}

.jalali-selects select {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #aaa;
  font-size: 15px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.jalali-selects select:focus {
  border-color: #9D57CB;
  box-shadow: 0 0 5px rgba(157, 87, 203, 0.5);
  outline: none;
}

/* ترتیب نمایش: روز → ماه → سال */
#jDay   { order: 1; }
#jMonth { order: 2; }
#jYear  { order: 3; }

.future-month {
  margin-top:15px;
  padding:10px;
  border:1px solid #ccc;
  border-radius:12px;
  background:#fff;
  direction: rtl;
  text-align: center;
}

.future-month h4 {
  text-align:center;
  color:#5A4CFC;
  margin-bottom:8px;
}

.future-month table {
  border-collapse: collapse;
  width: 100%;
  text-align: center;
  direction: rtl;
}

.future-month td {
  border: 1px solid #ccc;
  padding: 6px;
  border-radius: 4px;
}

.period {
  background-color: #FC4C55 !important;
  color: #fff !important;
}

.ovulation {
  background-color: #1DBFBA !important;
  color: #fff !important;
}

.pms {
  background-color: #FFA624 !important;
  color: #fff !important;
}
