* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    min-height: 100vh;
    background: linear-gradient(to right, #f64f59, #c471ed, #12c2e9);
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.left-content-wrapper {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 40px 32px 40px 32px;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 40px 30px 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.left-content-wrapper h2 {
    font-size: 30px;
    margin-bottom: 18px;
    font-weight: 700;
    color: #fe2389;
    width: 100%;
    text-align: center;
}

.left-content-wrapper p {
    font-size: 16px;
    margin-bottom: 18px;
    line-height: 1.6;
}

.left-content-wrapper ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 18px;
}

.left-content-wrapper li {
    margin-bottom: 10px;
    font-size: 15px;
    display: flex;
    align-items: center;
}

.left-content-wrapper li i {
    color: #fe2389;
    margin-right: 10px;
    font-size: 14px;
}

.right-wrapper {
    position: relative;
    width: 400px;
    height: 550px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-right: 30px;
}

.form-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    transition: 1s ease-in-out;
}

.right-wrapper.active .form-wrapper.sign-in {
    transform: scale(0) translate(-300px, 500px);
}

.right-wrapper .form-wrapper.sign-up {
    position: absolute;
    top: 0;
    transform: scale(0) translate(200px, -500px);
}

.right-wrapper.active .form-wrapper.sign-up {
    transform: scale(1) translate(0, 0);
}

.right-wrapper .form-wrapper.forgot-password {
    position: absolute;
    top: 0;
    transform: scale(0) translate(-200px, -500px);
}

.right-wrapper.forgot-active .form-wrapper.forgot-password {
    transform: scale(1) translate(0, 0);
}

.right-wrapper.forgot-active .form-wrapper.sign-in {
    transform: scale(0) translate(300px, 500px);
}

.left-content-wrapper,
.right-wrapper {
    animation: fadeInUp 1s ease;
}

h2 {
    font-size: 30px;
    color: #fe2389;
    text-align: center;
}

.input-group {
    position: relative;
    margin: 30px 0;
    border-bottom: 2px solid #fff;
}

.input-group label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #fff;
    pointer-events: none;
    transition: 0.4s;
}

.input-group input {
    width: 320px;
    height: 40px;
    font-size: 16px;
    color: #fff;
    padding: 0 40px 0 5px;
    background: transparent;
    border: none;
    outline: none;
    transition: 0.4s;
}

.input-group input:not(:placeholder-shown)~label,
.input-group input:focus~label {
    top: -5px;
}

.input-group input:focus,
.input-group input:focus~i,
.input-group input:focus~label {
    color: #fe2389;
}

.input-group i {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #fff;
    padding: 12px;
    transition: 0.4s;
}

.remember {
    margin: -5px 0 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remember label {
    color: #fff;
    font-size: 14px;
}

.remember p {
    font-size: 14px;
    margin: 0;
}

.remember p a {
    text-decoration: none;
    color: #f4157e;
    font-weight: 500;
}

.remember p a:hover {
    text-decoration: underline;
}

.remember label input {
    accent-color: #f4157e;
}

.forgot-link {
    color: #f4157e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

button {
    position: relative;
    width: 100%;
    height: 40px;
    background: #f4157e;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    border-radius: 30px;
    border: none;
    outline: none;
}

.signUp-link {
    font-size: 14px;
    text-align: center;
    margin: 15px 0;
}

.signUp-link p {
    color: #fff;
}

.signUp-link p a {
    color: #f4157e;
    text-decoration: none;
    font-weight: 500;
    margin-left: 3px;
}

.signUp-link p a:hover {
    text-decoration: underline;
}

.social-platform {
    font-size: 14px;
    color: #fff;
    text-align: center;
}

.social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    margin: 15px 6px 0;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #fff;
}

.social-icons a i {
    color: #fff;
    font-size: 14px;
    transition: 0.3s;
}

.social-icons a:hover i {
    color: rgba(0, 0, 0, 0.3);
}

.back-link {
    font-size: 14px;
    text-align: center;
    margin: 15px 0;
}

.back-link p {
    color: #fff;
}

.back-link p a {
    color: #f4157e;
    text-decoration: none;
    font-weight: 500;
}

.back-link p a:hover {
    text-decoration: underline;
}

.forgot-description {
    color: #fff;
    font-size: 15px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 35px;
    line-height: 1.5;
    max-width: 320px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Notification Styles --- */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #f44336;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    z-index: 1000;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    overflow: hidden;
    /* To contain the underline */

    /* Hide by default */
    transform: translateX(120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0s linear 0.3s;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.notification-message {
    flex-grow: 1;
    max-height: 100px;
    /* Limit height for long messages */
    overflow-y: auto;
    /* Add scroll for overflow */
}

.notification-close {
    margin-left: 15px;
    cursor: pointer;
    padding: 5px;
    -webkit-tap-highlight-color: transparent;
}

.notification-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.7);
    width: 100%;
}

.notification.show .notification-underline {
    animation: shrink 3s linear forwards;
}

@keyframes shrink {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}


/* Responsive for phone */
@media (max-width: 639px) {
    .main-container {
        flex-direction: column-reverse;
        align-items: center;
    }

    .left-content-wrapper {
        margin: 24px 0;
        max-width: 95%;
        width: 100%;
    }

    .right-wrapper {
        margin: 60px 0 20px 0;
        width: 100%;
        max-width: 90%;
        min-width: unset;
        padding: 40px 28px;
        box-sizing: border-box;
    }

    .form-wrapper form {
        width: 100%;
    }

    .form-wrapper.sign-up {
        width: 85%;
    }

    .form-wrapper.forgot-password {
        width: 85%;
    }

    .input-group input {
        width: 100%;
        padding-right: 42px;
    }

    .input-group i {
        right: 0px;
    }

    .notification {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        transform: translateX(120%);
    }

    .notification.show {
        transform: translateX(0);
    }
}