/* تعيين اتجاه الصفحة بالكامل من اليمين لليسار */

body {
  font-family: "Cairo", Tajawal , Amiri, Arial;
  direction: rtl; /* يجعل النصوص تبدأ من اليمين */
  text-align: right; /* يضبط محاذاة النص لليمين */
  background: linear-gradient(to bottom, #f5f7fa, #e8f0e9);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
}


/* الحاوية الرئيسية */
.container {
  display: flex;
  width: 80%;
  max-width: 1000px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

/* القسم الأيسر */
.left-section {
  width: 50%;
  padding: 20px;
  text-align: right; /* ✅ Ensures Arabic text aligns properly */
  direction: rtl; /* ✅ Forces proper RTL alignment */
}

.logo {
  width: 200px;
  margin-bottom: 20px;
}
h1 {
  color: #006633;
  font-size: 28px;
  margin-bottom: 10px;
}
p {
  color: #2e5c34;
  font-size: 16px;
  line-height: 1.6;
}
.decorative-icons {
  margin-top: 15px;
  font-size: 24px;
  color: #b8860b;
}

/* القسم الأيمن */
.right-section {
  width: 90%; /* ✅ Make it responsive */
  max-width: 400px; /* ✅ Keeps it balanced */
  padding: 20px;
  background: linear-gradient(to bottom, #f5f7fa, #e8f0e9);
  border-radius: 15px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  
  margin: auto; /* ✅ Force center alignment */
  display: flex;
  flex-direction: column;
  align-items: center; /* ✅ Ensure items inside are centered */
  justify-content: center;
}

label {
  font-size: 18px;
  font-weight: bold;
  color: #006633;
}
input {
  width: 90%;
  padding: 12px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  text-align: right; /* محاذاة النص داخل الإدخال */
  font-family: "Cairo", Tajawal , Amiri,Arial;

}
button {
  font-family: "Cairo", Tajawal , Amiri,Arial;

  width: 90%;
  padding: 12px;
  margin-top: 20px;
  background: linear-gradient(to right, #008c4a, #b8860b);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
}
button:hover {
  background: linear-gradient(to right, #006633, #9c7400);
}
.info-text {
  font-size: 14px;
  margin-top: 10px;
  color: #2e5c34;
}

/* دعم الأجهزة الصغيرة (الجوال) */
@media (max-width: 768px) {
  /* ✅ Ensure full page follows RTL properly on mobile */
  body {
      text-align: center;
  }

  /* ✅ Center the whole container on iPhones */
  .container {
      width: 95%; /* Prevents extra spacing */
      margin: auto; /* Ensures centering */
      flex-direction: column; /* ✅ Stack sections in the center */
      align-items: center;
      justify-content: center;
  }

  /* ✅ Center the logo and text on iPhones */
  .left-section {
      width: 100%; /* Takes full width */
      text-align: center; /* Centers logo & message */
      margin-bottom: 20px;
  }

  .right-section {
    width: 90%; /* ✅ Make it responsive */
    max-width: 400px; /* ✅ Keeps it balanced */
    padding: 20px;
    background: linear-gradient(to bottom, #f5f7fa, #e8f0e9);
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin: auto; /* ✅ Force center alignment */
    display: flex;
    flex-direction: column;
    align-items: center; /* ✅ Ensure items inside are centered */
    justify-content: center;
    margin-left: 50px; /* Add margin to move the box to the right */
}

/* ✅ Ensure input box is centered */
.right-section input {
    width: 90%; /* ✅ Prevents overflow */
    text-align: right; /* ✅ Keep Arabic text aligned properly */
}

/* ✅ Ensure button is also centered */
.right-section button {
    width: 90%; /* ✅ Keep it responsive */
}
}


.icon {
  width: 26px; /* Adjust size as needed */
  height: 26px;
  margin-right: 11px; /* Space between icon & text */
  margin-bottom: 6px; /* Move icon slightly up */
  vertical-align: middle; /* Keep it aligned with text */
  
}
.template-select select {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: linear-gradient(to right, #f5f7fa, #e0ece7);
  color: #006633;
  font-family: 'Cairo', sans-serif;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.template-select select:focus {
  border-color: #006633;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,102,51,0.1);
}

