/* Import Google font - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(#000, #1f033e, #000);
    padding: 20px;
}

.container {
    display: flex;
    max-width: 900px;
    width: 100%;
    gap: 20px;
}

/* Overview Section */
.overview {
    flex: 1;
    padding: 20px;
    background-image: linear-gradient(#6200d0, #333);
    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

    .overview h2 {
        font-size: 24px;
        font-weight: 700;
        color: #fff;
    }

    .overview h3 {
        font-size: 18px;
        font-weight: 600;
        margin-top: 10px;
        color: #fff;
    }

    .overview p {
        font-size: 14px;
        color: #a0a0a0;
        margin-top: 10px;
        line-height: 1.6;
    }

.about-context-pt {
    padding-left: 10px;
    font-size: 12px;
    color: #a0a0a0;
}

/* Login/Signup Wrapper */
.wrapper {
    flex: 1;
    position: relative;
    max-width: 470px;
    width: 100%;
    border-radius: 12px;
    padding: 20px 30px 120px;
    background: #4070f4;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-image: linear-gradient(#01b1b1, #333);
}

.form.login {
    position: absolute;
    left: 50%;
    bottom: -86%;
    transform: translateX(-50%);
    width: calc(100% + 220px);
    padding: 20px 140px;
    border-radius: 50%;
    height: 100%;
    background-image: linear-gradient(#fff, #01b1b1);
    transition: all 0.6s ease;
}

.wrapper.active .form.login {
    bottom: -15%;
    border-radius: 20%;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
}

.form header {
    font-size: 30px;
    text-align: center;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.form.login header {
    color: #333;
    opacity: 0.6;
}

.wrapper.active .form.login header {
    opacity: 1;
}

.wrapper.active .signup header {
    opacity: 0.6;
}

.wrapper form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

form input {
    height: 50px;
    outline: none;
    border: none;
    padding: 0 15px;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    border-radius: 8px;
    background: #fff;
}

.form.login input {
    border: 1px solid #aaa;
}

    .form.login input:focus {
        box-shadow: 0 1px 0 #ddd;
    }

form input[type="submit"] {
    margin-top: 15px;
    padding: inherit;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
}

.form.login input[type="submit"] {
    background: #4070f4;
    color: #fff;
    border: none;
}


/* === RESPONSIVE STYLES === */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Stack elements vertically */
        align-items: center;
        text-align: justify;
    }

    .wrapper {
        order: -1; /* Move login section to the top */
        max-width: 100%;
        /*        padding: 20px;*/
    }

    .overview {
        order: 2;
        max-width: 100%;
        padding: 15px;
    }

    /*    .form.login {
        position: static;
        transform: none;
        width: 100%;
        padding: 20px;
        border-radius: 12px;
    }*/

    .wrapper.active .form.login {
        border-radius: 12px;
    }
}
