* {
  font-family: Kanit;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root{
  --blue1: #5fc3ff;
  --blue2: #007bff;
  --blue3: #002e74;     /* น้ำเงินเข้มสุด (พื้นหลังนอกสุด) */
  --white: #4A90E2;
  --fade: rgba(255,255,255,.9);
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: rgb(221, 241, 248);
}


.wrapper {
  width: 420px;
  background: white;

  box-shadow: 0 0 25px rgba(0, 120, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  color: #4A90E2;
  border-radius: 14px;
  padding: 30px 40px;
  transition: transform 0.3s ease;
}

.remember-forgot a {
    font-size: 14px;
}

.wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(0, 140, 255, 0.45);
}


.wrapper h1 {
  font-size: 36px;
  text-align: center;
}

.wrapper .input-box {

  border-radius: 40px;
  position: relative;
  width: 100%;
  height: 50px;
  margin: 30px 0;
}

.input-box input {
    
  width: 100%;
  height: 100%;
  background: #e7f6ff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  font-size: 16px;
  color: #4A90E2;
  padding: 20px 45px 20px 20px;
}

.input-box input::placeholder {
  color: #4A90E2;
}

.input-box i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  transition: 0.5s all;
}

i:hover {
  color: pink;
  cursor: pointer;
}

.wrapper .remember-forgot {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  margin: -15px 0 15px;
}

.remember-forgot label input {
  accent-color: #4A90E2;
  background: transparent;
  margin-right: 3px;
  outline: none;
  transition: 0.5s background-color;
}

input:focus,
input:valid {
  outline: none;
}

.remember-forgot a {
  color: #333;
  text-decoration: none;
}

.remember-forgot a:hover {
  text-decoration: underline;
}

.wrapper .btn {
  width: 100%;
  height: 45px;
  background: #fff;
  border: none;
  outline: none;
  border-radius: 40px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-size: 16px;
  color: #333;
  font-weight: 600;
}

.wrapper .register-link {
  font-size: 14.5px;
  text-align: center;
  margin: 20px 0 15px;
}

.register-link p a {
  color: #4A90E2;
  text-decoration: none;
  font-weight: 600;
}

.register-link p a:hover {
  text-decoration: underline;
}

.start-btn {
    
    text-align: center;
    width: 100%;
  display: inline-block;
  background: linear-gradient(90deg, #007bff, #3d9fff);
  color: white;
  font-size: 18px;
  font-weight: 600;
  border-radius: 16px;
  padding: 12px 40px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: none;
}

.start-btn:hover {
  background: linear-gradient(90deg, #0062d4, #3494ff);
  transform: scale(1.05);
  cursor: pointer;
}
