body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    background: url("/img/4.jpg") no-repeat center / cover;
}

.main {
    width: 400px;
    height: 600px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

#chk {
    display: none;
}

.message {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    color: #fff;
    transition: opacity 0.5s ease-in-out;
}

.message.hide {
    opacity: 0;
    pointer-events: none;
}

.signup {
    width: 100%;
    height: 100%;
}

label {
    color: #fff;
    font-size: 2.2em;
    justify-content: center;
    display: flex;
    margin: 60px 0 40px 0;
    font-weight: bold;
    cursor: pointer;
    transition: .5s ease-in-out;
}

input {
    width: 70%;
    height: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    justify-content: center;
    display: flex;
    margin: 20px auto;
    padding: 12px;
    border: none;
    outline: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
}

input:focus {
    box-shadow: 0 0 5px #573b8a;
}

p {
    color: #eee;
    font-size: 14px;
    text-align: center;
}

button {
    width: 70%;
    height: 45px;
    display: block;
    margin: 20px auto;
    color: #fff;
    background: linear-gradient(135deg, #573b8a, #6d44b8);
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(109, 68, 184, 0.3);
}

#form-text {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-login a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.3s ease;
}

.social-login a i {
    font-size: 20px;
    color: #573b8a;
}

.social-login a:hover {
    background: #573b8a;
    transform: scale(1.1);
}

.social-login a:hover i {
    color: #fff;
}

.login {
    height: 550px;
    background: #eee;
    border-radius: 60% / 10%;
    transform: translateY(-180px);
    transition: 0.8s ease-in-out;
}

.login label {
    color: #573b8a;
    transform: scale(0.6);
}

#chk:checked ~ .login {
    transform: translateY(-600px);
}

#chk:checked ~ .login label {
    transform: scale(1);
    padding-top: 5px;
}

#chk:checked ~ .signup label {
    transform: scale(0.6);
}