* {
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}
body {
  background: linear-gradient(to right, #f78da7, #ffb98b);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.container {
  display: flex;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  width: 960px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.login-box {
  width: 50%;
  padding: 40px;
}
.logo {
  width: 250px;
  margin: 20px 0px 30px 70px;
}
.subtitle {
  text-transform: uppercase;
  font-size: 12px;
  margin-top: 10px;
}
.multirule {
  background: #555;
  color: #fff;
  font-size: 10px;
  padding: 4px 10px;
  display: inline-block;
  border-radius: 8px;
  margin-top: 5px;
}
.login-title {
  margin: 30px 0 10px;
  font-weight: bold;
  justify-content: center;
  margin-left: 40px;
}
.input-group {
  position: relative;
  margin-bottom: 20px;
}
.input-group input {
  width: 100%;
  padding: 12px 40px 12px 40px;
  border: 1px solid #ccc;
  border-radius: 8px;
}
.input-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 18px;
}
.toggle-password {
  position: absolute;
  right: 12px;
  top: 12px;
  cursor: pointer;
}
.toggle-password img {
  width: 18px;
}

.button-slide {
  position: relative;
  overflow: hidden;
  background: #ec7700;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  transition: color 0.3s ease;
  z-index: 1;
  width: 100%;
}

.button-slide::before {
  content: "";
  position: absolute;
  background: #494949;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left 0.3s ease;
  z-index: -1;
}

.button-slide:hover::before {
  left: 0;
}

.button-slide:hover {
  color: white;
}

.slider-box {
  width: 50%;
  background: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.slider img {
  display: none;
  width: 100%;
  padding: 15px;

}
.slider img.active {
  display: block;
}
.dots {
  position: absolute;
  bottom: 30px;
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #fff;
  margin: 0 4px;
  border-radius: 50%;
  opacity: 0.5;
}
.dot.active {
  opacity: 1;
}
.slide-text {
  color: #fff;
  position: absolute;
  text-align: center;
  padding: 0 20px;
  bottom: 100px;
}
footer {
  position: absolute;
  bottom: 20px;
  font-size: 11px;
  color: #333;
}

#modalProfileSetting {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.25);
  z-index: 9999;
}

.modal-profile-content {
  background: #fff;
  max-width: 380px;
  margin: 60px auto;
  padding: 32px 24px 24px 24px;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.modal-profile-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #ff7e00;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s;
}

.modal-profile-close:hover {
  color: #e56e00;
}

.modal-profile-title {
  text-align: center;
  color: #ff7e00;
  margin-bottom: 24px;
  font-size: 1.4rem;
  font-weight: bold;
}

.profile-input {
  width: 100%;
  margin-bottom: 16px;
  padding: 12px 16px;
  border: 1.5px solid #e8e8e8;
  border-radius: 8px;
  font-size: 1rem;
  background: #f8f9fa;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}

.profile-input:focus {
  outline: none;
  border-color: #ff7e00;
  box-shadow: 0 0 0 3px rgba(255, 126, 0, 0.1);
  background: #fff;
}

.profile-input::placeholder {
  color: #9ca3af;
  font-size: 0.95rem;
}

.profile-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #ff7e00 0%, #f56500 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 0;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.profile-submit-btn:hover {
  background: linear-gradient(135deg, #e56e00 0%, #d45500 100%);
  transform: translateY(-1px);
}

.profile-submit-btn:active {
  transform: translateY(0);
}

.profile-message {
  margin-top: 16px;
  text-align: center;
  color: #059669;
  font-size: 1rem;
  font-weight: 500;
}

.profile-separator {
  width: 100%;
  height: 1px;
  background: #e5e7eb;
  margin: 24px 0 0 0;
  border: none;
  display: block;
}

#setting-profile-link {
  color: #333;
  font-size: 0.97rem;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 5px;
  transition: color 0.18s, background 0.18s;
  cursor: pointer;
  display: inline-block;
}

#setting-profile-link:hover {
  color: #2563eb;
  background: #f3f6fa;
  text-decoration: none;
}

#setting-profile-link:active {
  color: #2563eb;
  background: #f3f6fa;
  text-decoration: none !important;
}
