@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.bubbles-container {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

body {
    min-height: 100vh;
    display: flex;
    /* background: linear-gradient(-45deg,
            #f62828,
            #e2b71a,
            #2b40b6,
            #db264d); */
    /* background-size: 400% 400%; */
    background-image: url(img/bg.jpeg);
    /* animation: gradientWave 15s ease-in-out infinite; */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    overflow: hidden;
}

/* Add wave effect overlay */
body::before,
body::after {
    content: '';
    position: absolute;
    /* width: 200%; */
    /* height: 200%; */
    /* top: -50%; */
    /* left: -50%; */
    /* background: radial-gradient(circle,
            rgba(255, 245, 230, 0.1) 0%,
            rgba(255, 250, 240, 0.1) 100%); */
    /* animation: waveEffect 12s linear infinite; */
    z-index: 0;
}

body::after {
    /* animation: waveEffect 15s linear infinite; */
    opacity: 0.5;
    animation-delay: -5s;
}

/* Bubble animations */
.bubble {
    position: fixed;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.5);
    animation: float 8s linear infinite;
}

.bubble::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 50%;
}

.bubble:nth-child(1) {
    width: 40px;
    height: 40px;
    left: 10%;
    animation-duration: 12s;
}

.bubble:nth-child(2) {
    width: 60px;
    height: 60px;
    left: 20%;
    animation-duration: 16s;
    animation-delay: -3s;
}

.bubble:nth-child(3) {
    width: 30px;
    height: 30px;
    left: 35%;
    animation-duration: 13s;
    animation-delay: -5s;
}

.bubble:nth-child(4) {
    width: 50px;
    height: 50px;
    left: 50%;
    animation-duration: 15s;
    animation-delay: -7s;
}

.bubble:nth-child(5) {
    width: 45px;
    height: 45px;
    left: 65%;
    animation-duration: 14s;
    animation-delay: -2s;
}

.bubble:nth-child(6) {
    width: 35px;
    height: 35px;
    left: 80%;
    animation-duration: 11s;
    animation-delay: -4s;
}

.bubble:nth-child(7) {
    width: 55px;
    height: 55px;
    left: 90%;
    animation-duration: 17s;
    animation-delay: -6s;
}

/* @keyframes float {
    0% {
        transform: translateY(100vh) scale(0.8);
        opacity: 0;
    }

    20% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-10vh) scale(1.2);
        opacity: 0;
    }
}

@keyframes gradientWave {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
        background-size: 300% 300%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes waveEffect {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
} */

.login-container {
    display: flex;
    width: 950px;
    margin: auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.login-banner {
    flex: 1;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.95) 0%, rgba(217, 77, 35, 0.95) 100%);
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.banner-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.company-logo {
    max-width: 180px;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.banner-logo {
    font-size: 24px;
    font-weight: 700;
}

.banner-content {
    margin-top: 60px;
}

.banner-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
}

.feature-list {
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.login-form {
    flex: 1;
    padding: 40px;
    background: white;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1.5px solid #e1e1e1;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #d94d23;
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 77, 35, 0.1);
}

.password-input-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #333;
}

button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff6b6b 0%, #d94d23 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(217, 77, 35, 0.2);
}

@media (max-width: 1024px) {
    .login-container {
        width: 90%;
        flex-direction: column;
        margin: 20px auto;
    }

    .login-banner {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .login-banner {
        display: none;
    }

    .login-form {
        padding: 30px;
    }
}

/* Animation for background */
.login-form {
    flex: 1;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}