/* Reset */

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


.background-image {
    height: 100vh;
    background-image: url("img/bg2.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 120px;
}



/* Login container */

.login-container {
    margin-left: 300px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}


/* Login card */

.login-box {
    width: 350px;
    padding: 35px;
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.3);

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);

    animation: fadeIn 1s ease;

    transition: 0.3s;
}


.login-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}


/* Brand */

.brand-name {
    text-align: center;
    font-size: 32px;
    color: #ff9bd4;
    margin-bottom: 5px;
}

.tagline {
    text-align: center;
    color: #ff4fa3;
    font-size: 14px;
    margin-bottom: 2px;
}

/* line  */

.line {
    text-align: center;
    font-size: 13px;
    color: #db5da7;
    margin-bottom: 2px;
}

/* Login title */

.login-box h2 {
    text-align: center;
    margin-bottom: 20px;
    color: white;
}


/* Input group */

.input-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}


.input-group label {
    color: #2b2b2b;
    margin-bottom: 5px;
    font-size: 14px;
}


/* Inputs */

input {
    padding: 10px;
    border-radius: 8px;
    border: none;
    outline: none;

    transition: 0.3s;
}


input:focus {
    box-shadow: 0 0 10px rgba(255, 79, 163, 0.7);
}


/* Login button */

#loginBtn {
    margin-top: 10px;
    background: linear-gradient(45deg, #ff4fa3, #ff9bd4);
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 10px;

    color: #1a1a1a;
    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}


#loginBtn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 79, 163, 0.4);
}


/* Divider */

.divider {
    text-align: center;
    margin: 20px 0;
    color: white;
    position: relative;
}

.divider span {
    background: transparent;
    padding: 0 10px;
}


/* Social login */

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


.social-btn {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: white;

    cursor: pointer;

    transition: 0.3s;
}


.google {
    background: #db4437;
}

.twitter {
    background: #1da1f2;
}

.facebook {
    background: #1877f2;
}


.social-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}


/* Signup text */

.signup-text {
    text-align: center;
    color: #ff9bd4;
    font-size: 14px;
}

.signup-text a {
    color: #ff9bd4;
    text-decoration: none;
    font-weight: bold;
}

.alert-box {
    position: fixed;
    top: 20px;
    right: 20px;
    align-items: center;
    background: #ff4fa3;
    color: white;

    padding: 15px 25px;

    border-radius: 10px;

    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);

    font-weight: bold;

    opacity: 0;
    transform: translateY(-20px);

    transition: 0.4s;
}

.alert-box.show {
    opacity: 1;
    transform: translateY(0);
}


/* Sparkle container */

#luxury-sparkles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}


/* Sparkle stars */

.sparkle {
    position: absolute;
    color: white;
    font-size: 14px;

    text-shadow:
        0 0 5px white,
        0 0 10px white,
        0 0 20px white,
        0 0 40px white;

    animation: floatSparkle 4s linear forwards;
}


/* Sparkle animation */

@keyframes floatSparkle {

    0% {
        transform: translateY(20px) scale(0.5);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateY(-120px) scale(1.3);
        opacity: 0;
    }

}


/* Page load animation */

@keyframes fadeIn {

    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }

}