.nav-buttons {
  display: flex;
  gap: 8px;
  direction: rtl;
}

.nav-btn {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333; 
}

.nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}


.section-title {
  font-size: 1.25rem;   
  font-weight: bold;
  margin-bottom: 1rem;
}

.title-link {
  text-decoration: none;
  color: inherit;      
  display: inline-flex;
  align-items: center;
  gap: 6px;
}


.icon {
  display: inline-flex;
  align-items: center;
}



.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  background: #fff;
}
.card-container {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  direction: rtl; 
}

.service-card {
  display: flex;
  flex-direction: column; 
  gap: 12px;              
  background-color: #fff;  
  border-radius: 12px;     
  padding: 16px;           
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  direction: rtl;          
  width: 100%;             
}





.search-box {
background: #fff;
border-radius: 20px;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
width: 500px;
padding: 20px;
text-align: center;
}
.tabs {
display: flex;
justify-content: space-around;
margin-bottom: 20px;
}
.tab {
cursor: pointer;
padding: 10px 20px;
border-radius: 10px;
transition: background 0.3s;
}
.tab.active {
background: #007bff;
color: #fff;
}
.tab:hover:not(.active) {
background: #e9ecef;
}
.form-input {
display: flex;
justify-content: center;
gap: 10px;
}
input[type="text"] {
flex: 1;
padding: 10px;
border: 1px solid #ced4da;
border-radius: 10px;
font-size: 16px;
}
button {
background: #007bff;
color: white;
border: none;
padding: 10px 20px;
border-radius: 10px;
cursor: pointer;
transition: background 0.3s;
}
button:hover {
background: #0056b3;
}



.element {
  width: 100%;
  height: 40px;


  padding: 12px 16px;


  font-size: 16px;
  color: #1d9bf0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 500;

  background-color: #ffffff;
  border: 1px solid #1d9bf0;
  border-radius: 9999px; 

  direction: rtl;
  text-align: right;

  display: flex;
  align-items: center;
  justify-content: center;

  user-select: none;
}


.element:hover {
  background-color: #1a8cd8;
  border-color: #1a8cd8;
}

@media (max-width: 768px) {
  .element {
    padding: 10px 14px;
    font-size: 15px;
  }
}



.x-button {
  height: 40px;
  min-width: fit-content;

  padding: 12px 16px;
  border-radius: 9999px; 

  font-size: 16px;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1d9bf0;
  text-align: right;

  background-color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;

  direction: rtl;
}

.x-button:hover {
  color: white;
  padding: 12px 16px;
}

.x-button:active {
  border-color: #1a8cd8;
}

@media (max-width: 768px) {
  .x-button {
    padding: 6px 12px;
    font-size: 15px;
    height: 36px;
  }
}



.x-nav-item {
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15px;
  line-height: 20px;
  color: #536471; 
  font-weight: 500;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  padding: 6px 8px;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  border-radius: 16px;
  direction: rtl;
  text-align: right;
  transition: all 0.2s ease;
}


.x-nav-item:hover {
  color: #0f1419; 
  font-weight: 600;
  background-color: #e7e9ea;
  padding: 6px 16px; 
  border-radius: 16px;
}


a.active {

    border-radius: 4px;
    padding: 5px 10px;
    font-weight: var(--linaria-theme_typography-weight-semibold600)!important;


    border-bottom: 3px solid #07456b;

    font-weight: var(--linaria-theme_typography-weight-semibold600) !important;
    text-decoration: none; 
}




.menu-btn {
  background: #e7e5e5;
    color: #000000;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s;
}

.menu-btn:hover {
  background: #e7e5e5;
}

.profile-menu {
  background: #fff;
  border: 1px solid #ddd;
  position: absolute;
  top: 58px;
  width: 260px;
  box-shadow: 0px 4px 20px 9px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-family: Arial, sans-serif;
  z-index: 999;
}

.profile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.profile-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 10px;
  color: #333;
}

.profile-menu li a:hover {
  background: #f5f5f5;
}

.profile-menu img {
  width: 32px;
  height: 32px;
}

.profile-menu strong {
  font-size: 14px;
  display: block;
}

.profile-menu p {
  font-size: 12px;
  margin: 0;
  color: #777;
}

.hidden {
  display: none;
}

hr {
  margin: 0;
  border: 0;
  border-top: 1px solid #eee;
}
 


.footer_link{
    color: #6A6A6A;
}

.footer_link:hover{
    color: inherit;
    text-decoration: revert-layer;
}