/*
 * X-Hunter Social Login – Frontend-Styles.
 * Schlicht und sauber gehalten; Akzentfarbe = X-Hunter-Rot (#dd0e0e).
 */

.xh-sl {
    margin: 1.25rem 0;
}

/* Trenner mit Überschrift („Oder schneller anmelden mit:") */
.xh-sl__divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #777;
    font-size: 0.85rem;
    margin-bottom: 0.9rem;
}
.xh-sl__divider::before,
.xh-sl__divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e3e3e3;
}
.xh-sl__divider span {
    padding: 0 0.75rem;
    white-space: nowrap;
}

.xh-sl__buttons {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* Basis-Button: weiß, dezenter Rahmen – eckig wie die Theme-Buttons */
.xh-sl__btn {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.6rem 0.9rem;
    border: 1px solid #d9d9d9;
    border-radius: 0;
    background: #fff;
    color: #1f1f1f !important;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    text-decoration: none;
    transition: box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.xh-sl__btn:hover,
.xh-sl__btn:focus {
    border-color: #b9b9b9;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.xh-sl__icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}
.xh-sl__icon svg {
    display: block;
}

.xh-sl__label {
    flex: 1;
    text-align: center;
}

/* Dezente, anbieterspezifische Akzentlinie links beim Hover */
.xh-sl__btn--google:hover  { border-color: #ea4335; }
.xh-sl__btn--facebook:hover{ border-color: #1877f2; }
.xh-sl__btn--amazon:hover  { border-color: #ff9900; }

.xh-sl__note {
    margin-top: 0.65rem;
    font-size: 0.78rem;
    color: #888;
    line-height: 1.35;
}

/* ---- Quicklogin-Popup (Leo-Theme) ---- */
.leo-quicklogin-form .xh-sl {
    margin: 1rem 0 0;
}
.leo-quicklogin-form .xh-sl__buttons {
    gap: 0.5rem;
}
.leo-quicklogin-form .xh-sl__btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
}

/* ---- Kundenkonto: Verbundene Konten ---- */
.xh-sl-acct {
    /* Sieht aus wie die Konto-Kacheln (span.link-item): weiß, kein Rand, eckig,
       weicher Schatten, 16px Innenabstand. Der Container „.links" ist ein
       Flex-Raster mit 15px Spalten-Gutter – darum nimmt der Block eine ganze
       Zeile ein (calc(100% - 30px)) und wird per 15px-Seitenrand exakt auf die
       sichtbaren Kartenkanten der Kacheln eingerückt (statt 15px überzustehen). */
    flex: 0 0 calc(100% - 30px);
    max-width: calc(100% - 30px);
    margin: 0 15px 30px;
    padding: 16px;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: 2px 2px 11px rgba(0, 0, 0, 0.1);
}
.xh-sl-acct__title {
    margin: 0 0 0.8rem;
    font-size: 1.05rem;
}
.xh-sl-acct__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.xh-sl-acct__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0.55rem 0;
    border-bottom: 1px solid #ececec;
}
.xh-sl-acct__item:last-child {
    border-bottom: 0;
}
.xh-sl-acct__name {
    font-weight: 600;
    min-width: 90px;
}
.xh-sl-acct__status {
    font-size: 0.85rem;
    color: #666;
    flex: 1;
}
.xh-sl-acct__status--on {
    color: #1c7c34;
}
.xh-sl-acct__action {
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.45rem 1.1rem;
    border-radius: 0;
    border: 1px solid transparent;
}
.xh-sl-acct__action--link {
    color: #fff !important;
    background: #dd0e0e;
}
.xh-sl-acct__action--link:hover {
    background: #b90b0b;
}
.xh-sl-acct__action--unlink {
    color: #dd0e0e !important;
    border-color: #dd0e0e;
    background: #fff;
}
.xh-sl-acct__action--unlink:hover {
    background: #fdecec;
}
.xh-sl-acct__hint {
    font-size: 0.8rem;
    color: #999;
    font-style: italic;
}
.xh-sl-acct__note {
    margin-top: 0.8rem;
    font-size: 0.8rem;
    color: #888;
}

/* ---- Eigenständige Seiten (E-Mail-Abfrage, Hinweise) ---- */
.xh-sl-page {
    max-width: 480px;
    margin: 2rem auto;
}
.xh-sl-page__title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.xh-sl-form .form-group {
    margin-bottom: 1rem;
}
.xh-sl-message {
    padding: 1.2rem;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    background: #fafafa;
}
.xh-sl-message .btn {
    margin-top: 0.8rem;
}

/* ---- Footer-Logo: weißes X-Hunter-Logo auf dunklem Footer ----
 * Header und Footer teilen sich die Klasse „logo" (buntes Shop-Logo). Auf dem
 * dunklen Footer ist das schlecht lesbar. Wir tauschen NUR im Footer das
 * angezeigte Bild gegen das weiße Logo (content: url ersetzt das gerenderte
 * Bild; der Header bleibt unberührt, da dessen Logo nicht im Footer liegt).
 * `logo-second` ist die weiße Logo-Variante des Elementor-Footers (nur dort).
 * Das `?v=` erzwingt frisches Laden (Browser-Cache des Bildes umgehen). */
footer img.logo,
#footer img.logo,
.footer img.logo,
img.logo-second {
    content: url('/themes/leo_tactiko_elements/assets/img/logo-white.png?v=2');
}
