@import "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600";

html {
  font:
    16px/20px "Open Sans",
    sans-serif;
}

body {
  margin: 0;
  padding: 0;
  background-color: #f4f5f6;
  color: #464646;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Utah Design System header ---------- */
/* The old header/logo rules (dpslogo, dpstitle, bcilogo) were removed when
   the site adopted the Utah Design System <app-header> component. */

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 10000;
  padding: 8px 16px;
  background: #005fcc;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
}

.content {
  margin-top: 50px;
  flex: 1;
}

h2 {
  color: #212121;
  margin: 10px auto;
  text-align: center;
}

#possibly-stolen {
  color: #212121;
  margin: 10px auto;
  text-align: center;
  display: none;
}

#no-results {
  color: #212121;
  margin: 10px auto;
  text-align: center;
  display: none;
}

#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}

.loading-text {
  color: #ffffff;
  font-size: 20px;
  margin-left: 10px;
}

form {
  max-width: 600px;
  margin: 10px auto;
  padding: 20px;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

form h2 {
  margin-top: 0;
  font-size: 24px;
  font-weight: bold;
  color: #000;
}

form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #000;
}

form input[type="text"] {
  width: 95%;
  padding: 10px;
  /* margin: 0 auto; */
  /* margin-bottom: 10px; */
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

form select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

form input[type="submit"] {
  background-color: #005c53;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

form input[type="submit"]:hover {
  background-color: #005c53;
}

.button-div {
  text-align: center;
  display: block;
  position: relative;
}

button {
  background-color: #005c53;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  margin: 10px, auto;
}

table {
  border-collapse: collapse;
  max-width: 600px;
  min-width: 480px;
  background-color: #f9f9f9;
  margin: 10px auto;
  border: 1px solid #ccc;
  border-radius: 5px;
}

th,
td {
  border: 1px solid black;
  padding: 8px;
  text-align: center;
}

/* Footer is now the Utah Design System <app-footer>, which styles itself. */

@media only screen and (max-width: 1050px) {
  header h1 a.dpslogo img {
    width: 50px;
    height: 50px;
  }

  header h1 a.bcilogo {
    display: none;
  }

  header h1 a.dpstitle {
    float: left;
    left: 80px;
  }
}

@media only screen and (max-width: 700px) {
  form {
    margin: 10px 10px 10px 10px;
  }

  table {
    margin: 10px 10px 10px 10px;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ---- Environment banner (SAK-style sticky bar) ---- */
.env-banner {
  position: sticky;
  top: 0;
  z-index: 99999;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}
.env-banner__inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.env-banner__label {
  white-space: nowrap;
}
.env-banner__host {
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: none;
  opacity: 0.95;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
