
*{
    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{
    background:#f3f4f6;
    padding:40px;
    border-radius:20px;
    width:100%;
    max-width:400px;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

.icon-user{
  width:20px;
  height:20px;
  position:relative;
}
.icon-user::before{
  content:"";
  position:absolute;
  top:2px;
  left:6px;
  width:8px;
  height:8px;
  border:2px solid #9ca3af;
  border-radius:50%;
}
.icon-user::after{
  content:"";
  position:absolute;
  bottom:2px;
  left:3px;
  width:14px;
  height:8px;
  border:2px solid #9ca3af;
  border-top:none;
  border-radius:0 0 10px 10px;
}

.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%);
}

.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;
}

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;
}

.terms{
    font-size:12px;
    color:#6b7280;
    margin-top:10px;
}
.terms 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;
}

.box{
    background:#e5e7eb;
    padding:15px;
    border-radius:12px;
    margin-top:15px;
    font-size:13px;
}
.box p{margin-bottom:5px;}

.footer{
    text-align:center;
    margin-top:15px;
    font-size:13px;
    color:#6b7280;
}
.footer span{
    color:#2563eb;
    cursor:pointer;
}

.footer span a,
.terms span a{
    color:inherit;
    text-decoration:none;
}
.footer span a:hover,
.terms 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,
.terms,
button,
.box,
.footer {
    opacity: 0;
    animation: fadeSlideUp .45s ease forwards;
}

.logo { animation-delay: .04s; }
h2 { animation-delay: .08s; }
.sub { animation-delay: .12s; }
.terms { animation-delay: .40s; }
button { animation-delay: .46s; }
.box { animation-delay: .52s; }
.footer { animation-delay: .58s; }

.input,
button,
.box {
    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);
}

.box:hover {
    transform: translateY(-2px);
}
@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;
  }
  .terms{
    font-size:11px;
    gap:6px;
}
  h2{
    font-size:22px;
  }

  .sub{
    font-size:13px;
    margin-bottom:18px;
  }

  label{
    font-size:12px;
  }
  .input{
    padding:10px;
    gap:8px;
  }

  .input input{
    font-size:14px;
  }
  .icon-user,
  .icon-mail,
  .icon-lock,
  .icon-eye{
    transform:scale(0.9);
  }
  .terms{
    font-size:11px;
    line-height:1.4;
  }
  button{
    padding:11px;
    font-size:14px;
    margin-top:18px;
  }
  .box{
    padding:12px;
    font-size:12px;
  }
  .footer{
    font-size:12px;
    margin-top:12px;
  }

}
.terms{
    display:flex;
    align-items:flex-start;
    gap:8px;
    font-size:12px;
    color:#6b7280;
    margin-top:12px;
    cursor:pointer;
}
.terms input{
    margin-top:2px;
    width:14px;
    height:14px;
    cursor:pointer;
}
.terms span{
    line-height:1.4;
}

.terms a{
    color:#2563eb;
    text-decoration:none;
}
.terms a:hover{
    text-decoration:underline;
}