body, html, .grid-container-login {
    background-color: #16494D;
}

.grid-container-login {
    padding: 15px;
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    width: 100%;
    height: 100%;
    position: relative;
}

/* Background links styled as grid items */
.grid-item-login {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
    border-radius: 10px;
}

.grid-item-login:hover {
    transform: scale(1.01);
}

/* Center Modal */
.modal-login {
    position: absolute;
    width: 550px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 30px 100px;
    text-align: center;
}


.modal-content-login p {
    margin: 10px 0;
    font-size: 0.9rem;
    color: #666;
}

.app-header__container {
    height: 0;
    padding-top: 20px;
    padding-bottom: 70px;
}

.register-page .modal-login {
    top: 50px;
    bottom: 50px;
    right: 50px;
    left: unset;
    width: 750px;
    transform: none;
}

.register-page .login-modal-dump {
    width: 750px;
}

.register-page .pp-register-content {
    padding-right: 800px;
}

.lang-dropdown__item-body {
    text-align: left;
}

.login-register input {
    height: 50px !important;
}

.input-label {
    text-align: left;
    font-size: 16px;
    font-weight: 400;
    margin-top: 5px !important;
}

.app-header__lang-dropdown {
    margin-top: 10px;
}

.app-logo {
    font-size: 20px;
}

.modal-content-login p a:hover {
    text-decoration: underline;
}

.terms-login {
    font-size: 0.8rem;
    margin-top: 15px;
    color: #888;
}

.terms-login a {
    color: #4caf50;
    text-decoration: none;
}

.terms-login a:hover {
    text-decoration: underline;
}

.register-page .app-header__actions {
    display: flex;
    align-items: center;
}

.register-page .app-header__lang-switcher {
    display: flex;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    background: none;
    align-items: center;
    color: #000;
    padding: 0;
    cursor: pointer;
}

.log-in-page .app-header__actions {
    display: flex;
    align-items: center;
}

.log-in-page .app-header__lang-switcher {
    display: flex;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    background: none;
    align-items: center;
    color: #000;
    padding: 0;
    cursor: pointer;
}

.register-page .select2-container--krajee-bs3 .select2-selection--single {
    height: 50px;
}

.register-page .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 50px;
}

.register-page .select2-selection__placeholder {
    font-size: 16px !important;
}

.register-page .select2-container--krajee-bs3 .select2-selection--single .select2-selection__arrow b {
    top: 25px !important;
}

.register-form-footer {
    padding-top: 20px;
}

.register-hr {
    display: none;
}

.pp-auth__form-name-2 {
    color: #03353d;
}

@media (min-width: 992px) {
    .container, .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 768px) {
    .app-header__lang {
        margin-right: 0;
        display: block;
    }
}

@media (max-width: 1440px) {
    .register-page .pp-register-content {
        display: none;
    }

    .register-page .modal-login {
        transform: translate(-50%, 0%);
        left: 50%;
    }
}

@media (max-width: 700px) {
    .log-in-page .app-header__container {
        padding-bottom: 100px;
    }

    .log-in-page .grid-item-login {
        display: none;
    }

    .log-in-page .modal-login {
        transform:none;
        top: 20px;
        bottom: 20px;
        left: 20px;
        right: 20px;
        width: calc(100% - 40px);
        padding: 20px 10px;
    }

    .log-in-page .login-register {
        transform: translate(0, -50%);
        position: absolute;
        top: 50%;
        margin-left: -10px;
        width: 100%;
    }
}

@media (max-width: 800px) {
    .full-pp-btn-success {
        font-size: 16px;
        padding: 8px 0;
    }

    .register-page .select2-container--krajee-bs3 .select2-selection--single {
        height: 40px;
    }

    .register-page .select2-container .select2-selection--single .select2-selection__rendered {
        line-height: 40px;
    }

    .register-page .select2-selection__placeholder {
        font-size: 14px !important;
    }

    .register-page .select2-container--krajee-bs3 .select2-selection--single .select2-selection__arrow b {
        top: 20px !important;
    }

    .login-register input {
        height: 40px!important;
        font-size: 14px !important;
    }

    .register-page .app-header__container {
        padding-bottom: 100px;
    }

    .register-hr {
        display: block;
    }

    .register-page .modal-login {
        transform:none;
        top: 20px;
        bottom: 20px;
        left: 20px;
        right: 20px;
        width: calc(100% - 40px);
        padding: 20px 10px;
    }
}