/*
 * 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.
 */

.flash-message {
  margin: 0;
  padding: 12px 16px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
}

.flash-notice {
  background-color: rgba(7, 179, 155, 0.15);
  color: #03695c;
}

.flash-alert {
  background-color: rgba(239, 78, 123, 0.15);
  color: #a3265a;
}

.auth-nav {
  position: sticky;
  top: 0;
  z-index: 2000;
  width: 100%;
  border-bottom: 1px solid #e8eaed;
  background: #ffffff;
}

.auth-nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-nav__brand {
  color: #111827;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.auth-nav__links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-nav__link {
  color: #4b5563;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

.auth-nav__link:hover {
  color: #111827;
  background-color: #f3f4f6;
}

.auth-nav__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-nav__email {
  color: #6b7280;
  font-size: 0.85rem;
}

.auth-nav__logout-form {
  margin: 0;
}

.auth-nav__logout-button {
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  background: #111827;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.auth-nav__logout-button:hover {
  background: #1f2937;
}

@media (max-width: 740px) {
  .auth-nav__inner {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .auth-nav__links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .auth-nav__email {
    display: none;
  }
}
