* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  background-color: #eef6f1;
  overflow-x: hidden;
  height: 100%;
  width: 100%;
    margin: 0;
}
body.moodlight{
  background-color:white ;
 color: '';
}
body.mooddark section{
  background-color: black;
  color: blueviolet;
}
body.mooddark #click{
  color: white;
}
body.moodlight #click{
  color: black;
}

body.mooddark .navbar{
  background-color: black;
  color: white;
}
body.mooddark{
  background-color: black;
}
body.mooddark .navbar{
    background-color: gray;
    color: black;
}
body.mooddark .navbar button{
  background: black;
}
body.mooddark .white *{
    color: white;
}
.navbar {
  background-color: #0fc45e;
  color:  #2d2d2d;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  font-weight: bold;
  box-shadow: 0 0 10px black;
  z-index: 5000;
}

.left-section {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-direction: row;
}

.left-section h1 {
  font-size: 24px;
  color:  #2d2d2d;
}

.icon {
  font-size: 20px;
}

.center-section a {
  text-decoration: none;
  margin: 0 10px;
  transition: 0.3s;
  text-transform: capitalize;
  letter-spacing: 2px;
  font-weight: bold;
  opacity: 0.7;
  margin: 25px;
}

.center-section a:hover {
  color: rgba(0, 0, 0, 0.836);
}

.right-section {
  display: flex;
  gap: 10px;
  margin-right: 30px;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}


.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .center-section,
  .right-section {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .center-section.show,
  .right-section.show {
    display: flex;
  }

  .center-section a {
    margin: 10px 0;
  }

  .right-section {
    align-items: flex-start;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
}
}
.search-input {
  width: 100%;
  max-width: 420px;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid #c9e2d5;
  border-radius: 8px;
  outline: none;
  background-color: #ffffff;
  color: #2d2d2d;
  transition: all 0.3s ease;
}
.search-input:focus {
  border-color: #3a8f6b;
  box-shadow: 0 0 0 3px rgba(58, 143, 107, 0.2);
}
.search-input {
  direction: rtl;
  text-align: right;
}
.search-input {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}


.full-screen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  background-color: rgba(31, 94, 67, 0.92); 
  backdrop-filter: blur(4px);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 9999;
}

.fasting-details-box {
  width: 100%;
  max-width: 750px;

  background-color: #ffffff;
  border-radius: 18px;

  padding: 28px;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);

  direction: rtl;
  text-align: right;
}
.details-title {
  font-size: 28px;
  font-weight: 800;

  color: #1f5e43;

  margin-bottom: 18px;

  text-align: right;
  direction: rtl;

  position: relative;
}
.details-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;

  width: 60px;
  height: 3px;

  background-color: #3a8f6b;
  border-radius: 4px;
}
.details-short {
  font-size: 17px;
  line-height: 1.8;
  color: #444;
  font-weight: 500;
  text-align: right;
  direction: rtl;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.details-heading {
  font-size: 24px;
  font-weight: 800;
  color: #1f5e43;
  text-align: right;
  direction: rtl;
  margin-bottom: 12px;
  border-right: 6px solid #3a8f6b;
  padding-right: 10px;
}
.details-text {
  font-size: 17px;
  line-height: 1.9;
  color: #444;
  font-weight: 500;
  text-align: right;
  direction: rtl;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.details-reference {
  font-size: 16px;
  line-height: 1.8;
  color: #2f6f4e;
  font-weight: 600;
  text-align: right;
  direction: rtl;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  font-style: italic;
}
.details-evidence-quran {
  font-size: 16px;
  line-height: 1.8;
  color: #1f5e43;
  font-weight: 500;
  text-align: right;
  direction: rtl;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  font-style: normal;
}

.details-evidence-sunnah {
  font-size: 16px;
  line-height: 1.8;
  color: #1f5e43;
  font-weight: 500;
  text-align: right;
  direction: rtl;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  font-style: italic;
}
.back-btn {
  height: 40px;
  padding: 0 20px;
  background-color: #3a8f6b;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.back-btn:hover {
  background-color: #2f6f4e;
  transform: scale(1.05);
}
.div{
position: absolute;
top: 380px;
}
.share-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  color: #15803d; 
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.share-btn i {
  font-size: 16px;
}

.share-btn:hover {
  background-color: #f0fdf4;
  border-color: #16a34a;
  color: #166534;
  transform: scale(1.05);
}

.share-btn:active {
  transform: scale(0.95);
}

.share-btn:focus {
  outline: none;
}
.FastingParent button{
  white-space: pre;
}