/* ============================================================
   Global / Reset
============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background: #f3f4f6;
  color: #111827;
}

/* ============================================================
   Top Nav
============================================================ */

/* Wrapper */
.su-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 7vw;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
}

/* Logo + brand */
.su-nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.su-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
}

.su-logo {
  width: 30px;
  height: 30px;
}

.su-brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: #111827 !important; /* Always black */
}

/* Right side nav links */
.su-nav a,
.su-nav a:visited,
.su-nav a:active {
  color: #4b5563 !important;    /* Clean gray */
  text-decoration: none !important;
  font-weight: 500;
}

.su-nav a:hover {
  color: #111827 !important;   /* Darker hover */
}


/* ============================================================
   Page Layout
============================================================ */
.su-main {
  min-height: calc(100vh - 150px);
  display: flex;
  justify-content: center;
  padding: 40px 16px 60px;
}

.su-card.beautiful-card {
  max-width: 480px;
  width: 100%;
  background: #ffffff;
  border-radius: 22px;
  padding: 36px 32px 42px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.10);
  border: 1px solid #e5e7eb;
}

/* ============================================================
   Heading & Subtext
============================================================ */
.su-title {
  font-size: 1.95rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 10px;
  line-height: 1.25;
}

.su-subtext {
  margin: 0 0 28px;
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.45;
}

/* ============================================================
   Form Fields
============================================================ */
.clean-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.su-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
  font-weight: 600;
}

.su-field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
  outline: none;
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.su-field input:focus {
  border-color: #ff7a1a;
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.25);
}

/* ============================================================
   Password Group (icon inside input)
============================================================ */
.password-group {
  position: relative;
}

.password-group input {
  padding-right: 44px;
}

.eye-btn {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.eye-btn img {
  width: 22px;
  opacity: 0.65;
}

.eye-btn:hover img {
  opacity: 1;
}

/* ============================================================
   Terms Row
============================================================ */
.terms-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 0.9rem;
}

.terms-row input {
  width: 16px;
  height: 16px;
}

.terms-row a {
  color: #ff7a1a;
}

/* ============================================================
   Submit Button
============================================================ */
.su-btn-main {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 600;
  background: #ff7a1a;
  color: white;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 12px 25px rgba(255, 122, 26, 0.35);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.su-btn-main:hover {
  background: #e76810;
}

.su-btn-main:active {
  transform: translateY(1px);
}

/* ============================================================
   Status Message
============================================================ */
.su-status {
  margin-top: 10px;
  font-size: 0.9rem;
  min-height: 1em;
  text-align: center;
}

.su-status--error {
  color: #b91c1c;
}

.su-status--success {
  color: #15803d;
}

/* ============================================================
   Sign-in Link
============================================================ */
.su-signin-link {
  text-align: center;
  margin-top: 18px;
  font-size: 0.92rem;
}

.su-signin-link a {
  color: #ff7a1a;
  font-weight: 600;
}

/* ============================================================
   Footer
============================================================ */
.su-footer {
  padding: 20px 7vw 24px;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #6b7280;
}

/* ============================================================
   Responsive
============================================================ */
@media (max-width: 480px) {
  .su-card.beautiful-card {
    padding-inline: 22px;
  }

  .su-title {
    font-size: 1.7rem;
  }
}
