/* Main background and overlay */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
    background: url(/Content/images/building.jpeg) !important;
    background-size: cover !important;
    background-position: center !important;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    body::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(108, 155, 207, 0.8); /* #6c9bcf with opacity */
        z-index: 0;
    }

/* Main container */
.login-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px; /* Add gap between login card and core values */
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 150px); /* Adjust to prevent overlap with footer */
    padding-bottom: 80px; /* Add padding to avoid footer overlap */
}

/* Login card */
.login-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    overflow: hidden;
}

.login-header {
    background-color: #6c9bcf;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.login-body {
    padding: 20px;
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

    .logo-container img {
        width: 80px; /* Fixed size for the logo */
        height: auto;
    }

/* Form styling */
.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: bold;
        color: #333;
    }

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

    .form-control:focus {
        border-color: #6c9bcf;
        outline: none;
        box-shadow: 0 0 5px rgba(108, 155, 207, 0.5);
    }

.btn-login {
    width: 100%;
    background-color: #6c9bcf;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 16px;
}

    .btn-login:hover {
        background-color: #5a8ac0;
    }

/* Forgot password link */
.forgot-password {
    text-align: center;
    margin-top: 10px;
}

    .forgot-password a {
        color: #6c9bcf;
        text-decoration: none;
        font-weight: bold;
    }

        .forgot-password a:hover {
            text-decoration: underline;
        }

/* Card footer */
.card-footer {
    text-align: center;
    padding: 15px;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
}

    .card-footer a {
        color: #6c9bcf;
        text-decoration: none;
        font-weight: bold;
    }

        .card-footer a:hover {
            text-decoration: underline;
        }

/* Core Values section */
.core-values {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 24px;
    border-radius: 8px;
    width: 280px;
}

.core-values-title {
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 24px;
    text-align: center;
}

.core-value-item {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 8px;
    color: white;
}

    .core-value-item i {
        margin-right: 12px;
        font-size: 20px;
    }

/* Core value items with different backgrounds */
.core-value-responsiveness {
    background: rgba(59, 130, 246, 0.8);
}

.core-value-independence {
    background: rgba(156, 163, 175, 0.8);
}

.core-value-fairness {
    background: rgba(147, 197, 253, 0.8);
}

.core-value-transparency {
    background: rgba(45, 212, 191, 0.8);
}

.core-value-integrity {
    background: rgba(59, 130, 246, 0.8);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .login-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .core-values {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .login-header {
        padding: 15px;
        font-size: 1.25rem;
    }

    .core-values {
        padding: 16px;
    }

    .core-values-title {
        font-size: 20px;
    }

    .core-value-item {
        padding: 10px;
    }
}
