<style>
    * {
      box-sizing: border-box;
    }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  background: black;
  background-image: url('../images/bg.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;           
    }

  .logo {
  margin-top: 80px;  /* push logo+container down */
  margin-bottom: 20px;
  text-align: center;
   }

.logo img {
  max-width: 550px;
  width: 100%;
  height: auto;
}

.container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  background: none;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.image-box,
.input-box {
  flex: 1 1 300px;
  max-width: 100%;
  box-sizing: border-box;
}
    .image-box {
      flex: 1;
      padding-top: 30px;    
      position: relative;
      overflow: hidden;
      border: none;
      border-radius: 8px;
      background: transparent;
     
    }

    .slider {
      display: flex;
      transition: transform 0.5s ease-in-out;
      width: 100%;
    }

    .slide {
      min-width: 100%;
    }

    .slide img {
      width: 100%;
      height: auto;
      border-radius: 8px;
    }

    .input-box {
      flex: 1;
      padding: 32px;
      border: 1px solid #ddd;
      border-radius: 10px;
      background: #ebebeb;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .input-box h2 {
      margin: 0 0 10px 0;
      font-size: 24px;
      color: #5caff3;    
      text-align: left;
    }

    .input-box label {
      margin-bottom: 4px;
      font-weight: 600;
      font-size: 13px;    
      color: #ea59be;    
    }

    .input-box input[type="text"],
    .input-box input[type="password"] {
      width: 93%;
      padding:15px 0 15px 20px;
      border: 1px solid #2b2b2b;
      border-radius: 10px;
      
    }

    .input-box button {
      padding:15px 0 15px 0px;
      background-color: purple;
      color: white;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      width: 100%;
      font-size: 16px;
      margin-top: 10px;
    }

    .extras {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 10px;
    }

    .extras label {
      display: flex;
      align-items: center;
      font-size: 14px;
      color: #6f42c1;    
    }

    .extras input[type="checkbox"] {
      margin-right: 5px;
    }

    .extras a {
      text-decoration: none;
      font-size: 14px;
      color: #007bff;
    }

    .signup {
      margin-top: 20px;
      text-align: center;
      font-size: 14px;
    }

    .signup a {
      color: #007bff;
      text-decoration: none;
      font-weight: bold;
    }

    @media (max-width: 768px) {
      .container {
    flex-direction: column;
    align-items: center;
  }

   .input-box {
    order: 1;
    width: 100%;
  }

  .image-box {
    order: 2; /* 👈 this moves it BELOW input box */
    width: 100%;
  }
  </style>