
:root {
    --theme-color: #ed3629;
    --theme-text: #E02826;
    --theme-transparancy: #ed3629;
    --theme-linear-color: linear-gradient(188deg, #f44336 0%, #ff354785 35%, #dc3545 100%);
    --theme-linear-color2: linear-gradient(188deg, #f44336 0%, #ff354785 35%, #dc3545 100%);
    --theme-radial-color: radial-gradient(circle, rgba(255, 0, 0, 0.5) 0%, rgba(255, 0, 0, 0) 70%);
    --ui-radius-sm: 10px;
    --ui-radius-md: 14px;
    --ui-radius-lg: 20px;
}

body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;

}

body {
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
}

.content.login-nh {
    display: grid;
    grid-template-columns: 1fr  1fr;
    background:  radial-gradient(circle, #ff0000 0%, #cc0000 40%, #990000 80%, #660000 100%);
    width: 100vw;
    height: 100%;
}

.content.login-nh ._left_section {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-basis: 50%;
    justify-content: center;
    background: url(../../img/kol/networked-bg.svg);
    background-position: center;
    background-size: cover;
    mix-blend-mode: lighten;
}

._right_section {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    flex-basis: 50%;
    height: 100%;
    justify-content: center;
    /*background-position: 15%;*/
}

.content.login-nh .landing-logo {
    width: 50%;
}


.login_logo {
    border-right: 1px solid #eee;
    padding: 68px 50px;
}


.input-icon {
    position: relative;
    left: 0;
}

.input-icon > i {
    color: #ccc;
    position: absolute;
    margin: 11px 2px 4px 10px;
    z-index: 3;
    width: 16px;
    font-size: 16px;
    text-align: center;
    left: 0;
}

.input-icon > .form-control {
    padding-left: 33px;
}

a[disabled] {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

.back-link-container {
    pointer-events: auto;
    cursor: pointer;
    color: white;
    text-decoration: none;
    margin-bottom: 20px;
    position: absolute;
    display: flex;
    top: 20px;
    left: 40px;
}

.back-link {
    pointer-events: auto;
    color: #FFFFFF;
    display: inline-flex;
    justify-items: center;
    position: relative;
    z-index: 2;
    align-items: center;
}

.back-link p,
.back-link img {
    pointer-events: auto;
    display: inline-flex;
    position: relative;
    z-index: 1;
    margin: 0 5px;
}

.back-link img {
    max-width: 25px;
}


.back-link:hover {
    color: #eee;
    text-decoration: none;
}

.back-link i {
    margin-right: 5px;
    pointer-events: auto;
}



.login_section {
    display: none;
    margin-top: 5dvh;
}

.login_section.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    justify-content: center;
}

.login_section.registration_section {
    margin-top: 5dvh;
}


.login_section .landing_options{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login_section .landing-buttons{
    display: flex;
}

.theme-text {
    color: var(--theme-text);
}

.login_section .round-landing-logo {
    margin: 30px;
    max-width: 200px;
    height: auto;
}


.btn-password-recover {
    color: #2b3643;
    text-decoration: underline;
    font-size: 11px;
}

.btn-danger {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
    padding: 10px 12px;
}

a.btn, button.btn {
    padding: 20px 45px;
    margin: 15px 10px;
    color: white;
    border-radius: var(--ui-radius-sm);
}

a.btn.btn-login,
a.btn.btn-registration ,
button.btn.btn-login,
button.btn.btn-registration {
    padding: 5px 30px;
    margin: 0 10px;
    color: white;
}

.landing-buttons button {
    padding: 20px 45px;
    margin: 15px 10px;
}

.landing-contacts .contact-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    box-shadow: 5px 7px 20px #00000026;
    border-radius: var(--ui-radius-md);
    padding: 10px;
    margin-top: 60px;
}

.landing-contacts .contact-item .contact-text {
    font-size: 25px;
    font-weight: 200;
}

.landing-contacts .contact-item .contact-text span {
    display: block;
}

.landing-contacts .contact-item .contact-text strong {
    font-weight: 700;
    font-size: 30px;
    color: #6c757d;
}

.landing-contacts .contact-item img {
    display: inline-block;
    margin: 10px;
    max-width: 70px;
}

.form_section {
    padding: 0;
    width: 25dvw;
}

.form_section.apply_connection_form_section{
    padding: 0;
    width: 30dvw;
}

.form_section.apply_connection_form_section .form-control{
    border-radius: var(--ui-radius-sm) !important;
}

.form_section.apply_connection_form_section .submit-section{
    display: grid;
    grid-template-columns: auto;
    gap: 20px;
    align-self: center;
}

.form_section.apply_connection_form_section .submit-section div{
    text-align: center;
}

.login_section .g-recaptcha {
    display: flex;
    justify-content: center;
}

.form-title {
    text-align: center;
    font-size: 20px;
    padding: 16px;
}

.form-title.basvuru-title {
    color: var(--theme-text);
    font-size: 15px;
}

.form_section .input-icon > .form-control {
    border-radius: var(--ui-radius-sm) !important;
}

.form_section .input-icon > input[type=password].form-control {
    /*border-radius: 20px 0 0 20px !important;*/
    border-bottom: 0;
    border-top: 0;
    border-right: 0;
}

.form_section .login_action_btn {
    color: #fff;
    width: 140px;
    font-size: 13px;
}

.password-grp-input {
    display: flex;
    flex-direction: row;
    border: 1px solid #ced4da;
    border-radius: var(--ui-radius-sm) !important;
    background-color: #fff;
}

.form_basvur {
    display: flex;
    flex-direction: column;
}

.apply_connection_form_section .btn {
    min-width: 200px;
}

.password-grp-input .input-icon {
    flex: 2;
}

.switch-pswd {
    padding: 5px;
    font-size: 20px;
    opacity: 0.6;
}

.switch-pswd i {
    cursor: pointer;
}

.hide {
    display: none !important;
}

.show {
    display: block !important;
}


.btn.green:not(.btn-outline) {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
    padding: 10px 12px;
}

.btn.green:not(.btn-outline).reset-btn {
    border: 1px solid #FFFFFF;
    background: #707070;
    padding: 10px 12px;
}


#notify_login_success {
    background: green;
    color: #fff;
}

#notify_login_error {
    background: red;
    color: #fff;
}

