/* LOGIN FORM */

.login {
    background: #FFFFFF;
    height: auto;
}

.login #header {
    height: auto;
    padding: 40px 6px 26px 26px;
    background-color: #F8F8F8;
    box-shadow: 0 4px 8px 0 rgba(135, 135, 135, 0.2), 0 6px 20px 0 rgba(135, 135, 135, 0.19);
    border-radius: 4px 4px 0;
    overflow: hidden;
    /*width: 28em;*/
    width: 482px;
    margin: 100px auto 0;
}

.login #header h1 {
    font-size: 1.125rem;
    margin: 0;
}

.login #header h1 a {
    color: var(--header-link-color);
}

.login #content {
    padding: 20px 20px 0;
}

/* Panel logowania */


.login #container-middle {
    background: #EFBBBD;
    /*box-shadow: 0 4px 8px 0 rgba(135, 135, 135, 0.2), 0 6px 20px 0 rgba(135, 135, 135, 0.19);*/
    /*border-radius: 0 4px;*/
    overflow: hidden;
    width: 482px;
    margin: 0 auto;
    height: 100%;

}
.login #main {
    background: #F8F8F8;
    box-shadow: 0 4px 8px 0 rgba(135, 135, 135, 0.2), 0 6px 20px 0 rgba(135, 135, 135, 0.19);
    /*border-radius: 0 4px 4px;*/
    overflow: hidden;
    /*width: 400px;*/
    width: 450px;
    padding: 0 16px 15px;
    margin: 0 auto;
    height: auto;
}

.login #do-not-account{
    margin: 60px auto;
}

.login .form-row {
    padding: 4px 0;
}

.login .form-row label {
    display: block;
    line-height: 2em;
}

.login .form-row #id_username, .login .form-row #id_password, .login .form-row #id_email {
    padding: 8px 16px;
    width: 100%;
    box-sizing: border-box;
    height: 40px;
}

.login .submit-row {
    padding: 1em 0 0 0;
    margin: 40px 0 30px;
    text-align: center;
}

.login .password-reset-link {
    text-align: center;
}

.greeting {
    position: relative;
    display: flex;
    align-items: center;
}

.greeting-line {
    background: #878787;
    border: 2px solid #878787;
    transform: rotate(90deg);
    padding: 0 20px;
}

.greeting-text {
    font-weight: 600;
    font-size: 30px;
    line-height: 40px;
    letter-spacing: 0.5px;
    color: #878787;
    margin: 0;
    display: flex;
}

.greeting-subtext {
    font-weight: 400;
    font-size: 16px;
    line-height: 40px;
    display: flex;
    align-items: center;
    text-align: center;
    letter-spacing: 0.5px;
    color: #878787;
    margin-left: 12px;
}

.greeting-subtext-activate-invitation {
    font-weight: 400;
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
    color: #878787;
}

.greeting-line::before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.greeting-text::before {
    content: '| ';
    color: #878787;
    font-size: 30px;
    margin-right: 10px;
    text-align: center;
    margin-top: -2.5px;
    margin-left: -7px;
}

.login-form .form-row input[type="text"],
.login-form .form-row input[type="password"] {
    background: #EBEBEB;
    box-shadow: inset 0px -2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    border: none;
    padding: 10px;
    width: calc(100% - 20px);
    box-sizing: border-box;
}

.login-form .form-row input[type="text"]:focus,
.login-form .form-row input[type="password"]:focus {
    box-shadow: inset 0px -2px 4px rgba(0, 0, 0, 0.05), 0px 0px 5px rgba(0, 0, 0, 0.1);
}

.login-form .submit-row input[type="submit"] {
    background: #D9151A;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.login-form .form-row label {
    display: block;
    margin-bottom: 5px;
}

.login .password-reset-link {
    text-align: left;
}

.password-reset-link {
    margin-left: 10px;
}

.password-reset-link a {
    font-style: normal;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.5px;
    text-decoration: underline;
    color: #C6C6C6;
}

.consent {
    font-style: normal;
    font-size: 10px;
    letter-spacing: 0.5px;
    text-decoration: underline;
    color: #C6C6C6;
}

.consent a {
    color: #878787;
}

.account-query {
    margin-top: 10px;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 125%;
    text-align: center;
    letter-spacing: 0.5px;
    color: #878787;
}

.account-query p {
    margin: 0;
}

.account-query-link {
    text-decoration: none;
    color: #878787 !important;
    transition: text-decoration-color 0.3s;
}

.account-query-link:hover {
    text-decoration: underline;
    text-decoration-color: #0B8CE9;
    color: inherit;
}

.errornote {
    background-color: #F8F8F8;
}

.consent-row {
    display: flex;
    align-items: center;
}

.consent-row input[type="checkbox"] {
    margin-right: 10px;
    background-color: transparent;
}

.required-asterisk {
    color: red;
}

.required-asterisk {
    font-weight: 600; /* Pogrubienie tylko dla gwiazdki */
    color: #D9151A; /* Czerwony kolor dla gwiazdki */
    opacity: 0.5; /* Półprzezroczystość dla gwiazdki */
    font-size: 100%; /* Zapewnia, że gwiazdka będzie miała taki sam rozmiar jak otaczający tekst */
    vertical-align: baseline; /* Zapewnia, że gwiazdka jest wyrównana do linii bazowej tekstu */
}