* { box-sizing: border-box; margin: 0; padding: 0; }

.authentication-body {
  min-height: 100vh;
  background: #f8f9fa;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: system-ui, -apple-system, sans-serif;
}

.authentication-card {
  width: 100%;
  max-width: 320px;
  text-align: center;
  padding: 20px;
}

/* Top-level page wrapper */
.driver-sign-in-page {
  position: relative;
  width: 100%;
  min-height: 50vh;
  overflow: hidden;
}

/* Center the container absolutely within the page */
.driver-sign-in-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px; /* responsive gutter */
  box-sizing: border-box;
}

/* The blue sign-in card */
.driver-sign-in {
  display: flex;
  flex-direction: column;
  align-items: center;        /* This centers the logo + form */
  gap: 20px;                  /* Space between elements */
  width: 100%;
  max-width: 800px;
  background-color: #2E50EC; /* DriveWaze blue */
  padding: 40px 50px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  text-align: center;
}
/* wider layout for big displays */
@media (min-width: 1200px) {
  .driver-sign-in {
    max-width: 900px;
  }
}

/* Logo */
.driver-logo {
  width: 250px;
  max-width: 250px;
  max-height: 90px;
  margin: 0px 10px 10px 20px;
  display: block;
  align-self: center !important;

}

/* Welcome + Badge */
.welcome-header {
  display: flex;
  flex-direction: column;
  align-self: left !important;
  margin-bottom: 5px;
}


.form-field {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 15px;
}

.welcome-text {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.badge-label {
  color: white;
  font-size: 1.2rem;
  font-weight: 500;
}

/* Input */
.text-field.badge-number-field {
  padding: 8px 10px;
  border-radius: 6px;
  border: none;
  width: 220px;
  font-size: 1rem;
  text-align: center;
  outline: none;
  margin: 0 auto;
}

/* Button */
.driver-submit-wrapper {
  margin-top: 20px;
  align-items: center;
  text-align: center !important;
}

.driver-submit {
  background-color: #fbaa15;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.driver-submit:hover {
  background-color: #e89b12;
}

.driver-login-disclaimer {
  margin-top: 1.2rem;
  padding: 0.8rem 1rem;
  background: #ffecec;          /* light red background */
  border: 1px solid #f5c2c7;    /* soft red border */
  border-left-width: 4px;       /* alert-style left accent */
  border-left-color: #cc0000 !important;
  border-radius: 8px;

  font-size: 0.7rem;
  color: black !important;
  font-weight: 400;
  line-height: 1.4;

  
  text-align: left !important;  /* override any parent center */
  width: 100%;
  max-width: 800px;
}


.driver-login-disclaimer p {
  margin: 0;
  text-align: left !important;
}

.driver-login-disclaimer strong {
  color: #cc0000;
  font-weight: 700;
}
