.main-container {
  background-color: var(--light-gray);
  min-height: 100vh;
}

.header-section {
  background-color: var(--white-color);
  border-bottom: 1px solid var(--light-gray-2);
  padding: 7.5rem 2rem 1.5rem 2rem;
}

.breadcrumb-nav {
  color: var(--black-color-op-60);
  margin-bottom: 1rem;
}

.breadcrumb-nav .breadcrumb-link {
  color: var(--black-color-op-60);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-nav .breadcrumb-link:hover {
  color: var(--primary-color);
}

.breadcrumb-nav .breadcrumb-separator {
  margin: 0 0.5rem;
  color: var(--black-color-op-60);
}

.breadcrumb-nav .breadcrumb-current {
  color: var(--text-title);
}

.page-title {
  font-size: 1.5rem;
  color: var(--text-title);
  margin: 0;
}

.close-btn {
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--black-color-op-60);
  transition: color 0.2s ease;
}

.close-btn:hover {
  color: var(--primary-color);
}

.search-input-container {
  top: -115px;
  z-index: 10;
  position: relative;
  margin-bottom: 1rem;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--black-color-op-40);
  z-index: 2;
}

.search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 1px solid var(--light-gray-2);
  border-radius: var(--border-radius-sm);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.125rem rgba(0, 86, 112, 0.25);
}

.search-input::placeholder {
  color: var(--black-color-op-40);
}

.title-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

/* Search Results Styles */
.search-results-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.search-results {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 576px) {
  .search-results {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.loading-state {
  text-align: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
  display: none;
  /* remove this line to show the loading state */
}

.loading-spinner {
  width: 2rem;
  height: 2rem;
  margin: 0 auto 1rem;
  color: var(--primary-color);
}

.loading-text {
  color: var(--black-color-op-60);
}

.no-results-state {
  text-align: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
  display: none;
  /* remove this line to show the no results state */
}

.no-results-icon {
  color: var(--light-gray-2);
  margin-bottom: 1rem;
}

.no-results-title {
  font-size: 1.25rem;
  color: var(--black-color-op-60);
  margin-bottom: 0.5rem;
}

.no-results-text {
  color: var(--black-color-op-60);
}

.initial-state {
  text-align: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.initial-icon {
  font-size: 4rem;
  color: var(--light-gray-2);
  margin-bottom: 1rem;
}

.initial-title {
  color: var(--black-color-op-60);
  margin-bottom: 0.5rem;
}

.initial-text {
  color: var(--black-color-op-60);
}

.results-state {
  display: none;
  /* remove this line to show the results state */
}

.results-count {
  color: var(--black-color-op-60);
  margin-bottom: 1.5rem;
}

.search-result-card {
  background-color: var(--white-color);
  border-radius: var(--border-radius-sm);
  padding: 1.5rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  border: 1px solid var(--light-gray-2);
  transition: all 0.2s ease;
  cursor: pointer;
}

.search-result-card:hover {
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.result-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.result-main {
  flex: 1;
}

.result-meta {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.result-icon {
  font-size: 1.125rem;
  margin-right: 0.5rem;
}

.result-badge {
  color: var(--primary-color);

  border-radius: var(--border-radius-xs);
  margin-right: 0.5rem;
}

.result-separator {
  color: var(--light-gray-2);
  margin: 0 0.5rem;
}

.result-category {
  color: var(--black-color-op-60);
}

.result-date {
  display: flex;
  align-items: center;
  color: var(--black-color-op-60);
}

.result-date-icon {
  margin-right: 0.25rem;
}

.result-title {
  color: var(--text-title);
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.result-title:hover {
  color: var(--primary-color);
}

.result-description {
  color: var(--black-color-op-60);
}

.result-arrow {
  margin-left: 1rem;
  flex-shrink: 0;
  color: var(--black-color-op-40);
}

.spinner-border {
  width: 2rem;
  height: 2rem;
}

/* RTL Support */

.arabic-version .breadcrumb-nav .breadcrumb-separator i {
  transform: rotateY(180deg);
}

.arabic-version .result-arrow {
  margin-left: 0;
  margin-right: 1rem;
  transform: rotateY(180deg);
}

.primary-button:hover{
    color: #fff;
}

 .arabic-version #search{
    border-radius: 0 7px 7px 0px;
}

.arabic-version .primary-button{
    border-radius: 10px 0 0 10px !important;
}