@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
        
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    /* align-items: center; */
    height: 100vh;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.container {
    width: 450px;
    height: 550px;
    perspective: 1000px;
    margin-top: 30px;
    
}

.flip-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.flipped {
    transform: rotateY(180deg);
}

.form-container {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
}

.signup-container {
    transform: rotateY(180deg);
}

h2 {
    margin-bottom: 20px;
    color: #333;
}

input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #667eea;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #5a67d8;
    
}
.toggle-btn:hover{
    color: white;
}
.toggle-btn {
    margin-top: 10px;
    background: none;
    color: #667eea;
    border: none;
    cursor: pointer;
    font-size: 14px;
}
@media (max-width: 768px) {
    .container{
    width: 400px;
    height: 500px;
    }
}