/*-
 * #%L
 * File: custom-login.css
 * Project: Keycloak
 * %%
 * Copyright (C) 2022 - 2023 LEAP LLC
 * %%
 * Company: LEAP LLC
 * Email:   info@leap.vn
 * Product: Booking1A
 * Year: 2,022
 * 
 * Description: 
 *     This source code file contains confidential and proprietary information
 *     of LEAP LLC. Unauthorized reproduction, distribution, or 
 *     disclosure of this material is strictly prohibited.
 * Legal Notice:
 *     LEAP LLC reserves all rights to the source code contained
 *     in this file. This code may not be used, modified, or distributed
 *     without the express permission of LEAP LLC.
 * #L%
 */
@font-face {
  font-family: 'BVPro';
  src: url('../fonts/Be_Vietnam_Pro/BeVietnamPro-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --ba-global-font: BVPro;
  --ba-primary-01: #c80a1f;
  --ba-primary-02: #00b3db;
  --ba-global-background-color: #f7f6f2;
  --ba-neutrals-06: #e2e2e2;
  --ba-neutrals-07: #f0f0f0;
  --ba-neutrals-08: #fff;
  --ba-text-font-large: 14px;
  --ba-text-font-medium: 12px;
  --ba-text-font-small: 10px;
  --ba-title-font-large: 22px;
  --ba-title-font-medium: 20px;
  --ba-title-font-small: 18px;
  --ba-form-border-radius: 0.375rem;
  --ba-form-button-height: 40px;
}

h3 {
  font-family: var(--ba-global-font);
  font-weight: 600;
}

a {
  font-size: var(--ba-text-font-medium);
}

.login-pf {
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  background: none;
  height: 100%;
  font-size: var(--ba-text-font-large) !important;
}

.login-pf body {
  background-color: var(--ba-global-background-color) !important;
  background: url(../images/pnr_bg.webp) no-repeat center center fixed;
  background-size: cover;
  overflow: auto;
}

/* Login Page */
#kc-back-to-home {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ba-form-card {
  font-family: var(--ba-global-font);
  background-color: var(--ba-neutrals-08);
}

#ba-form-card .ba-action-title {
  text-align: center;
  font-size: var(--ba-title-font-large);
  font-weight: 700;
  line-height: 28px;
}

#ba-form-card input {
  border-radius: var(--ba-form-border-radius);
}

#ba-form-card .ba-action-button {
  padding: 10px 25px;
  border-radius: var(--ba-form-border-radius);
  background: var(--ba-primary-01);
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.ba-action-button:hover {
  background-color: var(--ba-primary-02);
  color: white;
}

.ba-action-button .ba-action-button-text {
  font-style: normal;
  line-height: 16px;
  color: #fcfcfd;
}

.card-pf {
  border-top: none !important;
  border-color: initial !important;
  border-radius: var(--ba-form-border-radius);
}

.close-alert-button {
  background: transparent;
  border: none;
  position: absolute;
  top: 0;
  right: 5px;
  padding: 0;
}

#ba-login-alert {
  width: 100%;
  display: flex !important;
  align-items: center;
}

.kc-feedback-text {
  margin-right: 20px;
}

.ba-status-icon {
  margin-right: 12px;
}

#ba-form-card .dropdown {
  position: relative;
  top: -20px;
}

#ba-form-card .dropdown #dropdownMenuButton {
  border: none;
  box-shadow: none;
}

#ba-form-card .ba-btn-password-visibility {
  bottom: 5px;
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  outline: none;
}

.ba-btn-password-visibility::after {
  border: none;
}

#kc-locale-dropdown .dropdown-menu {
  min-width: unset;
  width: 60px;
}

#kc-locale-dropdown button {
  padding: 5px;
}

.alert-error {
  border-left: 4px solid #c00000;
  --bs-alert-color: #842029;
  --bs-alert-bg: #f8d7da;
  --bs-alert-border-color: #f5c2c7;
}

.alert-error .close-alert-button {
  color: #c00000;
  font-size: var(--ba-title-font-medium);
}

.alert-info {
  border-left: 4px solid #0087e9;
}

.alert-info .close-alert-button {
  color: #0087e9;
}

.alert-success {
  border-left: 4px solid #00ba3f;
}

.alert-success .close-alert-button {
  color: #00ba3f;
}

.alert-warning {
  border-left: 4px solid #f4a223;
  border-top: none;
  border-radius: 5px;
}

.alert-warning .close-alert-button {
  color: #f4a223;
}

.login-pf-page .login-pf-header {
  position: relative;
}

.login-pf-page-header #kc-header-wrapper {
  width: 120px;
  height: 90px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-indent: -9999px;
}

.login-pf-signup {
  display: none;
}

#kc-info-wrapper {
  text-align: center;
}

#kc-info .login-reset-info {
  border-radius: var(--ba-form-border-radius);
}

.pf-c-form__label-text {
  padding-bottom: 0.5rem;
}

#kc-content-wrapper p.instruction {
  margin: 10px 0 0 0;
  background-color: var(--ba-neutrals-07);
  padding: 10px 0px;
  text-align: center;
  border-radius: var(--ba-form-border-radius);
  color: black !important;
}

.ba-info-text {
  font-size: 13px;
  font-family: var(--ba-global-font);
}

.back-to-application-btn {
  padding: 10px 25px;
  border-radius: var(--ba-form-border-radius);
  background: var(--ba-primary-01);
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}

.back-to-application-btn:hover {
  text-decoration: none;
  color: #fff !important;
  font-weight: 700;
}

@media (max-width: 767px) {
  .login-pf-page .card-pf {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}
