/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

body {
  color: #3e3e3e;
  margin: 0;
  padding: 0;
  letter-spacing: -0.25px;
}

:root {
  font-family: "Inter", sans-serif;
  font-feature-settings:
    "liga" 1,
    "calt" 1; /* fix for Chrome */
}

@supports (font-variation-settings: normal) {
  :root {
    font-family: InterVariable, sans-serif;
  }
}

#errorBanner,
#successBanner {
  padding: 1rem;
  margin: 0.75rem;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  position: absolute;
  align-items: center;
  z-index: 1300;
  width: -webkit-fill-available;
  width: -moz-available;
}

#errorBanner {
  background-color: #fdeded;
  color: #5f2120;
}

#successBanner {
  background-color: #edf7ed;
  color: #1e4620;
}

.container {
  display: flex;
}

.close {
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.material-symbols-outlined.success {
  color: #2e7d32;
  margin-right: 12px;
  font-size: 22px !important;
}

.material-symbols-outlined.close {
  font-size: 20px !important;
}

.material-symbols-outlined.error {
  color: #d32f2f;
  margin-right: 12px;
  font-size: 22px !important;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.fade-out {
  animation: fadeOut 0.5s forwards;
}

.devise-page {
  width: 100vw;
  height: 100vh;
  background: #ffffff;
}

.devise-form {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 480px;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  padding: 0 20px;
}

.form {
  background: #fafafa;
  margin: 0 auto;
  padding: 40px 40px 25px 40px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid #e6e6e6;
}

.form h1 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.welcome-text {
  color: #6b7280;
  font-size: 16px;
  margin: 0 0 32px 0;
}

.field {
  text-align: left;
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.form input {
  font-size: 16px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #ffffff;
  margin: 0;
  box-sizing: border-box;
}

.form input:focus {
  outline-color: #646464;
}

.form input::placeholder {
  color: #9ca3af;
}

.actions {
  margin-top: 32px;
}

.actions input[type="submit"] {
  width: 100%;
  padding: 12px;
  background: #646464;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.actions input[type="submit"]:hover {
  background: #8a8a8a;
}

.link {
  margin-top: 24px;
}

.subsequent-link {
  margin-top: 8px;
}

.login-link {
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.login-link:hover {
  text-decoration: underline;
}

.devise-links a {
  color: #868686;
}
