/* style_jozvehyab.css - Only affects the جزوه یاب (jozveh) service */

.service-item[data-category="jozveh"] input {    
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-size: 0.9rem;
    border: 1px solid #ccc;
    margin-top: 5px
    } 
  
 .service-item[data-category="jozveh"] button {
    display: inline-block;
    border: none;
    background: var(--primary-color);
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 0.9rem;
    margin-top: 5px
  } 

.service-item[data-category="jozveh"] button:hover {
    background: var(--secondary-color);
}  

 .service-item[data-category="jozveh"] #response {
    margin-top: 20px;
   /* font-size: 18px; */
    color: green;
    text-align: right;
  }
.service-item[data-category="jozveh"] #searchResults {
    margin-top: 10px;
      text-align: justify;           
  }
.service-item[data-category="jozveh"] .author-button {
    display: inline-block; /* Display buttons inline */
    margin-top: 10px;
    padding: 8px 16px;
    font-size: 0.9rem;
    cursor: pointer;
    width: fit-content; /* Make button width fit content */
      text-align: center;
  }

.service-item[data-category="jozveh"] #authorButtons {
    display: flex;  /*Use flexbox for layout */
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px; /* Add space between buttons */
    align-items: right;
  }
.service-item[data-category="jozveh"] #articleList {
    list-style-type: none; /* Remove bullet points */
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: right; /* Center list items horizontally */
    /*text-align: justify;*/
   gap: 20px; /* Add space between list items */         
   }

.service-item[data-category="jozveh"] .spinner {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 10px;
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
