@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f0f2f5;
  overflow: hidden;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* =====================
   LAMA — dipertahankan
   ===================== */

.container {
  max-width: 440px;
  padding: 0 20px;
}

.wrapper {
  width: 100%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0px 4px 10px 1px rgba(0,0,0,0.1);
}

.wrapper .title {
  height: 90px;
  background: #e5e5e5;
  border-radius: 8px 8px 0 0;
  color: rgb(51, 51, 51);
  font-size: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper form {
  padding: 30px 25px 25px 25px;
}

.wrapper form .row {
  height: 45px;
  margin-bottom: 15px;
  position: relative;
}

.wrapper form .row input, button {
  height: 100%;
  width: 100%;
  outline: none;
  padding-left: 60px;
  border: 1px solid lightgrey;
  font-size: 16px;
  transition: all 0.3s ease;
}

form .row input::placeholder {
  color: #999;
}

.wrapper form .row i {
  position: absolute;
  width: 47px;
  height: 100%;
  color: rgb(51, 51, 51);
  font-size: 18px;
  background: #efefef;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper form .pass {
  margin: -8px 0 20px 0;
}

.wrapper form .pass a {
  font-size: 17px;
  text-decoration: none;
}

.wrapper form .pass a:hover {
  text-decoration: underline;
}

.wrapper form .button input, button {
  color: rgb(51, 51, 51);
  font-size: 20px;
  font-weight: 500;
  padding-left: 0px;
  background: #efefef;
  cursor: pointer;
}

form .button button:hover {
  background: rgb(61, 98, 173);
  color: white;
}

.wrapper form .signup-link {
  text-align: center;
  margin-top: 20px;
  font-size: 17px;
}

.wrapper form .signup-link a {
  color: rgb(51, 51, 51);
  text-decoration: none;
}

form .signup-link a:hover {
  text-decoration: underline;
}

/* =====================
   BARU — login redesign
   ===================== */

.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.login-card {
  background: #fff;
  border-radius: 20px;
  border: 0.5px solid #e0e0e0;
  padding: 36px 40px;
  width: 340px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.login-header {
  text-align: center;
  margin-bottom: 28px;
}

.login-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #E6F1FB;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.login-title {
  font-size: 18px;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0;
}

.login-subtitle {
  font-size: 13px;
  color: #999;
  margin: 4px 0 0;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  font-size: 12px;
  color: #777;
  display: block;
  margin-bottom: 6px;
}

.input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0.5px solid #ddd;
  border-radius: 8px;
  padding: 0 12px;
  background: #f8f9fa;
  transition: border-color 0.15s;
}

.input-wrap:focus-within {
  border-color: #185FA5;
  background: #fff;
}

.input-icon {
  flex-shrink: 0;
}

.input-wrap input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  color: #333;
  width: 100%;
  padding: 10px 0;
  height: auto;
}

.input-wrap input::placeholder {
  color: #bbb;
}

.btn-login {
  width: 100%;
  background: #185FA5;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 11px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.15s;
  height: auto;
}

.btn-login:hover {
  background: #0C447C;
  color: white;
}