* { 
      font-family: 'Cairo', sans-serif !important; 
      box-sizing: border-box; 
    }
    
body { 
background-color: #ffffff; 
  margin: 0; 
  padding: 70px 0 0 0; 
  direction: rtl; 
}
    
    /* Header Section */
    .top-header { 
      background-color: #ffffff; 
      display: flex; 
      justify-content: space-between; 
      align-items: center; 
      padding: 10px 20px; 
      position: fixed; 
      top: -100px; 
      left: 0; 
      right: 0; 
      opacity: 0; 
      z-index: 1000; 
      box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
      transition: top 0.8s ease, opacity 0.8s ease; 
    }
    
    .top-header.show { 
      top: 0; 
      opacity: 1; 
    }
    
    .hamburger-icon { 
      font-size: 26px; 
      color: #67b3f5; 
      cursor: pointer; 
    }
    
    .brand-logo { 
      height: 60px; 
      object-fit: contain; 
    }
    
    /* Main Content Description */
    .primary-description {
      font-size: 14px;
      white-space: normal;
      line-height: 1.6;
      margin: 10px 20px 20px;
    }
    
@media (max-width: 400px) {
  .primary-description {
    font-size: 12px;
    line-height: 1.5;
  }
}

    /* Main Title */
h1 { 
  color: #2e6fb3; 
  text-align: center; 
  font-weight: 700; 
  font-size: 32px; 
  margin-top: 30px; 
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); 
  position: relative; 
  display: inline-block; 
  width: auto; 
}
@media (max-width: 500px) {
  h1{font-size:26px; margin-top:20px;}
}

/* تحسين النموذج للجوال */
.form-input-container{width:100%; margin-bottom:12px;}
.form-input-field{width:100%;}
.primary-btn,.secondary-btn{
  width:100%;
  box-sizing:border-box;
  margin:8px 0;
}
@media (max-width:600px){
  form{padding:0 10px;}
  .primary-description{margin:10px 12px 18px;}
}
    
    h1::before { 
      content: ""; 
      position: absolute; 
      top: 50%; 
      left: 50%; 
      transform: translate(-50%, -50%); 
      background-image: url('https://i.postimg.cc/mktdLGnp/image.png'); 
      background-size: cover; 
      background-repeat: no-repeat; 
      background-position: center; 
      width: calc(100% + 20px); 
      height: 80%; 
      z-index: -1; 
    }
    
    /* Paragraph Styles */
    p { 
      color: #6d7781; 
      text-align: center; 
      font-size: 16px; 
      margin: 10px 20px 30px; 
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.05); 
    }
    
    /* Form Input Styles */
    .form-input-container { 
      position: relative; 
      margin-bottom: 1.5em; 
    }
    
    .form-input-field { 
      width: calc(100% - 30px); 
      display: block; 
      padding: 3px 12px; 
      font-size: 14.5px; 
      margin: 10px auto; 
      border: 1px solid #ccc; 
      border-radius: 8px; 
      background-color: white; 
      text-align: right; 
      transition: border-color 0.3s ease; 
    }
    
    .form-input-field:focus { 
      border-color: #67b3f5; 
      outline: none; 
    }
    
    /* Button Styles */
    .primary-btn, .secondary-btn, .tertiary-btn, .quaternary-btn { 
      display: block; 
      margin: 15px auto; 
      padding: 6px 10px; 
      background-color: #2e6fb9; 
      color: white; 
      border: none; 
      border-radius: 8px; 
      font-size: 12px; 
      width: 120px; 
      cursor: pointer; 
      position: relative; 
      overflow: hidden; 
      transition: background-color 0.2s ease; 
    }
    
    /* Loading Button State */
    .primary-btn.loading {
      background-color: #24568f; 
      cursor: wait;
    }
    
    /* Error Message Styles */
    .error-message-tab { 
      background-color: #ffe5e5; 
      color: #990000; 
      text-align: center; 
      padding: 10px; 
      margin: 10px auto; 
      border-radius: 5px; 
      width: calc(100% - 40px); 
      display: none; 
    }
    
    /* Result Display Box */
