/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

 nav a {
  color: white;
 }

 .inter-900 {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}
.inter-800 {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}
.inter-700 {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}
.inter-600 {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}
.inter-500 {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}
.inter-400 {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

/* DEVISE */
.devise input[type="text"], input[type="email"], input[type="password"] {
  background-color: white;
  border: 1px solid black;
  padding: 7px;
  width: 100%;
  border-radius: 3px;
}
.devise .field {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.devise h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}
.devise .actions {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.devise input[type="submit"] {
  background-color: black;
  color: white;
  padding: 1rem;
  padding-left: 2rem;
  padding-right: 2rem;
  border-radius: 5px;
}
.devise input[type="submit"]:hover {
  cursor: pointer;
  background-color:  #333;
  transition: all 0.125s;
}
.devise a {
  color: #2db67d;
}
#admin_remember_me {
  appearance: none;
  position: relative;
  flex-shrink: 0;
  width: 2.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: #d1d5db;
  cursor: pointer;
  transition: background 0.2s;
}

#admin_remember_me::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.3);
  transition: transform 0.2s;
}

#admin_remember_me:checked {
  background: #111827;
}

#admin_remember_me:checked::after {
  transform: translateX(1rem);
}

#admin_remember_me:focus-visible {
  outline: 2px solid #111827;
  outline-offset: 2px;
}
.field:has(#admin_remember_me) {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
}

.field:has(#admin_remember_me) > p {
  margin: 0;
  width: auto;
}

.field:has(#admin_remember_me) > p:empty {
  display: none;
}

.field:has(#admin_remember_me) > label {
  display: inline;
  width: auto;
  margin: 0;
}
/* END DEVISE */