* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  background-color: white;
  overflow-x: hidden;
  height: 100%;
  width: 100%;
    margin: 0;
}
body.light{
  background-color:white ;
 color: '';
}
body.dark section{
  background-color: black;
  color: blueviolet;
}
body.dark #click{
  color: white;
}
body.light #click{
  color: black;
}

body.dark .navbar{
  background-color: black;
  color: white;
}
body.dark{
  background-color: black;
}

.navbar {
  background-color: white;
  color: black;
  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;
}

.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;
}
}

.fonts{
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.material-symbols-outlined{
  font-size: 30px;
}
.text{
  font-size: 20px;
}
.borders{
  border-top: solid 10px blueviolet;
}

.texts{
  font-size: 40px;
}
.shadow{
  box-shadow: 0 0 10px blueviolet;
}
.DivCountener {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.9;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.prayer-rule-short {
  font-size: 20px;
  font-weight: 600;
  color: #e0f2fe; 
  margin-bottom: 12px;
  line-height: 1.5;
}
.prayer-rule-details {
  font-size: 20px;
  font-weight: 500;
  color: #f0f9ff; 
  line-height: 1.8;
  margin-bottom: 12px;
}

.prayer-rule-quran {
  background: #064e3b;
  color: #d1fae5; 
  padding: 14px 14px;
  border-radius: 12px;
  border-right: 4px solid #22c55e;
  font-size: 22px;
  margin-bottom: 6px;
}
.modal-close {
    position: absolute;
  top: 15px;
  right: 15px;
  background-color: #5b2be2;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.2s;

}
#home:hover,#Fasting:hover{
  cursor: pointer;
}

.prayer-rule-container {
  width: 80vw;                  
  max-width: 900px;
  min-width: 280px;              
  min-height: 200px; 
  max-height: 85vh;             
  overflow-y: auto;                 

  padding: 22px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);

  background: linear-gradient(135deg, #1e3a8a, #3b82f6); /* أزرق غامق إلى فاتح */
  color: #f1f5f9;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;

  transition: transform 0.3s ease;
  box-sizing: border-box;     
}

@media (max-width: 450px) {
  .details-modal {
    padding: 18px;              
    gap: 10px;                   
    font-size: 0.9rem;           
    min-height: 160px;           
  }
}


.prayer-rule-container:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.prayer-rule-title {
  font-size: 22px;
  font-weight: 700;
  color: #d1fae5; 
  margin-bottom: 8px;
}
.prayer-rule-sunnah {
  background: #0f172a;
  color: #e0f2fe; 
  padding: 14px 14px;
  border-radius: 12px;
  border-right: 4px solid #38bdf8;
  font-size: 22px;
  margin-bottom: 6px;
}
.details-label {
  font-size: 16px;               
  font-weight: 700;             
  color: #f3f4f6;                
  background-color: #1e40af;     
  padding: 8px 14px;            
  border-radius: 10px;           
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3); 
  transition: all 0.3s ease;
}

.details-label:hover {
  transform: scale(1.05);
  cursor: pointer;
  background-color: #2563eb;    
}

.evidence-label {
  font-size: 20px;               
  font-weight: 600;              
  color: #fef3c7;                
  background-color: #1e293b;     
  padding: 6px 12px;            
  border-radius: 8px;            
  border-left: 4px solid #facc15; 
  display: inline-block;        
  margin-bottom: 6px;            
  box-shadow: 0 3px 8px rgba(0,0,0,0.2); 
}
.back-button {
  font-size: 16px;                
  font-weight: 700;               /* عريض */
  color: #ffffff;                 /* نص أبيض */
  background-color: #111827;      /* أسود غامق / داكن جداً */
  padding: 10px 20px;             /* حشو داخلي للزر */
  border-radius: 12px;            /* حواف مدورة */
  border: 2px solid #22c55e;      /* خط أخضر فاتح للتمييز */
  cursor: pointer;                /* شكل المؤشر عند التحويم */
  box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* ظل لإبراز الزر */
  transition: all 0.3s ease;      /* تأثير حركة ناعمة */
  display: inline-flex;           /* لتوسيط النص والأيقونة */
  align-items: center;
  justify-content: center;
  gap: 8px;                       /* مسافة بين أي أيقونة ونص */
}

.back-button:hover {
  background-color: #1f2937;      /* يصبح أفتح شوي عند التحويم */
  transform: scale(1.05);         /* تكبير خفيف */
  box-shadow: 0 7px 18px rgba(0,0,0,0.4); /* ظل أقوى عند التحويم */
}

.search-input {
  width: 100%;
  max-width: 420px;
  padding: 14px 18px;
  font-size: 16px;
  border-radius: 14px;
  border: 1px solid #d1d5db;
  outline: none;
  background-color: #f9fafb;
  color: #111827;
  transition: all 0.3s ease;

}

.search-input::placeholder {
  color: #6b7280;
}

.search-input:focus {
  border-color: #2563eb;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}
.position{
  position: absolute;
  top: 0px;
}
#click:hover{
  cursor: pointer;
}
.PositionParent{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;

}
.save-btn {
  background-color: transparent;
  border: 1px solid #7c3aed;
  color: black;
  padding: 6px 6px;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s ease;
}

.save-btn:hover {
  background-color: #7c3aed;
  color: white;
  font-weight: bold;

}
.save-btn.saved {
  background: #7c3aed;
  color: #fff;
  border-color: #7c3aed;
}

body.dark .save-btn.saved {
  background: #c4b5fd;
  color: #1f2937;
  border-color: #c4b5fd;
}

body.dark .save-btn {
  border-color: #c4b5fd;
  color: black;
}

body.dark .save-btn:hover {
  background: #c4b5fd;
  color: #1f2937;
}


.save-btns {
  color: blueviolet;
  padding: 4px 14px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.25s ease;
  display: flex;
  align-items: center;
}
.delete-btn {
  background-color: #ff4d4f;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  float: right;
  margin-top: 8px;
  transition: 0.2s;
}

.delete-btn:hover {
  background-color: #ff7875;
}
.buttons-box {
    width: 100%;
    padding: 10px 15px;
}

.share-btn {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: #ede9fe;
    color: blueviolet;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.share-btn:hover {
    background-color: blueviolet;
    color: white;
    transform: scale(1.1);
}