.results-display-box { 
  background-color: #f0f0f0; 
  padding: 20px; 
  margin: 40px auto 20px; 
  border-radius: 8px; 
  width: calc(100% - 40px); 
  text-align: center; 
  display: grid; 
  grid-template-columns: 1fr;
  gap: 10px;
  display: none; 
}
@media (max-width:600px){
  .results-display-box{
    width: calc(100% - 24px);
    padding: 16px;
  }
}
    
    /* Information Labels */
    .information-label { 
      font-weight: bold; 
      margin-top: 10px; 
    }
    
    .information-data { 
      margin-bottom: 15px; 
    }
    
    /* Footer Section */
    .page-footer { 
      background-color: #2e6fb2; 
      color: white; 
      padding: 20px 15px 60px 20px; 
      display: flex; 
      flex-direction: column; 
      align-items: center; 
      justify-content: flex-start; 
      text-align: center; 
      font-size: 14px; 
      direction: rtl; 
      min-height: 180px; 
      gap: 15px; 
      position: relative; 
    }
    
    .page-footer img.footer-brand-logo { 
      height: 75px; 
      filter: none; 
      margin-bottom: 15px; 
    }
    
    .footer-description-text { 
      font-size: 13px; 
      line-height: 1.7; 
      white-space: normal; 
      max-width: 700px; 
    }
    
    /* Menu Title */
    .primary-menu-title { 
      font-weight: 700; 
      font-size: 15px; 
      margin-top: 30px; 
      position: relative; 
      display: inline-block; 
      color: white; 
      cursor: default; 
    }
    
    .primary-menu-title::after { 
      content: ""; 
      position: absolute; 
      bottom: -8px; 
      left: 50%; 
      transform: translateX(-50%); 
      width: 130%; 
      height: 3px; 
      background-color: #a3c1e5; 
      border-radius: 2px; 
    }
    
    /* Footer Links */
    .footer-navigation-links { 
      margin-top: 5px; 
      font-size: 13px; 
      display: flex; 
      flex-direction: column; 
      gap: 6px; 
      user-select: none; 
      width: 100%; 
      max-width: 320px; 
      padding: 0 10px; 
    }
    
    .footer-navigation-links div { 
      cursor: default; 
      color: #ffffff; 
      font-weight: normal; 
      padding-bottom: 4px; 
      border-bottom: 1px solid rgba(255, 255, 255, 0.3); 
      margin: 0 8px; 
    }
    
    #emptyFieldsErrorMessage, #errorMessageTab, #resultsDisplayBox, #loadingSpinnerElement { display: none; }
    .spinner-loading { display: inline-block; width: 18px; height: 18px; border: 3px solid rgba(0,0,0,0.12); border-top-color: rgba(0,0,0,0.4); border-radius: 50%; animation: spin 0.9s linear infinite; vertical-align: middle; margin-left:8px; }
    @keyframes spin { to { transform: rotate(360deg); } }
    .information-label { margin-top:10px; color:#334155; font-weight:700; }
    .information-data { margin-bottom:6px; color:#194767; }
    .primary-description { margin: 18px 8px; color:#334155; text-align:center; }
    .footer-bottom-text { margin-top: 20px; color: white; text-align: center; font-size: 14px; }
    .footer-navigation-links div { margin: 5px 0; }
    .contact-icon { margin: 5px 0; color:white; }
    .contact-section-title { color:white; font-weight:700; margin-top:20px; }
    .contact-divider-line { border-top:1px solid white; margin:10px 0; }
  
    /* Popup Menu */
    .navigation-popup-menu { 
      position: fixed; 
      top: 60px; 
      left: 0; 
      width: 100%; 
      height: 50vh; 
      background-color: #f8fcff; 
      display: none; 
      flex-direction: column; 
      justify-content: flex-start; 
      align-items: center; 
      padding-top: 30px; 
      z-index: 999; 
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); 
    }
    
    .navigation-popup-menu .popup-menu-item { 
      font-size: 15px; 
      color: #226699; 
      margin: 15px 0; 
      cursor: pointer; 
      text-decoration: underline; 
    }
    
    .navigation-popup-menu .popup-menu-login { 
      background-color: #3c8dc4; 
      color: white; 
      padding: 8px 20px; 
      border-radius: 12px; 
      margin-top: 12px; 
      font-size: 15px; 
      cursor: pointer; 
      display: inline-flex; 
      align-items: center; 
      justify-content: center; 
      text-decoration: none; 
    }
    
    .navigation-popup-menu .popup-menu-login span { 
      margin-right: 8px; 
    }
    
    .navigation-popup-menu .popup-close-btn { 
      position: absolute; 
      top: 10px; 
      right: 15px; 
      font-size: 24px; 
      color: #333; 
      cursor: pointer; 
    }
    
    /* Button Display States */
    .tertiary-btn, .quaternary-btn { 
      display: none; 
    }
    
    /* Text Formatting */
    .text-bold { 
      font-weight: bold; 
      color: black; 
    }
    
    .text-normal { 
      font-weight: normal; 
      color: black; 
    }
    
    .information-label.text-bold { 
      margin-bottom: 5px; 
    }
    
    .information-label.text-normal { 
      margin-top: 10px; 
    }
    
    /* Contact Section */
    .contact-section-title { 
      font-weight: 700; 
      font-size: 15px; 
      margin-top: 20px; 
      color: white; 
    }
    
    .contact-divider-line { 
      width: 160px; 
      height: 4px; 
      background-color: #a3c1e5; 
      margin: 6px auto 2px auto; 
      border-radius: 1px; 
    }
    
    .contact-information { 
      font-size: 14px; 
      line-height: 1.6; 
      color: white; 
      max-width: 320px; 
      text-align: center; 
      user-select: none; 
    }

    /* Loading Spinner Animation */
    .spinner-loading {
      display: inline-block;
      width: 12px;
      height: 12px;
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      border-top-color: #fff;
      animation: spin 1s ease-in-out infinite;
      margin-right: 8px; 
      vertical-align: middle;
      display: none; 
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    /* Empty Field Error Styling */
    .empty-field-error-message {
      background-color: #feeeee; 
      color: #a00000; 
      text-align: center;
      padding: 10px;
      margin: 15px auto 10px;
      border-radius: 5px;
      width: calc(100% - 40px);
      font-weight: normal; 
      display: none; 
      transition: margin-top 0.3s ease; 
    }
    /* جعل كل نصوص نتائج البحث سوداء */
.results-display-box .information-label,
.results-display-box .information-data {
  color: black !important;
}

.results-display-box .information-label {
  font-weight: bold;
  margin-bottom: 5px;
}

.results-display-box .information-data {
  margin-bottom: 15px;
  font-weight: normal;
}
