@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #ff4b2b;
    --secondary-color: #ff416c;
    --text-color: #333;
    --bg-color: #f6f5f7;
}

body {
    background: url('../images/login-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    margin: 0;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    z-index: -1;
}

.login-container {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    position: relative;
    overflow: hidden;
    width: 850px;
    max-width: 100%;
    min-height: 520px;
    display: flex;
    backdrop-filter: blur(10px);
}

.login-form-container {
    padding: 50px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-visual-container {
    width: 50%;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 40px;
    transition: transform 0.6s ease-in-out;
}

h1 {
    font-weight: bold;
    margin: 0;
    font-size: 2.5rem;
}

.login-form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 600;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    background-color: #eee;
    border: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
    border-radius: 8px;
    font-size: 14px;
}

.form-control:focus {
    box-shadow: 0 0 0 2px var(--primary-color);
}

.btn-login {
    border-radius: 20px;
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
}

.btn-login:active {
    transform: scale(0.95);
}

.btn-login:focus {
    outline: none;
}

.btn-outline {
    background-color: transparent;
    border-color: #FFFFFF;
}

.social-container {
    margin: 20px 0;
    text-align: center;
}

.social-container a {
    border: 1px solid #DDDDDD;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    height: 40px;
    width: 40px;
    color: #333;
    text-decoration: none;
    transition: 0.3s;
}

.social-container a:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.forgot-password {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0;
    display: block;
    text-align: center;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-container {
    animation: fadeIn 0.8s ease-out;
}

.login-visual-container h1,
.login-visual-container p {
    animation: fadeIn 1s ease-out;
}

.login-form-container form {
    animation: fadeIn 1.2s ease-out;
}