/*
 * SEARCA Project Management System Login
 * Primary: #0f4804
 * Secondary: #ebe9d2
 */

html,
body {
    min-height: 100%;
}

body.searca-login-page {
    margin: 0;
    background-color: #f4f7f3;
    color: #344132;
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.login-page-wrapper {
    display: table;
    width: 100%;
    min-height: 100vh;
}

/* =========================================================
   LEFT BRAND PANEL
   ========================================================= */

.login-brand-panel {
    display: table-cell;
    width: 43%;
    padding: 60px;
    vertical-align: middle;
    background:
        linear-gradient(
            rgba(15, 72, 4, 0.94),
            rgba(11, 56, 3, 0.97)
        );
    color: #ffffff;
}

.brand-content {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.brand-logo {
    margin-bottom: 30px;
}

.brand-logo img {
    display: block;
    max-width: 210px;
    max-height: 90px;
}

.brand-title {
    margin-bottom: 18px;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
}

.brand-description {
    max-width: 470px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 17px;
    line-height: 1.65;
}

.brand-divider {
    width: 70px;
    height: 3px;
    margin: 30px 0;
    background-color: #ebe9d2;
}

.brand-footer {
    max-width: 430px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.6;
}

/* =========================================================
   RIGHT LOGIN PANEL
   ========================================================= */

.login-form-panel {
    display: table-cell;
    width: 57%;
    padding: 50px 30px;
    vertical-align: middle;
    background-color: #f6faf5;
}

.login-box-custom {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 42px;
    background-color: #ffffff;
    border: 1px solid #dbe5d8;
    border-radius: 8px;
    box-shadow: 0 10px 35px rgba(15, 72, 4, 0.09);
}

.login-heading {
    margin-bottom: 30px;
}

.login-heading h1 {
    margin: 0 0 8px;
    color: #0f4804;
    font-size: 26px;
    font-weight: 600;
}

.login-heading p {
    margin: 0;
    color: #727c70;
    font-size: 14px;
    line-height: 1.5;
}

/* =========================================================
   FORM ELEMENTS
   ========================================================= */

.login-box-custom .form-group {
    position: relative;
    margin-bottom: 20px;
}

.login-box-custom .form-group label {
    display: block;
    margin-bottom: 7px;
    color: #3f4c3d;
    font-size: 13px;
    font-weight: 600;
}

.login-box-custom .form-control {
    height: 46px;
    padding: 10px 44px 10px 13px;
    border: 1px solid #ccd9c9;
    border-radius: 4px;
    background-color: #ffffff;
    color: #354333;
    font-size: 14px;
    box-shadow: none;
}

.login-box-custom .form-control:focus {
    border-color: #5c8a53;
    box-shadow: 0 0 0 2px rgba(15, 72, 4, 0.08);
}

.login-box-custom .form-control-feedback {
    top: 29px;
    right: 4px;
    width: 40px;
    height: 46px;
    color: #839080;
    line-height: 46px;
}

.login-box-custom .has-error .form-control {
    border-color: #c65b55;
}

.login-box-custom .help-block {
    margin: 5px 0 0;
    font-size: 12px;
}

.password-toggle {
    position: absolute;
    top: 30px;
    right: 2px;
    z-index: 4;
    width: 42px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #778674;
    text-align: center;
    outline: none;
}

.password-toggle:hover,
.password-toggle:focus {
    color: #0f4804;
}

/* =========================================================
   LOGIN OPTIONS
   ========================================================= */

.login-options {
    margin: 0 0 22px;
    font-size: 13px;
}

.remember-option {
    margin: 0;
    color: #596556;
    cursor: pointer;
    font-weight: 400;
}

.remember-option input {
    margin: 0 6px 0 0;
    vertical-align: middle;
}

.forgot-password {
    color: #0f4804;
    font-weight: 600;
}

.forgot-password:hover,
.forgot-password:focus {
    color: #0a3202;
    text-decoration: underline;
}

/* =========================================================
   PRIMARY LOGIN BUTTON
   ========================================================= */

.btn-searca-login {
    height: 48px;
    border-color: #0b3803;
    border-radius: 4px;
    background-color: #0f4804;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
}

.btn-searca-login:hover,
.btn-searca-login:focus,
.btn-searca-login:active {
    border-color: #082d02;
    background-color: #0b3803;
    color: #ffffff;
}

.btn-searca-login[disabled] {
    border-color: #587951;
    background-color: #698562;
    opacity: 1;
}

.btn-searca-login .fa {
    margin-right: 7px;
}

/* =========================================================
   SEPARATOR
   ========================================================= */

.login-separator {
    position: relative;
    margin: 27px 0 22px;
    color: #90978e;
    text-align: center;
    font-size: 12px;
}

.login-separator:before {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    background-color: #e0e7de;
    content: "";
}

.login-separator span {
    position: relative;
    z-index: 2;
    padding: 0 13px;
    background-color: #ffffff;
}

/* =========================================================
   MICROSOFT 365 BUTTON
   ========================================================= */

.btn-office365 {
    position: relative;
    display: flex;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid #bebfc2;
    border-radius: 4px;
    background-color: #ffffff;
    color: #343434;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.btn-office365:hover,
.btn-office365:focus,
.btn-office365:active {
    border-color: #92959a;
    background-color: #f5f5f5;
    color: #222222;
    text-decoration: none;
}

.microsoft-logo {
    display: inline-grid;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    grid-template-columns: 8px 8px;
    grid-template-rows: 8px 8px;
    gap: 2px;
}

.ms-square {
    display: block;
    width: 8px;
    height: 8px;
}

.ms-red {
    background-color: #f25022;
}

.ms-green {
    background-color: #7fba00;
}

.ms-blue {
    background-color: #00a4ef;
}

.ms-yellow {
    background-color: #ffb900;
}

.login-notice {
    margin-top: 12px;
    color: #858d83;
    text-align: center;
    font-size: 11px;
    line-height: 1.5;
}

/* =========================================================
   ALERTS
   ========================================================= */

.login-alert {
    margin-bottom: 22px;
    padding: 11px 13px;
    border-radius: 4px;
    font-size: 13px;
}

.login-alert .fa {
    margin-right: 6px;
}

.alert-success.login-alert {
    border-color: #bfd6ba;
    background-color: #edf6eb;
    color: #0f4804;
}

/* =========================================================
   FOOTER
   ========================================================= */

.login-form-footer {
    margin-top: 31px;
    padding-top: 19px;
    border-top: 1px solid #e5ebe3;
    color: #939a91;
    text-align: center;
    font-size: 11px;
}

.login-form-footer a {
    color: #60715d;
}

.login-form-footer a:hover,
.login-form-footer a:focus {
    color: #0f4804;
}

.footer-separator {
    display: inline-block;
    margin: 0 7px;
    color: #c5cbc3;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {
    .login-brand-panel {
        width: 40%;
        padding: 45px 35px;
    }

    .login-form-panel {
        width: 60%;
    }

    .brand-title {
        font-size: 27px;
    }

    .login-box-custom {
        padding: 35px;
    }
}

@media (max-width: 767px) {
    .login-page-wrapper {
        display: block;
    }

    .login-brand-panel,
    .login-form-panel {
        display: block;
        width: 100%;
    }

    .login-brand-panel {
        min-height: auto;
        padding: 28px 24px;
    }

    .brand-logo {
        margin-bottom: 17px;
    }

    .brand-logo img {
        max-width: 170px;
        max-height: 65px;
    }

    .brand-title {
        margin-bottom: 8px;
        font-size: 22px;
    }

    .brand-description {
        display: none;
    }

    .brand-divider,
    .brand-footer {
        display: none;
    }

    .login-form-panel {
        padding: 25px 15px;
    }

    .login-box-custom {
        max-width: 500px;
        padding: 28px 22px;
        border-radius: 6px;
    }

    .login-heading h1 {
        font-size: 23px;
    }
}

@media (max-width: 400px) {
    .login-options .pull-left,
    .login-options .pull-right {
        float: none !important;
        display: block;
    }

    .forgot-password {
        margin-top: 10px;
    }
}