/* Devise Authentication Styles - WCAG 2.1 AA Compliant */

/* Sign In Page Container */
.devise-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7FB3D5 0%, #8FD5A6 100%);
  padding: 20px;
}

.devise-card {
  background-color: white;
  padding: 48px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  max-width: 420px;
  width: 100%;
}

/* Brand/Logo Section */
.devise-brand {
  text-align: center;
  margin-bottom: 32px;
}

.devise-brand-title {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #2C3E50;
  margin: 0 0 8px 0;
}

.devise-brand-subtitle {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #5A6C7D;
  margin: 0;
}

/* Form Fields */
.devise-field {
  margin-bottom: 20px;
}

.devise-label {
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #2C3E50;
  margin-bottom: 8px;
}

.devise-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #E0E0E0;
  border-radius: 6px;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.devise-input:focus {
  outline: none;
  border-color: #2563EB !important; /* Updated for WCAG contrast */
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

/* Remember Me Checkbox */
.devise-remember {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

.devise-remember-checkbox {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.devise-remember-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #5A6C7D;
  cursor: pointer;
  margin: 0;
}

/* Submit Button */
.devise-submit {
  width: 100%;
  background-color: #2563EB; /* Updated for WCAG contrast */
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
  margin-bottom: 20px;
}

.devise-submit:hover {
  background-color: #1E40AF; /* Darker shade for hover */
}

/* Links Section */
.devise-links {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #E0E0E0;
}

.devise-link {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #2563EB; /* Updated for WCAG contrast */
  text-decoration: none;
}

.devise-link:hover {
  text-decoration: underline !important;
}
