/*
Theme Name: Knowledge Hub Template
Author: Teejit GmbH & Hiller & Stock GbR
Author URI: https://teejit.de
Description: Base Template for the new Knowledge Hub System
Version: 0.2.89
Text Domain: wp_tj_knowhub_template
Tags:
*/


/* fall back if not defined in src/style.css */
.t-login-form-loading {
    background-color: rgba(255, 255, 255, 0.9);
    display: none !important;
    height: calc(100% - var(--teejit-padding-xl) * 2);
    position: absolute;
    width: calc(100% - var(--teejit-padding-xl) * 2);
    justify-content: center;
    align-items: center;
}

/* teejit loading logo  */
.lds-dual-ring,
.lds-dual-ring:after {
    box-sizing: border-box;
}
.lds-dual-ring {
    display: block !important;
    width: 50px;
    height: 50px;
}
.rotating-group {
    animation: teejit-loading 4s linear infinite;
    transform-origin: 218.4px 213.38px; /* Mittelpunkt des viewBox */
    fill: var(--primary-background);
}
.teejit-loading-2 {
    animation: teejit-loading-2 4s linear infinite;
}
.t-loading {
    fill: var(--primary-background);
}
@keyframes teejit-loading {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes teejit-loading-2 {
    from { transform: rotate(360deg); }
    to { transform: rotate(-360deg); }
}
/** loading circles default
.lds-dual-ring {
    display: block !important;
    width: 60px;
    height: 60px;
}
.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 30px;
    height: 30px;
    margin: 8px;
    border-radius: 50%;
    border: 6.4px solid currentColor;
    border-color: currentColor transparent currentColor transparent;
    animation: lds-dual-ring 1.2s linear infinite;
} **/
@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}



.t-row-multiple, .t-row-single {
    flex-wrap: wrap;
}




/* Zusätzliche CSS für das dreispaltige Login-Layout */
.wrapper:has(#t-login-wrapper) {
    /* width:auto; */
}
.t-login-form {
    min-width: 320px;
}
.t-login-3 {
    flex-direction: row;
    gap: 20px;
    padding: 20px;
    margin: 0 auto;
    max-width: 100%;
}
.t-login-left-svg, .t-login-right-svg {
    background: var(--primary-background);
}
.t-login-left-svg-path-2, .t-login-right-svg-path-2 {
    fill: var(--primary-color);
}
.t-login-mail-path {
    fill: var(--primary-background);
}
.t-login-right-svg-wrap, .t-login-middle-svg-wrap, .t-login-left-svg-wrap {
    margin-top: -25px;
    height: 50px;
}
.t-login-right-svg-wrap > svg, .t-login-middle-svg-wrap > svg, .t-login-left-svg-wrap > svg {
    background: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 10px;
    background: var(--primary-background)
}

/* Linke Spalte - Kontaktinformationen */
.t-login-left {
    flex: 1;
    padding: var(--teejit-padding-xl);
    height: fit-content;
}

.t-login-left-inner, .t-login-left-center {
    display: flex;
    flex-direction: column;
}

.t-login-left-top {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.t-login-h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: var(--teejit-padding-l);
    color: var(--text-color);
}

.ansp-index-wrap {
    display: flex;
    flex-direction: column;
    gap: var(--teejit-padding-s);
    margin-bottom: var(--teejit-padding-m);
}
.ansp-index {
    font-size: var(--font-size-p);
}
.ansp-index-name {
    font-weight: bold;
}
.ansp-index-mail {
    display: flex;
    align-items: center;
}

/* Mittlere Spalte - Login-Formular */
.t-login-middle {
    /*flex: 2;*/
    display: flex;
    flex-direction: column;
    height: fit-content;
}
.t-login-middle-inner {
    display: flex;
    flex-direction: column;
}
.t-login-left, .t-login-right {
    margin-top: 20px;
    flex-direction: column;
}

/* Rechte Spalte - Zusätzliche Informationen */
.t-login-right {
    flex: 1;
    padding: var(--teejit-padding-xl);
    height: fit-content;
}

.t-login-right-inner, .t-login-right-center {
    display: flex;
    flex-direction: column;
}

.t-login-right-top {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.t-login-right-center {
    text-align: center;
    margin-bottom: 20px;
}
.t-login-right-text {
    justify-content: center;
    flex:1;
    padding-bottom: var(--teejit-padding-l);
}
.t-login-right-btn {
    justify-content: center;
}
.t-login-2, .t-login-3 {
    flex-direction: row;
    width: 100%;
}

/* reorder login parts - login form always as first */
@media (max-width: 1000px) {
    .t-login-2, .t-login-3 {
        flex-direction: column;
        max-width: 480px;
    }
    .t-login-register-now-wrap {
        width: 480px;
    }

    .t-login-left,
    .t-login-right {
        order: 2;
    }
    .t-login-middle {
        order: 1;
    }
}

@media (max-width: 768px) {
    .t-login-2, .t-login-3 {
        gap: 20px;
        margin-bottom: 20px;
    }
    .t-login-2, .t-login-3 {
        max-width: 320px;
    }
    .t-login-register-now-wrap {
        width: 320px;
    }
    .t-login:has(.t-login-register-now-wrap) {
        padding: 0;
    }
}

/* Login-Formular Anpassungen */
.t-login-h2 {
    text-align: center;
}

/* Only two active */
.t-login-2 .t-login-left, .t-login-2 .t-login-middle, .t-login-2 .t-login-right {
    flex: 1;
}
.t-login-2 .t-login-middle-inner {
    width:100%;
}
@media (max-width: 1000px) {

}
@media (max-width: 768px) {
    .t-login-3 {
        padding: 10px;
        gap: 10px;
    }
}