* {
    box-sizing: border-box;
}
:root {
    --green-color: #00A350;
    --yellow-color:#F0E42F;
    --grey-color:#F8F8F9;
    --sage: #A7C4A0;
    --parchment: #F5F0E8;
    --font: "Jost", "Roboto", sans-serif;
    --font-display: "DM Serif Display", serif;
    --forest-green: #2D6A4F;
    --forest-dark: #1A2E1A;
    --leaf-green: #52B788;
    --bark: #3D2B1F;
}
body {
    margin:0;
    padding:0;
    background-color: #002558;
    font-family: "Roboto", sans-serif;
}

.success-message,
.error-message {
    color: #fff;
    padding: 3px 0;
    text-align: center;
    position: relative;
}
.success-message {
    background-color: #39c38d;
}
.success-message a {
    color: inherit;
    text-decoration: underline;
}
.error-message {
    background-color: #ad0e43;
}
.error-message a {
    color: inherit;
    text-decoration: underline;
}

.login-form img {
    max-width:100%;
}
.login-form .lf-logo {
    margin-bottom:25px;
}

.lf-box {
    background-color: rgba(255,255,255,0.7);
    padding: 35px;
    border-radius: 5px;
}

.lf-header {
    text-align: center;
}
.lf-header h2 {
    margin:0;
}

.login-form input[type=text],
.login-form input[type=email],
.login-form input[type=password] {
    width:100%;
    outline: 0;
    border-radius: 5px;
    background: #F2F2F2;
    border: 1px solid #FFF;
    margin: 0 0 15px;
    padding: 15px;
    box-sizing: border-box;
    font-size: 16px;
}

.login-form button {
    width:100%;
    text-transform: uppercase;
    outline: 0;
    border-radius: 10px;
    background: #002558;
    border: 0;
    padding: 15px;
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
}

.lf-footer {
    text-align: center;
    margin:15px 0 0 0;
    font-size: 14px;
}
.lf-footer a {
    color:inherit;
    text-decoration: none;
}

.lf-footer a:hover {
    text-decoration: underline;
}

/* Two-column login layout */
.login-form {
    display: flex;
    width: 100%;
    max-width: 900px;
    margin: 100px auto 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.login-left {
    position: relative;
    flex: 1;
    min-height: 400px;
    overflow: hidden;
}

.login-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 37, 88, 0.6);
}

.login-brand {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.login-brand h1 {
    margin: 10px 0 5px;
    font-family: "DM Serif Display", serif;
    font-size: 28px;
}

.login-brand p {
    margin: 0;
    opacity: 0.8;
    font-size: 14px;
}

.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.login-right .lf-box {
    background: transparent;
    width: 100%;
}

.btn-login {
    width: 100%;
    text-transform: uppercase;
    outline: 0;
    border-radius: 10px;
    background: #002558;
    border: 0;
    padding: 15px;
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
}

@media only screen and (max-width: 768px) {
    .login-form {
        flex-direction: column;
        margin: 0 auto;
        max-width: 100%;
        border-radius: 0;
    }
    .login-left {
        min-height: 200px;
    }
}
