/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: #f9fafb;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.container {
  width: 100%;
  max-width: 28rem;
}

.card {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* Header styles */
.header {
  padding: 1.5rem;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.logo {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.battery-icon {
  height: 2rem;
  width: 2rem;
  color: #2563eb;
}

.header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
}

.subtitle {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Form styles */
.form-container {
  padding: 1.5rem;
}

.form-container h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.notification {
  background-color: #ecfdf5;
  border: 1px solid #d1fae5;
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.notification.hidden {
  display: none;
}

.check-icon {
  color: #10b981;
  margin-right: 0.75rem;
  margin-top: 0.125rem;
}

.notification-title {
  color: #065f46;
  font-weight: 500;
}

.notification-message {
  color: #047857;
  font-size: 0.875rem;
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.25rem;
}

.input-container {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}

input {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #1f2937;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.password-hint {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #6b7280;
}

button {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0.625rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
  background-color: #2563eb;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
  margin-top: 0.5rem;
}

button:hover {
  background-color: #1d4ed8;
}

button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

button.submitting {
  opacity: 0.7;
  cursor: not-allowed;
}

.sign-in-link {
  margin-top: 1.5rem;
  text-align: center;
}

.sign-in-link p {
  font-size: 0.875rem;
  color: #4b5563;
}

.sign-in-link a {
  font-weight: 500;
  color: #2563eb;
  text-decoration: none;
}

.sign-in-link a:hover {
  color: #1d4ed8;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .container {
    max-width: 100%;
  }
}