* {
    box-sizing: border-box;
}
body{
    overflow: hidden;
}
h1.heading {
    color: var(--color-primary) !important;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 0;
}
h3.heading {
    color: var(--color-primary) !important;
    font-size: 16px;
    font-weight: 300;
    margin-top: 8px;
    margin-bottom: 40px;
}
.page-secure-login{
    display: flex;
}
.bg-picture-secure-login{
    width: calc(100vw - 750px);
    height: 100vh;
    position: absolute;
    right: 0px;
    top: 0px;
    background-color: var(--color-primary);
}
.bg-picture-secure-login img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bg-secure-login{
    display: flex;
    width: 100vw;
    max-width: 750px;
    height: 100vh;
    background-color: var(--color-surface-muted);
    position: absolute;
    left: 0px;
    top: 0px;
    align-items: center;
    padding: 30px;
}
.normalInput, .customSelect, #div_showpw {
    margin: 8px 0 24px 0;
}

.normalInput,
.selectTrigger,
.customSelect {
    width: 100%;
    max-width: 300px;
}

.normalInput,
.selectTrigger {
    padding: 8px 4px;
    font-size: 16px;
    border: none;
    border-bottom: 1px solid #ccc;
    color: var(--color-text);
    transition: border-color 0.2s ease;
    background-color: var(--color-surface-muted);
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.is-valid {
    border-bottom: 2px solid #2e7d32 !important;
}

.is-invalid {
    border-bottom: 2px solid #c62828 !important;
}

.bg-secure-login-form input:focus {
    border-bottom-color: var(--color-primary);
    outline: none;
}


#pwuserinput{
    margin: 0 !important;
}
#access_username {
    margin-bottom: 20px;
}

.bg-secure-login-form {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.normalInput::placeholder, .placeholder {
    color: var(--color-text-muted) !important;
}

.bg-secure-login-form input[type=submit] {
    padding: 10px 24px;
    margin-top: 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    transition: all 0.2s ease;
}

.bg-secure-login-form input[type=submit].enabled {
    background-color: var(--color-primary);
    color: var(--color-surface-muted);
    cursor: pointer;
}

.bg-secure-login-form input[type=submit].enabled:hover {
    background-color: var(--color-primary);
}

.bg-secure-login-form > p{
    margin-bottom: 30px;
}
.seclog_home_link {
    position: absolute;
    z-index: 1000;
    top: 0px;
    right: 30px;
}
.seclog_reg_link {
    position: absolute;
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 600;
    z-index: 1000;
    bottom: 0px;
    right: 30px;
}

#togglePassword {
    position: absolute; 
    right: 10px; 
    top: 50%; 
    transform: translateY(-50%); 
    background: none; 
    border: none; 
    cursor: pointer;
    transition: all 0.5s ease;
}

#togglePassword:hover {
    transform: translateY(-50%) scale(1.15);
}

#div_showpw{
    position: relative; 
    display: inline-block; 
    width: 100%;
    max-width: 300px;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px var(--color-bg) inset !important;
    box-shadow: 0 0 0 1000px var(--color-bg) inset !important;
    -webkit-text-fill-color: var(--color-text) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.innerFormPart {
    display: grid;
    padding-right: 10px;
}

@media(max-width: 700px) {
    .innerFormPart {
        grid-template-columns: 1fr;
    }
}

@media(min-width: 701px) {
    .innerFormPart {
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 24px;
    }
}

.innerForm {
    max-height: 60vh;
    overflow-y: auto;
}

label:not(.notRquired)::after {
    content: "*";
    color: var(--color-text-muted);
    margin-left: 5px;
}

.bg-secure-login-form label, .labelVegiVeganDiv {
    font-weight: 500;
    font-size: 14px;
    color: var(--color-text);
    max-width: 300px;
}

.labelVegiVeganDiv {margin: 0;}

.bg-secure-login-form label i {
    font-weight: 400;
    font-size: 13px;
    color: #666;
}

.bg-secure-login-form > p {
    color: #444;
    max-width: 320px;
}
.inputDiv {
    display: flex;
    flex-direction: column;
}
.customSelect {
    position: relative;
}

.customSelect > * {
    margin: 0;
}

.selectArrow {
    transition: rotate 0.6s ease;
}

.selectTrigger[aria-expanded="true"] .selectArrow {
    rotate: 180deg
}

input { height: 38px; }

.selectTrigger {
    background: var(--color-surface-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.selectOptions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0;
    list-style: none;

    border: 2px solid var(--color-border);
    border-top: none;
    border-radius: 0 0 10px 10px;

    background: var(--color-surface);
    z-index: 1000;

    opacity: 0;
    transform: scaleY(0);
    pointer-events: none;

    transition: opacity 0.25s ease, transform 0.25s ease;
}

.selectTrigger[aria-expanded="true"] + .selectOptions {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
}

#eyeIcon {
    stroke: var(--color-text);
}

.selectOptions li {
    padding: 10px 12px;
    cursor: pointer;
    color: var(--color-text);
}

.selectOptions li:last-child {
    border-radius: 0 0 10px 10px;
}

.selectOptions li:hover,
.selectOptions li.selected {
    background-color: var(--color-surface-muted);
}

.checkboxWraper {
    position: relative;
}

.allVegiVeganDiv {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin: 16px;
}

.checkboxVegiVegan {
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
}

.checkboxVegiVegan:checked + label .svgVegiVegan {
    filter: grayscale(0);
}

.checkboxVegiVegan + label .svgVegiVegan {
    filter: grayscale(1);
}

h3 {
    color: var(--color-primary);
}

.infoDatenschutz {
    font-weight:400; 
    line-height: 1.5; 
    margin-bottom: 24px;
    color: var(--color-text);
}

.infoDatenschutz a {
    color: var(--color-primary);
    text-decoration: none;
    position: relative;
}

.infoDatenschutz a:hover {
    color: var(--color-primary-hover);
}

.infoDatenschutz a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background-color: var(--color-primary);
    transition: height 0.3s ease, backgound-color 0.3s ease;
}

.infoDatenschutz a:hover::after {
    height: 2px;
    background-color: var(--color-primary-hover);
}

.seclog_home_link > div {
    height: 24px;
    aspect-ratio: 1245 / 790;
    background-color: var(--color-primary);
    -webkit-mask-image: url(/files/img/icon.png);
    mask-image: url(/files/img/icon.png);
    mask-size: cover;
    mask-repeat: no-repeat;
}
.seclog_reg_link{
    position: fixed;
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 600;
    z-index: 1000;
    bottom: 30px;
    right: 30px;
}

.bg-secure-login-form-inner {
    width: 100%;
}