* {
    box-sizing: border-box;
  }
  
  html,
  body {
    margin: 0;
    min-height: 100%;
    background: #1F2222;
    color: #f9fafb;
    font-family: "Oxanium", sans-serif;
  }
  
  body {
    min-height: 100vh;
  }
  
  .login-page {
    min-height: 100vh;
    display: flex;
  }
  
  .login-card {
    width: 100%;
    min-height: calc(100vh - 16px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border: 1px solid #1F2222;
    background: #1F2222;
  }
  
  .login-image {
    position: relative;
    min-height: 100%;
    background-image: url("/images/painting_sky_1.png");
    background-size: cover;
    background-position: center;
  }
  
  .login-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: #1F2222;
  }
  
  .login-form {
    width: 100%;
    max-width: 450px;
  }
  
  .login-form h1 {
    margin: 0 0 28px;
    text-align: center;
    text-transform: uppercase;
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.04em;
  }
  .login-form h1 a {
    color: inherit;
    text-decoration: none;
  }
  
  .login-form h1 a:hover {
    color: inherit;
    text-decoration: none;
    color: #888;
  }
  
  .form-group {
    margin-bottom: 14px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    color: #f9fafb;
  }
  
  .form-group input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    color: #f9fafb;
    background: #1F2222;
    border: 1px solid #f9fafb;
    outline: none;
    font-size: 15px;
  }
  
  .form-group input:focus {
    border-color: #777;
  }
  
  .login-form button {
    width: 100%;
    height: 40px;
    margin-top: 2px;
    border: none;
    background: #f9fafb;
    color: #1F2222;
    font-size: 14px;
    cursor: pointer;
  }
  
  .login-form button:hover {
    background: #ffffff;
  }
  
  .signup-text {
    margin: 26px 0 0;
    text-align: center;
    color: #888;
    font-size: 14px;
  }
  
  .signup-text a {
    color: #f9fafb;
    text-decoration: none;
    font-weight: 600;
  }
  
  .signup-text a:hover {
    text-decoration: underline;
  }

  .login-error {
    display: none;
    margin: 20px 0 0 0;
    color: #f9fafb;
    font-size: 14px;
    text-align: center;
  }
  
  .login-error.is-visible {
    display: block;
  }
  
  @media (max-width: 900px) {
    .login-card {
      grid-template-columns: 1fr;
    }
  
    .login-image {
      min-height: 260px;
    }
  
    .login-panel {
      padding: 48px 24px;
    }
  }
  
  @media (max-width: 520px) {
    .login-card {
      min-height: 100vh;
      border-radius: 0;
      border: none;
    }
  
    .login-image {
      min-height: 220px;
    }
  
    .login-panel {
      align-items: flex-start;
      padding: 42px 20px;
    }
  
    .login-form h1 {
      font-size: 22px;
    }
  }