/* Search Modal Styles */
.search-modal {
  .modal-dialog {
    max-width: 600px;
  }

  .modal-content {
    background-color: var(--bs-body-bg);
    @include border-radius($border-radius-xl);
  }

  .modal-header {
    align-items: stretch;
    padding: 1rem;
    border-bottom: 1px solid var(--bs-border-color);

    .close-wrapper {
      display: flex;
      align-items: center;
    }

    .btn-close {
      padding: 0;
      margin: 0;
      &:focus {
        box-shadow: none;
      }
    }
  }

  .search-wrapper {
    position: relative;

    .search-icon {
      position: absolute;
      top: 50%;
      left: 1rem;
      font-size: 1.1rem;
      color: var(--bs-secondary-color);
      transform: translateY(-50%);
    }

    .form-control {
      height: 44px;
      padding: 0.75rem;
      padding-right: 7.5rem;
      padding-left: 2.75rem;
      font-size: 1rem;
      background: var(--bs-secondary-bg);
      border: 1px solid var(--bs-border-color);
      @include border-radius($border-radius-lg);

      &:focus {
        border-color: var(--bs-primary);
        box-shadow: unset;
      }
    }

    .search-shortcut-indicator {
      position: absolute;
      top: 50%;
      right: 1rem;
      transform: translateY(-50%);

      kbd {
        padding: 0.125rem 0.375rem;
        color: var(--bs-body-color);
        background-color: var(--bs-body-bg);
        border: 1px solid var(--bs-border-color);
        @include border-radius($border-radius-sm);
      }
    }
  }

  .quick-link-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    color: var(--bs-body-color);
    text-decoration: none;
    background-color: var(--bs-secondary-bg);
    @include border-radius($border-radius-lg);
    @include transition(all);

    &:hover {
      background-color: var(--bs-tertiary-bg);
    }

    i {
      font-size: 1.5rem;
      color: var(--bs-primary);
    }
  }

  .list-group-item {
    padding: 0.5rem;
    color: var(--bs-body-color);
    background-color: transparent;
    border: 0;

    &:hover {
      background-color: var(--bs-tertiary-bg);
      @include border-radius($border-radius-lg);
    }
  }
}
