body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Background Image */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/myclaimbg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.32;
    filter: brightness(0.84);
    z-index: -1;
    pointer-events: none;
}

.container-fluid {
    width: 100%;
    max-width: 1400px;
    padding: 2rem;
}

.login-container {
    display: flex;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 600px;
}

.illustration-panel {
    flex: 1;
    background: linear-gradient(135deg, #6FA4C1 0%, #5D9AB6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.illustration-panel img {
    max-width: 95%;
    max-height: 750px;
    object-fit: contain;
}

.login-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 3rem;
    background-color: #ffffff;
}

.logo-text {
    margin-bottom: 1rem;
    text-align: center;
}

.logo-text img {
    max-width: 250px;
    height: auto;
}

.form {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portal-title {
    font-size: 1.1rem;
    color: #6b6b6b;
    margin-bottom: 2rem;
    text-align: center;
}

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

.form-control:focus {
    border-color: #5D9AB6;
    box-shadow: 0 0 0 0.2rem rgba(93, 154, 182, 0.25);
}

.form-check-input:checked {
    background-color: #5D9AB6;
    border-color: #5D9AB6;
}

.form-check-label {
    color: #6b6b6b;
    font-size: 0.9rem;
}

a {
    color: #5D9AB6;
    text-decoration: none;
    font-size: 0.9rem;
}

a:hover {
    color: #4a7a95;
    text-decoration: underline;
}

.btn-custom {
    background: linear-gradient(135deg, #7CB342 0%, #66A832 100%);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-custom:hover {
    background: linear-gradient(135deg, #66A832 0%, #5a9428 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 179, 66, 0.4);
}

.alert {
    border-radius: 8px;
    margin-bottom: 1rem;
    width: 100%;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    padding: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: #6b6b6b;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .container-fluid {
        padding: 0;
    }

    .login-container {
        flex-direction: column;
        min-height: auto;
        max-height: none;
    }

    .illustration-panel {
        min-height: 200px;
        padding: 2rem;
    }

    .illustration-panel img {
        max-height: 180px;
    }

    .login-panel {
        padding: 2rem 1.5rem;
    }

    .form {
        max-width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .illustration-panel img {
        max-height: 400px;
    }
}