.content h1,.content h1 a{ text-align:center; text-decoration:none;}
.content input{ margin:10px 0px 10px 0px; height:50px; }

#reg_by_vk{ margin:0 auto; display:block; position:relative; width:400px; float:right; background:url('/img/logo-vk-full.jpg') no-repeat; background-position:right; background-size:contain; text-align:left; border:0px;}

#reg_by_google{ margin:0 auto; display:block; position:relative; width:50px; float:right; background:url('/img/google.png') no-repeat; background-position:right; background-size:contain; text-align:left; border:0px;}


#reg_by_facebook{ margin:0 auto; display:block; position:relative; width:50px; float:right; background:url('/img/fb_icon_325x325.png') no-repeat; background-position:right; background-size:contain; text-align:left; border:0px;}




/* xs — до 575px */
@media screen and (max-height: 575.98px) {
    #loginForm {
        min-height: 500px;
    }
}
/* sm — 576px і більше */
@media screen and (min-height: 576px) and (max-height: 767.98px) {
  #loginForm {
    min-height: 600px;
  }
}

/* md — 768px і більше */
@media screen and (min-height: 768px) and (max-height: 991.98px) {
  #loginForm {
    min-height: 700px;
  }     
  }


/* lg — 992px і більше */
@media screen and (min-height: 992px) and (max-height: 1199.98px) {
  #loginForm {
    min-height: 800px;
  }
}

/* xl — 1200px і більше */
@media screen and (min-height: 1200px) and (max-height: 1399.98px) {
  #loginForm {
    min-height: 900px;
  }
}

/* xxl — 1400px і більше */
@media screen and (min-height: 1400px) {
  #loginForm {
    min-height: 1000px;
  }
}

.trust-block {
    cursor: default;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem;
    transition: all 0.3s ease-in-out;
    max-width: 350px; /* ширина блоку */
    overflow: hidden;
  }

  /* текст прихований за замовчуванням */
  .trust-text {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s ease-in-out;
  }

  /* при hover */
  .trust-block:hover {
    padding: 0.25rem 0.5rem;
    color: #fff;
  }

  .trust-block:hover .trust-text {
    max-width: 280px; /* розкриття блоку */
    opacity: 1;
    margin-right: 0.5rem;
  }

  /* іконки кольорові у нормі */
  .trust-success i { color: #198754; }
  .trust-danger i { color: #dc3545; }

  /* при hover стають білими */
  .trust-block:hover i {
    color: #fff !important;
  }

  /* фон при hover */
  .trust-success:hover { background-color: #198754; }
  .trust-danger:hover { background-color: #dc3545; }

  /* ефект пробігаючого рядка */
.trust-block:hover .trust-text span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 8s linear infinite;
  }

/* Login refresh: a calmer card, clear actions and touch-friendly controls. */
.login-card {
    background: var(--bs-body-bg, #fff);
    box-shadow: 0 1rem 3rem rgba(31, 41, 55, .12);
}

.login-brand img {
    max-height: 88px;
    object-fit: contain;
}

.login-card .form-control {
    min-height: 58px;
    border-radius: .75rem;
}

.login-card .form-control:focus {
    box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .15);
}

.login-card .btn-primary {
    min-height: 52px;
    border-radius: .75rem;
    font-weight: 600;
}

.password-toggle {
    z-index: 3;
    min-width: 42px;
    min-height: 42px;
}

.social-login__label {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--bs-secondary-color, #6c757d);
    font-size: .875rem;
    margin-bottom: .75rem;
}

.social-login__label::before,
.social-login__label::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--bs-border-color, #dee2e6);
}

.social-login__button {
    flex: 1;
    min-height: 46px;
    border-radius: .75rem;
    font-weight: 500;
}

#reg_by_google,
#reg_by_facebook,
#reg_by_vk {
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    background-position: .75rem center;
    background-size: 20px;
    padding-left: 2.5rem;
}

#reg_by_vk {
    width: 100%;
}

.login-trust {
    z-index: 4;
}

.trust-block:focus-visible,
.login-card a:focus-visible,
.login-card button:focus-visible {
    outline: 3px solid rgba(var(--bs-primary-rgb), .35);
    outline-offset: 2px;
}

@media (max-width: 575.98px) {
    .login-trust {
        transform: scale(.9);
        transform-origin: top right;
    }

    .trust-text {
        display: none;
    }

    .login-card {
        box-shadow: 0 .5rem 1.5rem rgba(31, 41, 55, .1);
    }
}

  @keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
  }
