/* Unified DocumAI styles */

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

.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;
}

@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: 93%;
  padding: 0.8rem 0.75rem 0.4rem; 
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #f9fafb;
  font-size: 1rem;
  color: #111827;
  appearance: none;
}
.field-group select{
  width: 100%;
}

.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:not([value=""]) + 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;
}

