*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* body{
    background: #f0bcd4; 
    min-height: 100vh;         
    display: flex;               
    justify-content: center;    
    align-items: center;       
}

.container{
    width: 100%;
    max-width: 600px;
    background: #fff;
    padding: 20px 40px;
    border-radius: 10px;  
    border: 2px solid #899d78;  
}

h1{
    width: 100%;  
    margin-bottom: 30px;
    color: #1F0322;
    text-align: center;   
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.container p{
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1F0322;
}

.container input{ 
    width: 100%;
    height: 50px;
    border: 1px solid #da4167;
    outline: 0;
    padding: 10px;
    margin: 10px 0 20px;
    border-radius: 5px;
    font-size: 16px;
}

.container input:focus{
    border: 1px solid #8A1C7C;
}

.container button{
    width: 100%;
    height: 50px;
    background: #8A1C7C;
    color: white;
    border: 0;
    outline: 0;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-weight: 500;
    font-size: 18px;
}

.container button:hover{
    background: #1F0322;
} */

body{
    background: #1f0322; 
    min-height: 100vh;         
    display: flex;               
    justify-content: center;    
    align-items: center;       
}

.container{
    width: 100%;
    max-width: 600px;
    background: #fff;
    padding: 20px 40px;
    border-radius: 10px;  
    border: 2px solid #f0bcd4;  
}

h1{
    width: 100%;  
    margin-bottom: 30px;
    color: #da4167;
    text-align: center;   
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.container p{
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #8A1C7C;
}

.container input{ 
    width: 100%;
    height: 50px;
    border: 1px solid #f0bcd4;
    outline: 0;
    padding: 10px;
    margin: 10px 0 20px;
    border-radius: 5px;
    font-size: 16px;
}

.container input:focus{
    border: 1px solid #8A1C7C;
}

.container button{
    width: 100%;
    height: 50px;
    background: #899d78;
    color: #fff;
    border: 0;
    outline: 0;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-weight: 500;
    font-size: 18px;
    margin-top: 20px;
}

.container button:hover{
    background: #355715;
}

#imgbox{
    width: 200px;
    border-radius: 5px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s;
}

#imgbox img{
    width: 100%;
    padding: 10px;
}

#imgbox.show-img{
    max-height: 300px;
    margin: 10px auto ;
    border: 1px solid #d1d1d1;
}

.error{
    animation: shake 0.1s linear 10;
}

@keyframes shake {
    0%{
        transform: translateX(0);
    }
    25%{
        transform: translateX(-2px);
    }
    50%{
        transform: translateX(0);
    }
    75%{
        transform: translateX(2px);
    }
    100%{
        transform: translateX(0);
    }
}

@media (max-width: 650px) {
    .container{
        margin: 0 20px; 
    }
}