/* Unified DocumAI styles */



   body {
  margin: 0;
  padding: 0;
  background: #f3f4f6;
  font-family: 'Segoe UI', system-ui, Arial, sans-serif;
  color: #333;
  min-height: 100vh;
}


    header {
      background: linear-gradient(135deg, #2563eb, #1d4ed8);
      color: white;
      padding: 60px 20px;
      text-align: center;
    }
    header h1 {
      color: white;
      font-size: 2.2rem;
      margin-bottom: 10px;
    }
    header p {
      font-size: 1.1rem;
      max-width: 800px;
      margin: auto;
    }
    section {
      max-width: 1000px;
      margin: 40px auto;
      padding: 0 20px;
    }
    h2 {
      color: #1e3a8a;
      margin-bottom: 10px;
    }
    ul {
      padding-left: 20px;
    }
    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
      margin-top: 20px;
    }
    .feature-card {
      background: white;
      border-radius: 8px;
      padding: 20px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }
    .feature-card h3 {
      margin-top: 0;
      color: #2563eb;
    }
    .cta-buttons {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin: 50px 0;
    }
    .btn-primary, .btn-secondary {
      padding: 12px 24px;
      border-radius: 6px;
      font-size: 1rem;
      text-decoration: none;
      font-weight: bold;
    }
    .btn-primary {
      background: #2563eb;
      color: white;
    }
    .btn-secondary {
      background: #f3f4f6;
      color: #1f2937;
      border: 1px solid #d1d5db;
    }
    footer {
      background: #1f2937;
      color: #9ca3af;
      text-align: center;
      padding: 20px;
      font-size: 0.9rem;
    }




.container, .login-box {
  background: white;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  max-width: 350px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

@media (max-width: 500px) {
  .container, .login-box {
    padding: 1rem;
    margin: 1rem auto;
    max-width: 98vw;
  }
}

@media (max-width: 400px) {
  .container, .login-box {
    padding: 0.5rem;
    margin: 0.5rem auto;
    max-width: 100vw;
  }
}

@media (min-width: 700px) {
  .container {
    max-width: 800px;
    text-align: center;
  }
}

h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #111827;
  text-align: center;
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.field-group {
  position: relative;
  margin-bottom: 0.8rem;
  text-align: left;
}

.field-group input,
.field-group select {
  width: 100%;
  padding: 0.8rem 0.75rem 0.4rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #f9fafb;
  font-size: 1rem;
  color: #111827;
  appearance: none;
  box-sizing: border-box;
}

.field-group label {
  position: absolute;
  left: 0.75rem;
  top: 0.4rem;
  color: #6b7280;
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.2s ease;
  background: white;
  padding: 0 0.25rem;
}

.field-group input:focus + label,
.field-group input:not(:placeholder-shown) + label,
.field-group select:focus + label,
.field-group select:valid + label {
  top: -0.5rem;
  left: 0.6rem;
  font-size: 0.75rem;
  color: #2563eb;
}

.remember-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #374151;
  margin-bottom: 1.5rem;
  text-align: left;
}

button, .cta-buttons a {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.5rem;
}

button:hover, .cta-buttons a:hover {
  background-color: #2563eb;
}

.cta-buttons {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #6b7280;
  min-height: 1.2em;
  text-align: center;
}

