/* ================================
   Google Font Import & Inheritance
   ================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700&display=swap');

html {
  font-family: 'Barlow', Arial, sans-serif;
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}

input, button, textarea, select {
  font-family: inherit;
  font-weight: 300;
}
input::placeholder,
textarea::placeholder {
  font-family: inherit;
  font-weight: 300;
  color: #bbb;
}
/* Cross-browser placeholder support */
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  font-family: inherit;
  font-weight: 300;
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  font-family: inherit;
  font-weight: 300;
}


/* ================================
   General Layout & Body
   ================================ */

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  color: #ffffff;
  background: radial-gradient(circle, rgba(55,69,103,1) 40%, rgba(27,27,28,1) 100%);
  background-size: cover;
  background-attachment: fixed;
}

.site-main-content {
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
}


/* ================================
   Header & Footer
   ================================ */

.header-container {
  background: rgba(27, 27, 28, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 20px;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
}

.header-content-wrapper {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
}

.title-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  height: 30px;
  width: auto;
}

.site-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  color: #ededed;
  text-align: center;
  padding: 20px;
  font-size: 0.75em;
  box-sizing: border-box;
  font-weight: 200;
}


/* ================================
   Typography & Links
   ================================ */

.page_title {
  font-size: 1.5em;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2rem;
}

a {
  color: #0497E7;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #037ac0;
  text-decoration: underline;
}


/* ================================
   Forms (Login)
   ================================ */

.password-login-form {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.password-login-form input[type="email"],
.password-login-form input[type="text"] {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 0rem;
  border-radius: 4px;
  border: 1px solid #444;
  background-color: #333;
  color: #fff;
  font-size: 1em;
}

.password-login-form input[type="submit"] {
  width: 100%;
  padding: 12px;
  font-size: 1em;
  font-weight: bold;
  border-radius: 4px;
  border: none;
  background-color: #0497E7;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.password-login-form input[type="submit"]:hover {
  background-color: #037ac0;
}

.error-text {
  color: #e74c3c;
  margin-bottom: 15px;
}

.login-container {
  background: rgba(20, 24, 34, 0.80);
  border-radius: 18px;
  padding: 10px 34px 30px 34px;
  box-shadow: 0 8px 28px 0 rgba(0,0,0,0.15);
  margin: 0 auto;
  min-width: 340px;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.4s;
}


/* ================================
   Job Status Display
   ================================ */

.job-and-actions-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  gap: 0;
}

.job-container {
  background: rgba(20, 24, 34, 0.70);
  border-radius: 18px;
  padding: 38px 50px 34px 50px;
  box-shadow: 0 8px 28px 0 rgba(0,0,0,0.16);
  max-width: 800px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-left: 48px;
  position: relative;
  transition: box-shadow 0.4s;
}

.action-buttons-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-left: 24px;
  margin-top: 4px;
}

.job-heading h1,
.job-item-name {
  font-size: 2em;
  font-weight: 600;
  margin-bottom: 0.25em;
  margin-top: 0;
}

.job-estimate-number {
  font-size: 1.2em;
  color: #ccc;
  margin-top: 0;
  font-weight: 300;
}

.status-section {
  margin-top: 2.5rem;
}

.status-display {
  font-size: 2.5em;
  font-weight: bold;
  color: #0497E7;
  margin-top: 0.1rem;
  text-transform: uppercase;
  margin-bottom: 0; /* Add this line */
}

.timestamp {
  font-size: 0.8rem;      /* Makes the text small */
  color: #aaa;           /* A soft, light gray color */
  font-weight: 300;       /* A lighter font weight */
  margin-top: 4px;        /* Adds just a tiny bit of space above it */
  text-transform: none;   /* Ensures it's not uppercase */
}

.status-description-section {
  margin-top: 0.5rem;
}

.status-description-text {
  font-size: 1.3em;
  color: #ddd;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}


/* ================================
   Buttons (Circular)
   ================================ */

.fun-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #0497E7;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  font-size: 1.1em;
  border: 2px solid #0497E7;
  color: #fff;
  cursor: pointer;
  outline: none;
  margin: 0 2px;
  text-decoration: none;
  transition: box-shadow 0.18s;
  will-change: transform;
  position: relative;
}

.fun-button::after {
  content: attr(data-label);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  position: absolute;
  left: 110%;
  top: 50%;
  transform: translateY(-50%) scale(0.95);
  background: rgba(20, 24, 34, 0.30);
  color: #fff;
  font-size: 0.98em;
  padding: 7px 14px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.20);
  z-index: 10;
  margin-left: 10px;
}

.fun-button span,
.fun-button:visited,
.fun-button:focus {
  text-decoration: none !important;
}

.fun-button:hover::after,
.fun-button:focus::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.fun-button:hover,
.fun-button:focus {
  animation: fun-spin 1s cubic-bezier(.47,1.64,.41,.8) 1;
  text-decoration: none;
}

.fun-button:active {
  animation: none;
}

@keyframes fun-spin {
  0% { transform: rotateY(0deg);}
  100% { transform: rotateY(360deg);}
}


/* ================================
   Job Display Cleanup (Hides)
   ================================ */

.status-display-wrapper,
.job-title,
.status-label,
.status-text,
.lookup-another-link {
  display: none !important;
}


/* ================================
   Modal: Tech Tip Overlay
   ================================ */

.tip-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,24,34,0.80);
  justify-content: center;
  align-items: center;
}

.tip-modal-content {
  background: #23273a;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 20px #0006;
  padding: 34px 28px;
  max-width: 340px;
  text-align: center;
  position: relative;
  font-size: 1.13em;
}

.tip-close-btn {
  position: absolute;
  top: 8px;
  right: 14px;
  color: #fff;
  font-size: 1.7em;
  cursor: pointer;
  transition: color 0.2s;
}
.tip-close-btn:hover {
  color: #0497E7;
}


/* ================================
   Button: Continue State
   ================================ */

#continueBtn {
  position: relative;
  overflow: hidden;
  transition: background-color 0.2s, color 0.2s;
}

#continueBtn.loading {
  color: #fff;
  background-color: #037ac0;
}