﻿/* Login custom Styles */
body {
    background-color: #F5F9FA;
}

.login-buttons-container {
    display: block;
}

.login-buttons-container .btn-primary {
    width: 100%;
}

.login-buttons-container a {
    display: block;
    margin-top: 10px;
    text-align: center;
}

/* Main login section container */
.login-section {
    max-width: 520px;
    margin: 0 auto;
}

/* Collapsed section container */
.login-section-collapsed {
    max-width: 520px;
    margin: 0 auto;
    padding: 30px 40px 40px 40px;
    border-top: 1px solid #BBCACE;
    margin-top: 20px;
}

.section-title {
    font-size: 20px;
    margin-bottom: 3px;
    font-weight: bold;
}

.section-description {
    color: #475659;
    margin-bottom: 20px;
}

.form-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.form-header .fa-aller {
    font-size: 63px;
}

.form-header .text-section {
    margin-left: 15px;
}

.form-header .text-section h3 {
    font-size: 32px;
    font-weight: bold;
}

.form-header .text-section p {
    margin-bottom: 0;
    font-size: 12px;
}

.sign-in-body {
    padding: 56px 40px 40px 40px;
    border-radius: 32px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #BBCACE;
}

.sign-in-body .text-section {
    margin-bottom: 40px;
}

.login-section #sign-on-button {
    width: 100%;
}

.login-section > .form-check {
    margin: 20px 0 0 10px;
}

.remember-me-check {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.remember-me-check .forgot-password-link {
    margin-right: 20px;
}

.remember-me-check .forgot-password-link a {
    color: #152326CC;
    font-size: 12px;
}

.login-section .btn-sign-in,
.login-section-collapsed .btn-sign-in {
    width: 100%;
}

.forget-password-container {
    max-width: 520px;
    margin: 0 auto;
}

.back-link-container {
    text-decoration: none;
    padding: 15px 20px 15px 10px;
    display: block;
    transition: all 0.5s ease;
    margin-bottom: 20px;
    width: fit-content;
}

.back-link-container span {
    color: #475659;
}

.back-link-container:hover {
    opacity: 0.5;
}

.back-link-container .fa-arrow-left {
    position: relative;
    top: 1px;
    margin-right: 5px;
}

.back-link-container a {
    padding: 10px;
}

.forget-password-container .btn-primary {
    width: 100%;
}

.error-message {
    color: #C73A3A;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.error-message .error-icon {
    margin-right: 10px;
    font-size: 24px;
}

/* Temporary fix to hide breadcrumbs on login. Should be fixed properly later - Igor Mazur, 07.10.2024 */

.breadcrumb {
    display: none;
}

.nav .btn-danger {
    display: none; 
}

/* Temporary fix to hide breadcrumbs on login. Should be fixed properly later - Igor Mazur, 07.10.2024 */

@media (min-width: 540px) {
    .login-buttons-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .login-buttons-container .btn-primary {
        width: auto;
    }

    .login-buttons-container a {
        margin-top: 0;
    }
}

/* password field */
.password-wrapper {
  position: relative;
}

.with-password-toggle {
  padding-right: 2.5rem;
  background-color: #fff; 
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: .75rem;
  transform: translateY(-50%);
  cursor: pointer;
  line-height: 1;
  padding: .25rem;
  color: #6c757d;
  z-index: 3;
}

.password-toggle:hover {
  color: #343a40;
}

.password-toggle:focus {
  outline: 0;
  border-radius: .25rem;
}