/* ====== Base ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, #e0f2fe, #f4f7fb);
  color: #222;
  line-height: 1.7;
}

/* ====== Header ====== */
header {
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
  color: #fff;
  padding: 25px 15px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo (Top Left Corner) */
header img.logo {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  height: 90px;
  width: 90px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  padding: 1px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

/* Company Name + Tagline */
.header-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header-content h1 {
  font-size: 1.9em;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 3px;
  color: #fff;
}

.header-content p {
  font-size: 1em;
  font-weight: 400;
  color: #f1f5ff;
  opacity: 0.95;
  margin-top: 0;
  letter-spacing: 0.5px;
}

/* ====== Verify Container ====== */
.terms-container {
  max-width: 900px;
  background: #ffffff;
  margin: 40px auto;
  padding: 40px 50px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-top: 6px solid #2563eb;
}

/* ====== Page Title ====== */
.page-title {
  text-align: center;
  font-size: 2em;
  color: #1e3a8a;
  margin-bottom: 10px;
}

.updated {
  text-align: center;
  color: #666;
  font-size: 0.9em;
  margin-bottom: 30px;
}

/* ====== Verify Box ====== */
.verify-box {
  background: #f9fbff;
  padding: 30px;
  border-radius: 15px;
  border-left: 4px solid #2563eb;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  margin-bottom: 25px;
}

.verify-box h1 {
  color: #1e40af;
  font-size: 1.5em;
  margin-bottom: 12px;
}

.verify-box p {
  margin-bottom: 18px;
  font-size: 1em;
  color: #333;
}

/* ====== Form Styles ====== */
form {
  display: flex;
  flex-direction: column;
}

form label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #1e3a8a;
}

form label span {
  color: red;
}

form input[type="text"] {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 18px;
  font-size: 1em;
  transition: border 0.2s;
}

form input[type="text"]:focus {
  border-color: #2563eb;
  outline: none;
}

form button {
  padding: 12px;
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
  color: #fff;
  font-size: 1em;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
}

form button:hover {
  background: linear-gradient(90deg, #2563eb, #1e3a8a);
  transform: translateY(-2px);
}

/* ====== Result Box ====== */
.result-box {
  margin-top: 25px;
  text-align: left;
}

.loading {
  color: #2563eb;
  font-weight: 500;
}

.error {
  color: #d32f2f;
  font-weight: 500;
}

.details-card {
  background: #f0f6ff;
  border-left: 5px solid #2563eb;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.details-card h3 {
  color: #1e3a8a;
  margin-bottom: 12px;
}

.details-card p {
  margin: 6px 0;
  font-size: 1rem;
}

/* ====== Footer ====== */
footer {
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
  color: #fff;
  text-align: center;
  padding: 15px 10px;
  font-size: 0.9em;
  letter-spacing: 0.5px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

footer a {
  color: #facc15;
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

/* ===== Responsive Styles (for mobile below 768px) ===== */
@media (max-width: 768px) {

  /* ===== HEADER ===== */
  header {
    position: relative;
    padding: 10px 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  header img.logo {
    position: absolute;
    top: 43%;
    left: 12px;
    transform: translateY(-50%);
    height: 55px;
    width: 55px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    padding: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  }

  .header-content {
    text-align: center;
    padding-left: 60px;
  }

  .header-content h1 {
    font-size: 1.3rem;
    font-weight: 700;
  }

  .header-content p {
    font-size: 0.8rem;
    color: #e0e7ff;
    opacity: 0.95;
  }

  /* ===== CONTAINER ===== */
  .terms-container {
    width: 90%;
    margin: 25px auto;
    padding: 25px 20px;
    border-radius: 15px;
  }

  .page-title {
    font-size: 1.4rem;
  }

  .verify-box {
    padding: 20px;
    border-radius: 10px;
  }

  p, ul li {
    font-size: 0.95rem;
    text-align: left;
  }

  /* ===== FOOTER ===== */
  footer {
    padding: 10px 10px;
    font-size: 0.8rem;
    text-align: center;
  }

  footer a {
    display: inline-block;
    margin: 3px 5px;
  }
}
