
*{margin:0;padding:0;box-sizing:border-box;font-family:'Inter',sans-serif;}

body{
    background:#e5e7eb;
    display:flex;
    justify-content:center;
    align-items:center;
    height:100vh;
}

.container{
    width:100%;
    max-width:350px;
    background:#f3f4f6;
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

.logo{
  display:flex;
  justify-content:center;
  margin-bottom:10px;
}
.logo-icon{
  width:30px;
  height:30px;
  border-radius:50%;
  background:
  linear-gradient(white,white) 11px 15px/3px 8px no-repeat,
  linear-gradient(white,white) 16px 11px/3px 12px no-repeat,
  linear-gradient(white,white) 21px 17px/3px 6px no-repeat,
  #3b82f6;
  position:relative;
}
.logo-icon::before{
  content:"";
  position:absolute;
  left:7px;
  bottom:7px;
  width:2px;
  height:14px;
  background:white;
}
.logo-icon::after{
  content:"";
  position:absolute;
  left:7px;
  bottom:7px;
  width:18px;
  height:2px;
  background:white;
}

.icon-mail{
  width:20px;
  height:14px;
  border:2px solid #9ca3af;
  border-radius:4px;
  position:relative;
}
.icon-mail::after{
  content:"";
  position:absolute;
  top:2px;
  left:2px;
  width:12px;
  height:8px;
  border-left:2px solid #9ca3af;
  border-bottom:2px solid #9ca3af;
  transform:rotate(-45deg);
}

.icon-lock{
  width:20px;
  height:14px;
  border:2px solid #9ca3af;
  border-radius:4px;
  position:relative;
}
.icon-lock::before{
  content:"";
  position:absolute;
  top:-8px;
  left:4px;
  width:10px;
  height:8px;
  border:2px solid #9ca3af;
  border-bottom:none;
  border-radius:10px 10px 0 0;
}

.icon-eye{
  width:20px;
  height:12px;
  border:2px solid #9ca3af;
  border-radius:20px;
  position:relative;
}
.icon-eye::after{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:4px;
  height:4px;
  background:#9ca3af;
  border-radius:50%;
  transform:translate(-50%,-50%);
}

h2{text-align:center;margin-bottom:5px;}
.sub{text-align:center;color:#6b7280;margin-bottom:20px;font-size:14px;}
label{font-size:13px;color:#374151;display:block;margin:10px 0 5px;}

.input{
    display:flex;
    align-items:center;
    gap:10px;
    background:#fff;
    border-radius:10px;
    padding:10px;
    border:1px solid #d1d5db;
}

.input input{
    border:none;
    outline:none;
    width:100%;
    background:none;
}

.row{
    display:flex;
    justify-content:space-between;
    font-size:12px;
    color:#6b7280;
    margin-top:10px;
}
.row span{color:#2563eb;cursor:pointer;}

button{
    width:100%;
    padding:12px;
    background:linear-gradient(135deg,#3b82f6,#1e40af);
    color:#fff;
    border:none;
    border-radius:12px;
    margin-top:15px;
    font-weight:600;
    cursor:pointer;
}
.divider{text-align:center;margin:15px 0;color:#9ca3af;}
.footer{text-align:center;font-size:13px;color:#6b7280;}
.footer span{color:#2563eb;cursor:pointer;}
.row span a,
.footer span a{
    color:inherit;
    text-decoration:none;
}
.row span a:hover,
.footer span a:hover{
    text-decoration:underline;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideRight {
    from {
        opacity: 0;
        transform: translateX(-18px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes softPop {
    from {
        opacity: 0;
        transform: scale(0.97);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatSoft {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

.container {
    animation: softPop .5s ease both;
}

.logo,
h2,
.sub,
label,
.input,
.row,
button,
.divider,
.footer {
    opacity: 0;
    animation: fadeSlideUp .45s ease forwards;
}

.logo { animation-delay: .04s; }
h2 { animation-delay: .08s; }
.sub { animation-delay: .12s; }
label:nth-of-type(1),
.input:nth-of-type(1) { animation-delay: .16s; }
label:nth-of-type(2),
.input:nth-of-type(2) { animation-delay: .22s; }
.row { animation-delay: .28s; }
button { animation-delay: .34s; }
.divider { animation-delay: .40s; }
.footer { animation-delay: .46s; }

.input,
button {
    transition: transform .15s ease, box-shadow .18s ease, border-color .18s ease;
}

.input:focus-within {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.10);
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(30, 64, 175, 0.22);
}
.row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:12px;
    color:#6b7280;
    margin-top:10px;
}
.remember{
    display:flex;
    align-items:center;
    gap:6px;
    cursor:pointer;
}

.remember input{
    width:14px;
    height:14px;
    cursor:pointer;
}

.row span{
    color:#2563eb;
    cursor:pointer;
}

@media (max-width:480px){

  body{
    height:auto;
    min-height:100vh;
    align-items:flex-start;
    padding:20px 12px;
  }

  .container{
    max-width:100%;
    padding:28px 18px;
    border-radius:18px;
  }

  h2{
    font-size:22px;
  }

  .sub{
    font-size:13px;
    margin-bottom:18px;
  }

  label{
    font-size:12px;
  }

  .input{
    padding:10px;
  }

  .input input{
    font-size:14px;
  }


  .row{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }

  .row span{
    font-size:12px;
  }

  button{
    padding:11px;
    font-size:14px;
    margin-top:18px;
  }

  .footer{
    font-size:12px;
    margin-top:12px;
  }
}