:root {
    --primary-color: #19b4b6;
    --primary-dark: #148a8c;
    --primary-light: #5dd5d7;
    --primary-bg: #e8f7f7;
}

body {
    height: 100vh;
    background: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

.login-container {
    display: flex;
    height: 100%;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
}

.left-side {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.left-side::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -100px;
    left: -100px;
}

.left-side::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    bottom: -50px;
    right: -50px;
}

.logo-container {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.logo-placeholder {
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.logo-placeholder i {
    font-size: 100px;
    color: var(--primary-color);
}

.left-side h2 {
    font-weight: 600;
    margin-top: 30px;
    font-size: 28px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.left-side p {
    margin-top: 15px;
    font-size: 16px;
    max-width: 80%;
    text-align: center;
    opacity: 0.9;
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.floating-icons div {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    animation: float 15s linear infinite;
}

.floating-icons div:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
    width: 30px;
    height: 30px;
}

.floating-icons div:nth-child(2) {
    top: 60%;
    left: 70%;
    animation-delay: 2s;
    width: 25px;
    height: 25px;
}

.floating-icons div:nth-child(3) {
    top: 40%;
    left: 40%;
    animation-delay: 5s;
    width: 40px;
    height: 40px;
}

.floating-icons div:nth-child(4) {
    top: 70%;
    left: 30%;
    animation-delay: 7s;
    width: 35px;
    height: 35px;
}

.floating-icons div:nth-child(5) {
    top: 30%;
    left: 80%;
    animation-delay: 10s;
    width: 20px;
    height: 20px;
}

.right-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--primary-bg);
}

.right-side video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px) brightness(0.6);
    z-index: 1;
    opacity: 0.7;
}

.right-side-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.company-logo {
    max-width: 256px;
    display: block;
    margin: 50px auto 20px;
    animation: fadeIn 5s ease-out;
}

.login-box {
    width: 100%;
    max-width: 400px;
    padding: 30px;
    animation: slideIn 0.8s ease-out;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.login-box h3 {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 30px;
}

.form-control {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(25, 180, 182, 0.2);
}

.password-wrapper {
    position: relative;
}

.toggle-button {
    display: inline-flex;
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    transition: all 0.3s;

}

.toggle-button:hover {
    color: var(--primary-color);
}

.toggle-button.open {
    transform: translateY(-50%) rotate(180deg);
    margin-top: 32px;
}

.eye-icon {
    width: 28px;
    height: 28px;
    margin-top: 32px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

.alert {
    border-radius: 8px;
    padding: 12px 15px;
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #495057;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
    }

    .left-side,
    .right-side {
        flex: none;
        width: 100%;
    }

    .left-side {
        padding: 40px 20px;
    }

    .logo-placeholder {
        width: 150px;
        height: 150px;
    }

    .logo-placeholder i {
        font-size: 70px;
    }

    .right-side video {
        filter: blur(3px) brightness(0.6);
    }
}