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

body {
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: #f5f5f5;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 100%;
  height: 100vh;
  display: flex;
  background-color: #ffffff;
  overflow: hidden;
  position: relative;
}

.left-side {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://images.unsplash.com/photo-1505118380757-91f5f5632de0?q=80&w=2026&auto=format&fit=crop") no-repeat center center / cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 10%;
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.decorative-circle.top-circle {
  position: absolute;
  top: 35%;
  left: 30%;
  width: 150px;
  height: 150px;
  background-color: #1a1a1a;
  border-radius: 50%;
  z-index: 2;
}

.decorative-lines.bottom-lines {
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  z-index: 2;
}

.line-circle {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  bottom: 0;
  left: 0;
}

.line-1 {
  width: 100%;
  height: 100%;
}

.line-2 {
  width: 80%;
  height: 80%;
  bottom: 10%;
  left: 10%;
}

.line-3 {
  width: 60%;
  height: 60%;
  bottom: 20%;
  left: 20%;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 40%;
  margin-left: 5%;
}

.hero-content h1 {
  color: #ffffff;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.right-side {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 5;
  mask-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 100 100' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'><path d='M 20 0 L 100 0 L 100 100 L 20 100 C 40 80, 0 60, 20 40 C 40 20, 0 10, 20 0 Z' fill='black'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 100 100' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'><path d='M 20 0 L 100 0 L 100 100 L 20 100 C 40 80, 0 60, 20 40 C 40 20, 0 10, 20 0 Z' fill='black'/></svg>");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  padding-left: 10%;
}

.menu-icon {
  position: absolute;
  top: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-icon span {
  display: block;
  height: 3px;
  background-color: #1a1a1a;
  border-radius: 3px;
}

.menu-icon span:nth-child(1) {
  width: 30px;
}

.menu-icon span:nth-child(2) {
  width: 20px;
  margin-left: auto;
}

.menu-icon span:nth-child(3) {
  width: 30px;
}

.login-container {
  width: 100%;
  max-width: 400px;
  padding: 0 20px;
  z-index: 10;
}

.header {
  margin-bottom: 40px;
}

.header h2 {
  font-size: 48px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.1;
  letter-spacing: -1px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.input-group input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  color: #1a1a1a;
  transition: border-color 0.3s;
}

.input-group input:focus {
  outline: none;
  border-color: #1a1a1a;
}

.input-group input::placeholder {
  color: #9e9e9e;
}

.password-input-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #9e9e9e;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.toggle-password:hover {
  color: #1a1a1a;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
  margin-bottom: 10px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #1a1a1a;
  cursor: pointer;
}

.remember-me input {
  display: none;
}

.checkmark {
  width: 16px;
  height: 16px;
  border: 1px solid #1a1a1a;
  border-radius: 4px;
  position: relative;
}

.remember-me input:checked ~ .checkmark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #1a1a1a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.forgot-password {
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
}

.btn-primary {
  background-color: #1a1a1a;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 10px;
}

.btn-primary:hover {
  background-color: #333333;
}

.login-feedback {
  font-size: 12px;
  line-height: 1.5;
  color: #6f6f6f;
  min-height: 18px;
  margin-top: -8px;
}

.login-feedback.is-success {
  color: #1e8f5b;
}

.login-feedback.is-error {
  color: #b33a4a;
}

.login-feedback.is-busy {
  color: #355ad2;
}

.decorative-circle.bottom-right-circle {
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-color: #1a1a1a;
  border-radius: 50%;
  z-index: 1;
}

.circle-lines {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 340px;
  height: 340px;
}

.c-line {
  position: absolute;
  border: 1px solid #1a1a1a;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.c-line-1 {
  width: 100%;
  height: 100%;
}

.c-line-2 {
  width: 110%;
  height: 110%;
}

.c-line-3 {
  width: 120%;
  height: 120%;
}

@media (max-width: 900px) {
  .container {
    display: block;
  }

  .left-side {
    position: relative;
    width: 100%;
    height: 40vh;
    padding: 20px;
    justify-content: center;
  }

  .hero-content {
    max-width: 90%;
    margin-left: 0;
  }

  .right-side {
    position: relative;
    width: 100%;
    height: 60vh;
    padding-left: 0;
    mask-image: none;
    -webkit-mask-image: none;
    border-radius: 30px 30px 0 0;
    margin-top: -30px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-subtitle {
    margin-top: 14px;
    font-size: 11px;
    letter-spacing: 0.22em;
  }
}
