@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

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

body {
    height: 100vh;
    width: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background {
    background: url(backgroun3.jpg) no-repeat center center/cover;
    height: 100vh;
    width: 100%;
    filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}


/* HEADER */
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 13%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;

}

.navbar a {
    font-size: 16px;
    color: #fff;
    margin-right: 20px;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.navbar a:hover {
    color: #f72d7a;
}

/* CONTAINER */
.container {
    position: relative;
    width: 75%;
    min-height: 650px;
    background: url(backgroun3.jpg) no-repeat center/cover;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    padding: 40px;
    box-sizing: border-box;
}


/* LEFT SIDE */
.item {
    width: 58%;
    padding: 80px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item .logo {
    font-size: 30px;
    font-weight: 600;
}

.text-item h2 {
    font-size: 40px;
    line-height: 1.2;
}

.text-item p {
    font-size: 16px;
    margin: 20px 0;
}

.social-icon a i {
    color: #fff;
    font-size: 24px;
    margin-right: 15px;
    transition: 0.3s ease;
}

.social-icon a:hover i {
    transform: scale(1.2);
    color: #f72d7a;
}

/* LOGIN SECTION */
.login-section {
    position: absolute;
    top: 0;
    right: 0;
    width: 42%;
    height: 100%;
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* FORM BOX */
.form-box {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-section .form-box.login {
    transform: translateX(0);
    transition: 0.6s ease;
}

.login-section .form-box.register {
    transform: translateX(450px);
    transition: 0.6s ease;
}

.login-section.active .form-box.register {
    transform: translateX(0);
}

.login-section.active .form-box.login {
    transform: translateX(450px);
}

/* FORM */
.form-box form {
    width: 100%;
    max-width: 350px;
    text-align: center;
}

.form-box h2 {
    font-size: 25px;
    margin-bottom: 20px;
    color: white;
}

.input-box {
    position: relative;
    width: 100%;
    height: 50px;
    border-bottom: 2px solid #fff;
    margin: 30px 0;
}

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 16px;
    padding-right: 28px;
    color: #fff;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 600;
    pointer-events: none;
    transition: 0.3s ease;
    color: white;
}

.input-box .icon {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 18px;
    color: white;
}

.input-box input:focus ~ label,
.input-box input:valid ~ label {
    top: -5px;
    color: #f72d7a;
}

/* REMEMBER PASSWORD */
.remember-password {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: white;
    margin-bottom: 15px;
}

.remember-password label input {
    accent-color: #fff;
    margin-right: 5px;
}

.remember-password a {
    color: white;
    text-decoration: none;
    transition: 0.3s ease;
}

.remember-password a:hover {
    color: #f72d7a;
}

/* BUTTON */
.btn {
    width: 100%;
    height: 45px;
    background: #f72d7a;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn:hover {
    background: #d91f65;
}

/* CREATE ACCOUNT */
.create-account {
    font-size: 14.5px;
    text-align: center;
    margin-top: 25px;
    color: white;
}

.create-account p a {
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.create-account p a:hover {
    color: #f72d7a;
    text-decoration: underline;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        height: auto;
    }

    .item {
        width: 100%;
        padding: 40px;
    }

    .login-section {
        width: 100%;
        position: relative;
    }

    .login-section .form-box {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    .text-item h2 {
        font-size: 32px;
    }

    .form-box form {
        width: 100%;
        max-width: 300px;
    }

    .input-box input {
        font-size: 14px;
    }

    .btn {
        font-size: 14px;
    }
}
.error-message {
    color: white;
    font-size: 14px; /* Adjust as needed */
    text-align: center;
    margin-top: 5px;
}
