* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Animated Background */
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* backdrop-filter: blur(5px); */
}

/* Floating shapes animation */
.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.shape:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    top: 60%;
    left: 80%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30%;
    animation-delay: -5s;
}

.shape:nth-child(3) {
    top: 40%;
    left: 70%;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 20%;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-30px) rotate(120deg);
    }

    66% {
        transform: translateY(20px) rotate(240deg);
    }

    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

/* Main container */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 10;
}

/* Logo animation */
.logo {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    z-index: 20;
    text-decoration: none;
}

.logo img {
    border-radius: 10px;
}

/* Login card */
.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 0;
    width: 100%;
    max-width: 720px;
    display: flex;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-form-section {
    flex: 1;
    padding: 32px 28px;
}

.login-image-section {
    flex: 1;
    position: relative;
}

.worker-silhouette {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 6px;
    color: #555;
    font-weight: 500;
    font-size: 13px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #45b7d1;
    box-shadow: 0 0 0 3px rgba(69, 183, 209, 0.1);
    transform: translateY(-2px);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.1);
}

.checkbox-label {
    color: #666;
    font-size: 13px;
    margin-bottom: 0;
}

.button-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.login-btn {
    background: linear-gradient(135deg, #ffd93d, #ffb347);
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 217, 61, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.login-btn:hover::before {
    left: 100%;
}

.forgot-password {
    color: #45b7d1;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: #357abd;
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .login-card {
        flex-direction: column;
        max-width: 100%;
        /* margin-top: 80px; */
    }

    .login-image-section {
        height: 200px;
        order: -1;
    }

    .login-form-section {
        padding: 24px 20px;
    }

    h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .button-group {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .login-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .login-form-section {
        padding: 20px 16px;
    }

    h2 {
        font-size: 20px;
        text-align: center;
    }

    input[type="text"],
    input[type="password"] {
        padding: 9px 10px;
        font-size: 13px;
    }

    .login-btn {
        padding: 9px 16px;
        font-size: 13px;
    }
}

/* Loading animation for button */
.login-btn.loading {
    pointer-events: none;
}

.login-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid #333;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.error-ul {
    list-style: none;
    color: #db0303;
    font-size: 12px;
}

.info-text {
    font-size: 14px;
    color: #666666;
}