/* ==================== AGS Motor Capital ???????? ==================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  margin: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* ?????? */
  background: #09101a;
  /* ?? CSS ??????????? */
  background-image: 
    radial-gradient(ellipse at 150% 0%, transparent 60%, rgba(32, 178, 170, 0.15) 61%, rgba(32, 178, 170, 0.15) 62%, transparent 63%),
    radial-gradient(ellipse at -50% 100%, transparent 60%, rgba(255, 69, 0, 0.1) 61%, rgba(255, 69, 0, 0.1) 62%, transparent 63%),
    linear-gradient(135deg, #09101a 0%, #0d1a2d 50%, #050a12 100%);
  position: relative;
}

.login-container {
  width: 540px; /* ? 440px ??? 540px */
  min-height: 600px;
  padding: 50px 50px; /* ??????? */
  
  border-radius: 60px 10px 60px 10px;
  background: linear-gradient(145deg, rgba(20, 30, 45, 0.6) 0%, rgba(10, 15, 25, 0.8) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 2px solid rgba(32, 178, 170, 0.6);
  border-bottom: 2px solid rgba(255, 69, 0, 0.6);
  
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.8),
    -10px 0 30px rgba(32, 178, 170, 0.1),
    0 20px 30px rgba(255, 69, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.login-container:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9);
}

/* ?? 2:?? HTML <img> ??? Logo ?? */
.company-logo {
  display: block;
  width: 100%;
  max-width: 260px; /* ???? Logo ???????? */
  height: auto;
  margin: 0 auto 20px;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

/* ????:????? */
.login-title {
  text-align: center;
  font-size: 24px;
  margin: 0 auto 10px;
  background: linear-gradient(90deg, #20b2aa, #ff4500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
  font-weight: 800;
  text-transform: uppercase;
}

.login-subtitle {
  text-align: center;
  font-size: 13px;
  margin-bottom: 40px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
}

/* ??????? */
.input-fields {
  width: 100%;
}

.input-group {
  position: relative;
  margin-bottom: 25px;
}

/* ???????? */
.input-group input {
  width: 100%;
  outline: none;
  background: rgba(10, 15, 25, 0.8);
  font-size: 15px;
  color: #ffffff;
  padding: 16px 20px 16px 55px;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.6);
  font-weight: 500;
  letter-spacing: 1px;
}

.input-group input:focus {
  background: rgba(15, 25, 40, 0.9);
  border-color: rgba(32, 178, 170, 0.5);
  box-shadow: 
    inset 0 3px 6px rgba(0, 0, 0, 0.6),
    0 0 15px rgba(32, 178, 170, 0.2);
}

/* ????“?”????:???? SVG ?????? content */
.input-group::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.5;
  transition: all 0.3s ease;
  z-index: 2;
}

/* SVG ???? */
.username::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
}

/* SVG ????? */
.password::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm9 14H6V10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z'/%3E%3C/svg%3E");
}

/* ?????????????? */
.input-group:focus-within::before {
  opacity: 1;
  filter: drop-shadow(0 0 5px #20b2aa);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2320b2aa'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
}
.password:focus-within::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2320b2aa'%3E%3Cpath d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm9 14H6V10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z'/%3E%3C/svg%3E");
}

/* ??????????? */
.login-button {
  display: block;
  margin: 35px auto;
  outline: none;
  border: none;
  cursor: pointer;
  width: 100%;
  height: 52px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(90deg, #f02543, #ff5722);
  box-shadow: 0 10px 20px rgba(255, 87, 34, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.login-button:hover {
  background: linear-gradient(90deg, #ff3b59, #ff6b3d);
  box-shadow: 0 12px 25px rgba(255, 87, 34, 0.5);
  transform: translateY(-2px);
}

.login-button:active {
  transform: translateY(1px);
  box-shadow: 0 5px 10px rgba(255, 87, 34, 0.4);
}

/* ?????? */
.alternate-link {
  text-align: center;
  margin-top: 25px;
}

.alternate-link a {
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.alternate-link a:hover {
  color: #20b2aa;
  text-shadow: 0 0 8px rgba(32, 178, 170, 0.5);
}

@media (max-width: 768px) {
  .login-container {
    width: 85%;
    padding: 40px 35px;
    /* ????? 3D ??,????? */
    transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); 
  }
}

/* ???? (Mobile) */
@media (max-width: 480px) {
  .login-container {
    width: 92%;
    padding: 35px 25px;
    border-radius: 40px 10px 40px 10px; /* ?????? */
    /* ??????? 3D ??,????????? */
    transform: none; 
  }
  
  .login-container:hover {
    transform: none; 
  }

  .login-title {
    font-size: 20px;
  }
  
  .company-logo {
    max-width: 200px;
  }
}