@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #d4fc79, #96e6a1);
}
.container{
    width: 420px;
    background: #1e1e2f;
    padding: 32px 28px;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: height 0.3s ease;
    height: 280px;
}
.container.active{
    height: 540px;
}
.container form{
    background: #2d2d44;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 12px;
    cursor: pointer;
    transition: height 0.3s ease;
    overflow: hidden;
}

.container.active form{
    height: 230px;
    pointer-events: none;
}

form input{
    display: none;
}
form img{
    max-width: 160px;
    margin-bottom: 10px;
    border-radius: 8px;
    display: none;
}
.container.active form img{
    display: block;
}
.upload-box{
    font-size: 58px;
    color: #58e1c1;
}
.upload-box p{
    margin-top: 10px;
    color: #cfd8dc;
    font-size: 16px;
}
.container.active .upload-box {
      display: none;
}
.result {
    opacity: 0;
    pointer-events: none;
    margin-top: 24px;
    transition: opacity 0.3s  0.3s ease;
}
.container.active .result {
      opacity: 1;
      pointer-events: auto;
}
textarea{
    width: 100%;
    height: 120px;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 8px;
    background: #121225;
    color: white;
    font-size: 16px;
    resize: none;
    outline: none;
}
.buttons{
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
button{
    flex: 1;
    height: 50px;
    background: #58e1c1;
    color: #1e1e2f;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}
button:hover{
    background: #45bfa0;
}