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

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.register-container {
  width: 90%;
  max-width: 1100px;
  display: flex;
  gap: 40px;

  .image-section {
    flex: 1;
    position: relative;
    border-radius: 30px;
    overflow: hidden;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

  }

  .form-section {
    flex: 1;
    padding: 40px 20px;
    text-align: center;

    h4 {
      margin-bottom: 20px;
      font-weight: 600;
    }

    .switch {
      background: #c6eded;
      display: inline-flex;
      padding: 6px;
      border-radius: 30px;
      margin-bottom: 25px;

      button {
        border: none;
        background: transparent;
        padding: 8px 28px;
        border-radius: 30px;
        cursor: pointer;
        margin: 0 .2em;
        a{
            text-decoration: none;
            color: white;
        }

        &:hover {
          background: #44b7b6;
        }
        &.active {
          background: #44b7b6;
          color: #fff;
        }
      }
    }

    .desc {
      font-size: 14px;
      color: #777;
      margin-bottom: 30px;
    }

    form {
      text-align: left;

      label {
        font-size: 14px;
        display: block;
        margin-bottom: 6px;
      }

      input {
        width: 100%;
        padding: 12px 18px;
        border-radius: 30px;
        border: 1px solid #ccc;
        margin-bottom: 20px;
        outline: none;
      }

      .register-btn {
        display: block;
        margin: auto;
        padding: 12px 60px;
        border-radius: 30px;
        border: none;
        background: #44b7b6;
        color: #fff;
        cursor: pointer;
        a{
            text-decoration: none;
            color: white;
        }

        &:hover {
          background: #3aa5a4;
        }
      }
    }
  }
}

@media (max-width: 768px) {
  .register-container {
    flex-direction: column;
    gap: 20px;
  }

  .image-section {
    height: 220px;
  }

  .form-section {
    padding: 20px 10px;
  }
}

