
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.jumbotron {
    position: relative;
    height: 80vh; /* Full height */
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #00264d, #00509e);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.title {
    margin-top: 20px;
    font-size: 28px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
}

/* Higher-contrast AA/CUN login style */
.company-1 .title {
    background: rgba(0, 20, 48, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
    width: auto;
    height: 140px;
}

.center-image {
    max-width: 90%;
    height: auto;
    margin: 20px 0;
    border: 2px solid #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.company-1 .center-image {
    border-color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
    filter: brightness(0.82) contrast(1.08);
}

footer {
    margin-bottom: 20px;
    font-size: 14px;
}

.small {
    background-color: #fff;
    margin-top: 10em;
    max-width: 550px;
    border: 2px solid;
    border-color: #fff;
    border-radius: 25px;
}
.logo-top-right {
    position: absolute; /* Ensure it floats above other content */
    top: 20px;          /* Distance from the top */
    right: 30px;        /* Distance from the right */
    z-index: 1000;      /* Ensure it is above other elements */
}

.login-box {
    position: absolute;
    top: 20%;
    width: 100%;
    max-width: 500px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9); /* Slightly transparent background */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Subtle shadow */
}

.company-1 .login-box {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(0, 45, 96, 0.2);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
}

.login-box h2 {
    margin-bottom: 20px;
    text-align: center;
    color: black;
}

.company-1 .login-box h2 {
    color: #0b1f3b;
    font-weight: 700;
}

.form-control {
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent fields */
    border: none;
}

.company-1 .form-control {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #9fb6d1;
}

.company-1 .form-control::placeholder {
    color: #4b5563;
    opacity: 1;
}

.company-1 .btn.btn-primary {
    background: #0a3f7a;
    border-color: #083564;
    color: #ffffff;
    font-weight: 600;
}

.company-1 .btn.btn-primary:hover,
.company-1 .btn.btn-primary:focus {
    background: #072f5c;
    border-color: #052446;
}

@media screen and (max-width: 768px) {
    
    .jumbotron {
        height: 100vh;
    }

    .title {
        position: absolute;
        top: 10px;
        width: 100%;
    }
    .login-box {
        top: 20%;
        width: 90%;
    } 

    .center-image {
        visibility: hidden;
    }
}
