* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: white;
  font-family: 'Ubuntu', Arial, Helvetica, sans-serif;
}

.search-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 80px 20px 40px 20px;
  transition: all 0.3s ease;
  position: relative;
}

.search-view.has-results {
  min-height: auto;
  justify-content: flex-start;
  padding: 20px;
}

.search-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
  transition: all 0.3s ease;
}

.search-view.has-results .search-header {
  position: static;
  margin-bottom: 0;
  margin-right: auto;
}

.search-header-logo {
  display: none;
}

.search-header-text h1 {
  font-size: 48px;
  margin: 0;
  font-weight: 700;
  color: black;
  margin-top: 20px;
}

.search-view.has-results .search-header-text h1 {
  font-size: 28px;
  margin-top: 0;
}

.search-header-text p {
  font-size: 16px;
  margin: 0;
  color: #666;
  display: none;
}

.search-view.has-results .search-header-text p {
  font-size: 14px;
  display: none;
}

.search-container {
  width: 100%;
  max-width: 600px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.search-view.has-results .search-container {
  max-width: 400px;
  margin-bottom: 20px;
}

.search-input-wrapper {
  position: relative;
}

.search-box {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 24px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  font-family: 'Ubuntu', Arial, Helvetica, sans-serif;
  transition: all 0.3s ease;
}

.search-box:focus {
  outline: none;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
  border-color: #bbb;
}

.search-input-wrapper:has(.suggestions-dropdown.visible) .search-box {
  border-radius: 24px 24px 0 0;
}

.suggestions-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: none;
  display: none;
  z-index: 10;
}

.suggestions-dropdown::-webkit-scrollbar {
  display: none;
}

.suggestions-dropdown.visible {
  display: block;
}

.suggestion-item {
  padding: 12px 20px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  color: black;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-name {
  color: black;
  margin-bottom: 4px;
  padding-left: 8px;
}

.suggestion-description {
  font-size: 12px;
  color: black;
  padding-left: 8px;
}

.results-view {
  display: none;
  width: 100%;
  padding: 20px;
}

.results-view.visible {
  display: block;
}

.results-header {
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}

.forms-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
}

.form-card {
  background: white;
  border-radius: 8px;
  padding: 20px 0;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  border: none;
  display: flex;
  flex-direction: column;
}

.form-card:hover {
  background: #f9f9f9;
}

.form-card-name {
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 8px 0;
  color: #00008b;
}

.form-card:hover .form-card-name {
  text-decoration: underline;
}

.form-card-description {
  font-size: 14px;
  color: #555;
  margin: 0 0 8px 0;
  line-height: 1.6;
}

.form-card-path {
  font-size: 12px;
  color: #006621;
  margin: 0;
  font-family: monospace;
}
