/* Devise Login Page Styles */

.devise-login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9fafb;
}

.devise-login-card {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  margin: 0 1rem;
}

.devise-logo {
  text-align: center;
  margin-bottom: 1.5rem;
}

.devise-logo img {
  height: 3rem;
  width: auto;
  display: inline-block;
}

.devise-title {
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  color: #111827;
  margin-bottom: 1.5rem;
}

/* OAuth Button Styling */
.oauth-buttons {
  margin-bottom: 1.5rem;
}

.button_to {
  margin: 0 0 0.75rem 0;
  width: 100%;
}

.oauth-button-form {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  background: white;
  cursor: pointer;
}

.oauth-button-form:hover {
  background: #f9fafb;
}

.oauth-button-form svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* Divider */
.devise-divider {
  position: relative;
  margin: 1.5rem 0;
}

.devise-divider-line {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.devise-divider-line > div {
  width: 100%;
  border-top: 1px solid #e5e7eb;
}

.devise-divider-text {
  position: relative;
  display: flex;
  justify-content: center;
}

.devise-divider-text span {
  padding: 0 1rem;
  background: white;
  font-size: 0.875rem;
  color: #6b7280;
}

/* Form Styles */
.devise-form-group {
  margin-bottom: 1rem;
}

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

.devise-input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  box-sizing: border-box;
}

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

.devise-submit {
  width: 100%;
  padding: 0.625rem 1rem;
  background: #3b82f6;
  color: white;
  font-weight: 500;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
}

.devise-submit:hover {
  background: #2563eb;
}

.devise-footer-link {
  margin-top: 1.5rem;
  text-align: center;
}

.devise-footer-link a {
  font-size: 0.875rem;
  color: #3b82f6;
  text-decoration: none;
}

.devise-footer-link a:hover {
  color: #2563eb;
}
