* {
  font-family: arial, sans-serif;
  color: #545454;
}

html,
body {
  margin: 0;
  height: 100%;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.wrapper.indexPage {
  justify-content: center;
}

.animationContainer {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Adjust the animation size for the landing page */
.indexPage .animationContainer {
  width: 200px;
  height: 200px;
}

/* Ensure the main section can accommodate the new animation */
.mainSection {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
}

.mainSection .searchContainer {
  margin-top: 20px;
  width: 100%;
}

.mainSection .searchContainer form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.searchContainer .searchButton {
  color: #757575;
  background-color: #f5f5f5;
  border: none;
  height: 36px;
  width: 125px;
  border-radius: 1px;
  font-size: 13px;
  font-weight: bold;
  margin-top: 20px;
  cursor: pointer;
  outline: none;
}

.mainSection .searchContainer .searchBox {
  border: none;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
  height: 44px;
  border-radius: 2px;
  outline: none;
  padding: 10px;
  box-sizing: border-box;
  font-size: 16px;
  width: 70%;
  max-width: 630px;
  color: #000;
}

.mainSection .logoContainer {
  width: 220px;
  text-align: center;
}

.logoContainer img {
  width: 100%;
}

.header {
  background-color: #fafafa;
  border-bottom: 1px solid #ebebeb;
}

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

.headerContent .logoContainer {
  width: 150px;
  padding: 5px 20px;
  box-sizing: border-box;
}

.headerContent .searchContainer {
  flex: 1;
}

.headerContent .searchContainer form {
  margin: 15px 0 28px 0;
}

.headerContent .searchBarContainer {
  height: 44px;
  border-radius: 2px;
  background-color: #fff;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
  width: 70%;
  max-width: 630px;
  box-sizing: border-box;
  display: flex;
}

.headerContent .searchBarContainer .searchBox {
  flex: 1;
  border: none;
  background-color: transparent;
  padding: 12px;
  font-size: 16px;
  color: #000;
}

.headerContent .searchBarContainer .searchButton {
  background-color: #fff;
  height: 44px;
  margin-top: 0;
  width: 44px;
  padding-right: 20px;
  display: flex;
  justify-content: center;
}

.headerContent .searchBarContainer .searchButton img {
  width: 22px;
}

.tabsContainer {
  margin-left: 150px;
}

.tabsContainer .tabList {
  padding: 0;
  margin: 0;
}

.tabsContainer .tabList li {
  display: inline-block;
  padding: 0 16px 12px 16px;
  color: #777;
  font-size: 13px;
}

.tabsContainer .tabList li a {
  text-decoration: none;
}

.tabsContainer .tabList li.active {
  border-bottom: 3px solid #1a73e8;
}

.tabsContainer .tabList li.active a {
  font-weight: bold;
  color: #1a73e8;
}

.mainResultsSection {
  flex: 1;
}

.mainResultsSection .resultsCount {
  font-size: 13px;
  color: #808080;
  margin-left: 150px;
}

.mainResultsSection .siteResults {
  margin-left: 150px;
}

.resultContainer {
  display: flex;
  flex-direction: column;
  margin-bottom: 26px;
}

.resultContainer .title {
  margin: 0;
}

.resultContainer .title a {
  color: #1a0dab;
  text-decoration: none;
  font-weight: normal;
  font-size: 18px;
}

.resultContainer .title a:hover {
  text-decoration: underline;
}

.resultContainer .url {
  color: #006621;
  font-size: 14px;
}

.resultContainer .description {
  font-size: 12px;
}

.paginationContainer {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}

.pageButtons {
  display: flex;
}

.pageNumberContainer img {
  height: 37px;
}

.pageNumberContainer,
.pageNumberContainer a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.pageNumber {
  color: #000;
  font-size: 13px;
}

a .pageNumber {
  color: #4285f4;
}

.mainResultsSection .imageResults {
  margin: 20px;
}

.gridItem {
  position: relative;
}

.gridItem img {
  max-width: 200px;
  min-width: 50px;
  visibility: hidden;
}

.gridItem .details {
  visibility: hidden;
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 11px;
  padding: 3px;
  box-sizing: border-box;
  white-space: nowrap;
}

.gridItem:hover .details {
  visibility: visible;
}

/* Add these new styles to your existing CSS file */

.welcomeText {
  margin: 20px 0;
  font-size: 24px;
  color: #545454;
  text-align: center;
}

.navigationContainer {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.navButton {
  color: #757575;
  background-color: #f5f5f5;
  border: none;
  height: 36px;
  width: 125px;
  border-radius: 1px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navButton:hover {
  background-color: #e8e8e8;
}

/* Add these new styles to your existing CSS file */

/* Add these new styles to your existing CSS file */

.crawlContainer {
  max-width: 800px;
  margin: 50px auto;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.crawlTitle {
  font-size: 24px;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
}

.inputContainer {
  display: flex;
  gap: 10px;
  max-width: 700px;
  margin: 0 auto;
}

.crawlInput {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.crawlInput:focus {
  border-color: #1a73e8;
  outline: none;
}

.crawlButton {
  padding: 12px 24px;
  background-color: #1a73e8;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.crawlButton:hover {
  background-color: #1557b0;
}

.crawlResultsContainer {
  max-width: 900px;
  margin: 30px auto;
  padding: 20px;
}

.crawlStatus {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.resultsOutput {
  background: #fff;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.crawlResult {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.crawlResult:last-child {
  border-bottom: none;
}

.crawlResult .success {
  color: #28a745;
}

.crawlResult .error {
  color: #dc3545;
}

.crawlResult .exists {
  color: #ffc107;
}

.crawlActions {
  text-align: center;
  margin-top: 30px;
}

.backButton {
  display: inline-block;
  padding: 12px 24px;
  background-color: #f8f9fa;
  color: #1a73e8;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.backButton:hover {
  background-color: #e9ecef;
}

.crawlForm {
  margin-top: 20px;
}

.message {
  color: #d93025;
  margin-bottom: 15px;
}
