
  :root {
      --primary-color: #FFB800;
      --text-light: #F1EFEB;
      --bg-dark: rgba(0, 55, 17, 0.76);
      --input-bg: #F1EFEB;
      --text-dark: #00230B;
  }

  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
  }

  body {
      font-family: 'League Spartan', system-ui, sans-serif;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      background-image: url('../img/background.png');
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
  }

  .messages {
    margin: 10px 0;
}

.message {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


  .registration-container {
      background-color: #fff;
      display: flex;
      max-width: 480px;
      width: 100%;
      min-height: 100vh;
      flex-direction: column;
      overflow: hidden;
      margin: 0 auto;
      position: relative;
  }

  .hero-wrapper {
      display: flex;
      flex-direction: column;
      position: relative;
      min-height: 100vh;
      width: 100%;
  }

  .hero-image {
      position: absolute;
      inset: 0;
      height: 100%;
      width: 100%;
      object-fit: cover;
      object-position: center;
  }

  .registration-content {
      position: relative;
      background-color: var(--bg-dark);
      display: flex;
      width: 100%;
      min-height: 100vh;
      padding: 0 1rem 1rem;
      flex-direction: column;
      align-items: center;
  }

  .brand-container {
      margin: 4rem 0;
      display: flex;
      align-items: center;
      gap: 1rem;
  }

  .brand-text {
      color: var(--primary-color);
      font-size: 4rem;
      font-weight: 800;
  }

  .form-title {
      color: var(--text-light);
      font-size: 1.5rem;
      margin-bottom: 1.5rem;
  }

  .registration-form {
      width: 100%;
      max-width: 320px;
      display: flex;
      flex-direction: column;
      gap: 1rem;
  }

  .registration-section{
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .form-input,
  .password-input-wrapper {
      border-radius: 10px;
      background-color: var(--input-bg);
      width: 100%;
      height: 45px;
      padding: 0.8125rem;
      font-size: 0.9375rem;
      border: 2px solid transparent;
      transition: border-color 0.2s ease;
  }

  .password-input-wrapper {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.5rem 0.8125rem;
  }

  .password-input {
      flex: 1;
      border: none;
      background: none;
      height: 100%;
      color: var(--text-dark);
      font-size: 0.9375rem;
  }

  .password-toggle {
      background: none;
      border: none;
      padding: 0.25rem;
      cursor: pointer;
      display: flex;
      align-items: center;
  }

  .submit-button {
      background-color: var(--primary-color);
      color: var(--text-dark);
      border: none;
      border-radius: 10px;
      height: 45px;
      font-size: 1rem;
      font-weight: 500;
      cursor: pointer;
      transition: transform 0.2s ease, opacity 0.2s ease;
      margin-top: 1rem;
  }

  .logo-container {
    margin: clamp(2rem, 10vh, 4rem) 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .logo-text {
    color: var(--primary-color);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
  }

  .logo-image {
    width: 5.5rem;
    height: auto;
  }
  .login-prompt {
      color: var(--text-light);
      margin-top: 1.25rem;
      font-size: 0.875rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      justify-content: center;
  }

  .login-link {
      color: var(--text-light);
      font-weight: 700;
      text-decoration: none;
      transition: opacity 0.2s ease;
  }

  .login-link:hover,
  .login-link:focus {
    opacity: 0.8;
    text-decoration: underline;
  }
  .bottom-indicator {
      width: 139px;
      height: 5px;
      background-color: var(--text-light);
      border-radius: 27px;
      margin-top: auto;
  }

  .visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
  }

  @media (min-width: 768px) {
      .registration-content {
          padding: 0 2rem 2rem;
      }
      .registration-form {
          max-width: 360px;
      }
  }

  @media (min-width: 480px) {
      .registration-container {
          border-radius: 2rem;
      }
  }

  @media (max-width: 480px) {
      .brand-container {
          padding-top: 5rem;
      }
  }

  @media (min-height: 1024px) {
    .registration-content {
      padding: 0 2rem 2rem;
      height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      padding-bottom: 5rem;
    }

  }

  @media (prefers-reduced-motion: reduce) {
      .submit-button,
      .login-link,
      .form-input,
      .password-input-wrapper {
          transition: none;
      }
  }

  @media (hover: none) {
      .submit-button:hover {
          opacity: 1;
      }
  }

  input:focus,
  button:focus {
      outline: 2px solid var(--primary-color);
      outline-offset: 2px;
  }

  .form-input:focus,
  .password-input-wrapper:focus-within {
      border-color: var(--primary-color);
  }