.logo-cup{
    position:absolute;
    width:80px;
    height:auto;
    left:50%;
    top:50%;

    transform:translate(-50%,-50%);
    z-index:10;
}




*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: black;

}

.container {
    position: relative;
    top: 50px;
}
.cup {
    position: relative;
    width: 180px;
    height: 150px;
    background: linear-gradient(to right, #f9f9f9,#d9d9d9);
    border-bottom-left-radius: 45%;
    border-bottom-right-radius: 45%;
}


.top {
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to right,#f9f9f9,#d9d9d9);
    border-radius: 50%;
}


.circle {
    position: absolute;
    top: 5px;
    left: 10px;
    width: calc(100% - 20px);
    height: 50px;
    background: linear-gradient(to left, #f9f9f9,#d9d9d9);
    border-radius: 50%;
    box-sizing: border-box;
    overflow: hidden;
}


.coffee{
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#c57e65,#e28462);
    border-radius: 50%;
}


.cup-handle {
    position: absolute;
    right: -49px;
    top: 10px;
    width: 100px;
    height: 100px;
    border: 25px solid #dcdcdc;
    border-left: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-radius: 50%;
    transform: rotate(47deg);
}


.glass-plate {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 100px;
    background: linear-gradient(to right,#f9f9f9,#e7e7e7);
    border-radius: 50%;
    box-shadow: 0 35px 35px rgba(0,0,0,0.2);
}


.glass-plate::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 50%;
    background: linear-gradient(to left,#f9f9f9,#e7e7e7);
}

.glass-plate::after {
    content: '';
    position: absolute;
    top: 30px;
    right: 30px;
    bottom: 30px;
    bottom: 30px;
    background: linear-gradient(rgba(0,0,0,0.2) 25%, transparent,transparent);
    border-radius: 50%;
}

.smoke {

    position: relative;
    display: flex;
    z-index: 1;
    padding: 0 20px
}


.smoke span {
    position: relative;
    bottom: 50px;
    display: block;
    margin: 0 2px 50px;
    min-width: 8px;
    height: 120px;
    background: #fff;
    border-radius: 50%;
    animation: animate 4s linear infinite;
    opacity: 0;
    filter: blur(8px);
    animation-delay:  calc(var(--i)* -0.3s);
}


@keyframes animate {
    0%
    {
        transform: translateY(0) scaleX(1);
        opacity: 0;
    }
    15%
    {
        opacity: 1;
    }
    50%
    {
        transform: translateY(-150px) scaleX(5);
    }
    95% 
    {
        opacity: 0;
    }
    100%
    {
        transform: translateY(-300px) scaleX(10);
    }
}

.login-container {
  background-color: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 300px;

 /* Animasi */
      opacity: 0;
      transform: translateY(40px);
      animation: fadeSlideIn 0.6s ease-out forwards;
}

 @keyframes fadeSlideIn {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

@keyframes fadeSlideOut {
  to {
    opacity: 0;
    transform: translateY(-40px);
  }
}

.fade-out {
  animation: fadeSlideOut 0.4s ease forwards;
}

.login-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.login-container label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #555;
}

.login-container input[type="email"],
.login-container input[type="password"] {
  width: 90%;
  padding: 10px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.login-container .actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 16px;
}

.login-container button {
  width: 100%;
  padding: 10px;
  background-color: #4f46e5;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.login-container button:hover {
  background-color: #4338ca;
}

.login-container .register {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
}

.login-container .register a {
  color: #4f46e5;
  text-decoration: none;
}

.login-container .register a:hover {
  text-decoration: underline;
    }


