/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");
/*=============== VARIABLES CSS ===============*/
:root {
    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --white-color: hsl(0, 0%, 100%);
    --black-color: hsl(0, 0%, 0%);
    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: "Poppins", sans-serif;
    --h1-font-size: 1.75rem;
    --normal-font-size: 1rem;
    --small-font-size: .813rem;
    /*========== Font weight ==========*/
    --font-medium: 500;
}

/*=============== BASE ===============*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body,
input,
button {
    font-size: var(--normal-font-size);
    font-family: var(--body-font);
}

body {
    color: var(--white-color);
}

input,
button {
    border: none;
    outline: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/*=============== LOGIN ===============*/
.login {
    position: relative;
    height: 100vh;
    display: grid;
    align-items: center;
    padding: 0 10px;
}

.login__img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.login__form {
    position: relative;
    background-color: hsla(0, 0%, 10%, 0.1);
    border: 2px solid var(--white-color);
    margin-inline: 1.5rem;
    padding: 2.5rem 1.5rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.login__title {
    text-align: center;
    font-size: var(--h1-font-size);
    font-weight: var(--font-medium);
    margin-bottom: 2rem;
    /*color: #f4a312;*/
}

.login__content, .login__box {
    display: grid;
}

.login__content {
    row-gap: 1.75rem;
    margin-bottom: 1.5rem;
}

.login__box {
    grid-template-columns: max-content 1fr;
    align-items: end;
    column-gap: 0.75rem;
    border-bottom: 2px solid var(--white-color);
}

.login__icon, .login__eye {
    font-size: 1.25rem;
}

.login__icon {
    padding-bottom: 0.6rem;
}

.login__input, .form-control {
    width: 100%;
    padding-block: 0.8rem;
    background: none;
    color: var(--white-color);
    position: relative;
    z-index: 1;
}

.login__box-input {
    position: relative;
}

.login__label, .control-label {
    position: absolute;
    left: 0;
    top: 13px;
    font-weight: var(--font-medium);
    transition: top 0.3s, font-size 0.3s;
}

.login__eye {
    position: absolute;
    right: 0;
    top: 11px;
    z-index: 10;
    cursor: pointer;
}

.login__box:nth-child(2) input {
    padding-right: 1.8rem;
}

.login__check, .login__check-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.login__check {
    margin-bottom: 1.5rem;
}

.login__check-label, .login__forgot, .login__register {
    font-size: var(--small-font-size);
}

.login__check-group {
    column-gap: 0.5rem;
}

.login__check-input {
    width: 16px;
    height: 16px;
}

.login__forgot {
    color: var(--white-color);
}

.login__forgot:hover {
    text-decoration: underline;
}

.login__button {
    width: 100%;
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: var(--white-color);
    font-weight: var(--font-medium);
    cursor: pointer;
    margin-bottom: 2rem;
    color: #676767;
}

.login__register {
    text-align: center;
}

.login__register a {
    color: var(--white-color);
    font-weight: var(--font-medium);
}

.login__register a:hover {
    text-decoration: underline;
}

/* Input focus move up label */
.login__input:focus + .login__label, .login__input:focus + .control-label {
    top: -12px;
    font-size: var(--small-font-size);
}

/* Input focus sticky top label */
.login__input:not(:placeholder-shown).login__input:not(:focus) + .login__label, .login__input:not(:placeholder-shown).login__input:not(:focus) + .control-label {
    top: -12px;
    font-size: var(--small-font-size);
}

/*=============== BREAKPOINTS ===============*/
/* For medium devices */
@media screen and (min-width: 576px) {
    .login {
        justify-content: center;
    }

    .login__form {
        width: 432px;
        padding: 4rem 3rem 3.5rem;
        border-radius: 1.5rem;
    }

    .login__title {
        font-size: 2rem;
    }
}

.app-logo-wrap {
    background: rgba(255, 255, 255, 0.9); /* Цвет фона */
    display: inline-block;
    border-radius: 8px;
}

.app-logo {
    width: 298px;
    height: 65px;
    background: url('../../files/param/logo/logo.svg') 50% 50% no-repeat;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .app-logo {
        margin: 0;
    }
}

.company-name {
    font-weight: bold;
    font-size: 16px;
}

.form-group.has-error .help-block {
    color: #EF3737;
}

.form-control:focus {
    box-shadow: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-background-clip: text;
    -webkit-text-fill-color: #ffffff;
    transition: background-color 5000s ease-in-out 0s;
    box-shadow: inset 0 0 20px 20px #23232301;
}

.app-container {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    margin: 0;
}

.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.bg-plum-plate {
    background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.h-100 {
    height: 100vh !important;
}

.slick-slider .slide-img-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 50% 0;
    opacity: .4;
    z-index: 10;
}

.slider-light .slider-content {
    color: #fff;
}

.slick-slider .slider-content {
    position: relative;
    z-index: 15;
    text-align: center;
    margin: 0 6rem;
}

.slick-slider .slider-content h3 {
    font-size: 1.75rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
}

.slick-slider .slider-content p {
    font-size: 1rem;
    opacity: .7;
}

.app-logo {
    width: 240px;
    height: 75px;
    background: url('../files/param/logo/logo.svg') 50% 50% no-repeat;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .app-logo {
        margin: 0;
    }
}

.divider {
    margin-top: 1rem;
    margin-bottom: 1rem;
    height: 1px;
    overflow: hidden;
    background: #e9ecef;
}

.app-login-box h4 {
    margin-bottom: 1.5rem;
    font-weight: normal;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #d92550;
}

.badge {
    display: inline-block;
    font-size: 75%;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 5px 10px;
    min-width: 19px;
    letter-spacing: 1px;
}

.badge-info {
    color: #fff;
    background-color: #16aaff;
}

.app-login-box h4 span {
    font-size: 1.125rem;
}

.btn {
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-info {
    color: #fff;
    background-color: #16aaff;
    border-color: #16aaff;
}

.btn-info:hover {
    color: #242424;
    background-color: #138496;
    border-color: #117a8b;
}

.btn-check:focus + .btn, .btn:focus {
    box-shadow: none;
}

.btn-check:active + .btn:focus, .btn-check:checked + .btn:focus, .btn.active:focus, .btn.show:focus, .btn:active:focus {
    box-shadow: none;
}

.bg-cream {
    background: #eeeae3;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #3facc2;
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 24px;
}

.avatar.avatar-plus {
    background: #bfbfbf;
}

.rounded-xxl {
    border-radius: 18px;
}

/* Кнопка без стандартных Bootstrap эффектов */
.btn-profile {
    background-color: #eeeae3;
    border: none;
    text-align: left;
    width: 100%;
    transition: background-color 0.2s ease-in-out;
}

.btn-profile:hover, .btn-profile:focus {
    background-color: #e4dfd7;
    color: #425260;
}

.remembered-users a.remove-btn img {
    max-height: 100%;
    filter: brightness(0) saturate(100%) invert(22%) sepia(89%) saturate(6067%) hue-rotate(356deg) brightness(95%) contrast(102%);
    display: none;
}

.remembered-users .btn-profile:hover a.remove-btn img {
    display: block;
}

/* PIN login modal fullscreen */
#pinLoginModal .modal-dialog {
    max-width: 100%;
    width: 100%;
    height: 100%;
    margin: 0;
}

#pinLoginModal .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
}

/* PIN inputs */
#pinLoginModal .pin-inputs .pin-digit {
    width: 64px;
    height: 64px;
    font-size: 28px;
    line-height: 1;
    padding: 0;
    color: #ababab;
}

#pinLoginModal .pin-inputs {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
}

#pinLoginModal .pin-heading {
    font-size: 14px;
}

/* iPhone: do not show any masking symbol / last-character reveal while typing PIN */
html.is-iphone #pinLoginModal .pin-inputs .pin-digit {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
    caret-color: #ababab;
}

html.is-iphone #pinLoginModal .pin-inputs .pin-digit {
    transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

/* iPhone: highlight filled PIN cells */
html.is-iphone #pinLoginModal .pin-inputs .pin-digit.pin-filled {
    background-color: #bff7d7 !important;
    border-color: #bff7d7 !important;
    box-shadow: 0 0 0 0.15rem rgba(46, 204, 113, 0.25) !important;
}