* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Microsoft JhengHei', 'PingFang TC', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #fff;
  background: #1e1e1e;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.container {
  display: flex;
  width: 800px;
  height: 500px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 1rem;
  overflow: hidden;
}
.container .left-content {
  width: 60%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.container .left-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.container .right-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40%;
  height: 100%;
}
.container .right-content .company-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.container .right-content .company-header .company-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 65px;
  height: 65px;
  border-radius: 5rem;
  background: linear-gradient(135deg, #d5af73, #9d7543);
}
.container .right-content .company-header .company-logo img {
  width: 75%;
  height: 75%;
}
.container .right-content .company-header .company-info {
  display: flex;
  flex-direction: column;
  padding: 0 0.5rem 0;
}
.container .right-content .company-header .company-info h1.company-name {
  font-size: 1.8rem;
  line-height: 30px;
  color: #173241;
  border-radius: 5rem;
  margin: 0;
  padding: 0;
}
.container .right-content .company-header .company-info p {
  font-size: 1rem;
  color: #666;
  margin: 0;
  padding: 0;
  text-align: left;
  letter-spacing: 0.1em;
  word-spacing: 0.2em;
}
.footer {
  text-align: center;
  padding: 1rem;
}
.footer p {
  margin: 0;
  color: #6c757d;
  font-size: 0.9rem;
}
.form-container {
  width: 80%;
  margin-top: 1rem;
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.9rem;
  color: #173241;
  font-weight: 500;
}
.form-group input {
  padding: 0.75rem 1rem;
  border: 2px solid #ecf0f1;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.form-group input:focus {
  outline: none;
  border-color: #9d7543;
  box-shadow: 0 0 0 3px rgba(157,117,67,0.1);
}
.form-group input::placeholder {
  color: #999;
}
.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.form-actions button {
  flex: 1;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}
.form-actions .btn-login {
  background: linear-gradient(135deg, #d5af73, #9d7543);
  color: #fff;
}
.form-actions .btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(157,117,67,0.3);
}
.form-actions .btn-register {
  background: transparent;
  color: #9d7543;
  border: 2px solid #9d7543;
}
.form-actions .btn-register:hover {
  background: #9d7543;
  color: #fff;
}
.container .right-content p {
  color: #9d7543;
  margin-top: 1rem;
}
@media (max-width: 768px) {
  body {
    height: auto;
    min-height: 100vh;
  }
  .container {
    width: 95%;
    max-width: 400px;
    height: auto;
    min-height: 500px;
    flex-direction: column;
  }
  .container .left-content {
    display: none;
  }
  .container .right-content {
    width: 100%;
    height: 100%;
    padding: 2rem 1.5rem 2.5rem;
    justify-content: flex-start;
  }
  .container .right-content .company-header {
    margin-bottom: 0.5rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .container .right-content .company-header .company-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
  }
  .container .right-content .company-header .company-info {
    padding-left: 0;
    padding: 0;
    text-align: center;
  }
  .container .right-content .company-header .company-info h1.company-name {
    font-size: 2rem;
  }
  .container .right-content .company-header .company-info p.company-slogan {
    width: 100%;
    display: flex;
    margin-top: 0.5rem;
    font-size: 1rem;
    justify-content: center;
    letter-spacing: 0.5rem;
    word-spacing: 0em;
    padding-left: 0.5rem;
    align-content: center;
  }
}
