:root {
    --primary-color: #4CAF50;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --error-color: #dc3545;
    --success-color: #28a745;
}

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

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--secondary-color);
}

.container {
    display: flex;
    height: 100%;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.left-panel,
.right-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
}

.left-panel {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.7), rgba(30, 130, 76, 0.7)),
    url("{% static 'workload/images/img5.jpg' %}") no-repeat center center;
    background-size: cover;
    color: white;
    position: relative;
    overflow: hidden;
}

.left-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: blur(5px);
    z-index: -1;
}

.brand {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 3rem;
}

.brand img {
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.features {
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateX(10px);
}

.feature i {
    margin-right: 1rem;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.login-form {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.login-form h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.form-footer {
    margin-top: 2rem;
    text-align: center;
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.form-footer a:hover {
    color: #45a049;
}

.invalid-feedback {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}


input[type="password"]::-ms-reveal,
/* for Internet Explorer */
input[type="password"]::-ms-clear,
/* for Internet Explorer */
input[type="password"]::-webkit-input-clear-button,
/* for Safari */
input[type="password"]::-webkit-input-password-toggle {
    /* for Chrome */
    display: none;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .left-panel,
    .right-panel {
        flex: none;
        width: 100%;
    }

    .left-panel {
        padding: 2rem 1rem;
    }

    .right-panel {
        padding: 2rem 1rem;
    }
}