.app-icons {
    max-width: 120px;
}

/* Mobile */
@media only screen
and (max-device-width: 768px) {
    .login_section .round-landing-logo {
        margin: 20px;
        max-width: 136px;
    }
}


/* ----------- iPad 1, 2, Mini and Air ----------- */

/* Portrait and Landscape */
@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (-webkit-min-device-pixel-ratio: 1) {
    .content.login-nh {
        display: grid;
        grid-template-columns: 1fr  1fr;
        width: 100vw;
        height: 100%;
    }
    .login_section {
        margin-top: 0;
    }
}


/* ----------- iPhone 4 and 4S ----------- */

/* Portrait and Landscape */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 480px) {

    .content.login-nh {
        grid-template-columns: 1fr; /* Single column for mobile */
        grid-template-rows: 1fr; /* Ensure full height */
    }

    .content.login-nh ._left_section{
        display: none;
    }

    .login_section,
    .login_section.registration_section {
        margin-top: 0;
    }


    a.btn, button.btn {
        padding: 15px 25px;
        font-size: 11px;
    }

    .back-link {
        color: var(--theme-color);
    }

    .landing-buttons button {
        padding: 15px 35px;
        margin: 15px 10px;
    }

    .form_section {
        padding: 20px;
        margin: auto;
        text-align: center;
        width: 90dvw;
    }

    .form_section.apply_connection_form_section {
        padding: 0;
        width: 90dvw;
    }


    .form-title {
        text-align: center;
        font-size: 16px;
        padding: 5px;
    }



    .app-icons {
        max-width: 140px;
    }
}

/*Anything smaller than desktop*/
@media (max-width: 912px) {
    ._left_section {
        display: none;
    }
}

/* Legacy-safe responsive overrides */
body {
    position: relative;
    min-height: 100vh;
    height: auto;
    overflow-x: hidden;
}

.content.login-nh {
    min-height: 100vh;
    height: auto;
}

@media (max-width: 1024px) {
    body {
        position: relative !important;
        height: auto !important;
    }

    .content.login-nh {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .content.login-nh ._left_section {
        display: none !important;
    }

    .content.login-nh ._right_section {
        width: 100%;
        padding: 20px 12px;
        justify-content: flex-start;
    }

    .login_section,
    .login_section.registration_section {
        margin-top: 0 !important;
        width: 100%;
    }

    .login_section .landing-buttons {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .login_section .landing-buttons .btn {
        width: 100%;
        margin: 0;
    }

    .form_section,
    .form_section.apply_connection_form_section {
        width: min(100%, 560px) !important;
        padding: 12px;
    }
}
