
/* =========================================================
   WÖRTH · LOGO ESTABLE
   ========================================================= */

.ws-auth-v2-logo {
    min-width: 230px;
}

.ws-auth-v2-logo-mount {
    display: flex;
    align-items: center;
}

.ws-auth-v2-logo-mount img {
    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width: 230px !important;
    max-height: 58px !important;

    object-fit: contain !important;
}

.ws-auth-v2-logo-fallback {
    display: none !important;
}


/* =========================================================
   BOTÓN ACCESIBILIDAD ACTIVO
   ========================================================= */

#wsWorthGuideToggle {
    border-radius: 50%;

    transition:
        background .18s ease,
        transform .18s ease;
}

#wsWorthGuideToggle:hover,
#wsWorthGuideToggle.ws-guide-active {
    background: #e7f0ec;

    transform: translateY(-1px);
}


/* =========================================================
   PANEL USER GUIDE
   ========================================================= */

.ws-worth-guide {
    position: fixed;

    top: 94px;
    right: 42px;

    width: min(390px, calc(100vw - 32px));

    z-index: 1000002;

    overflow: hidden;

    border:
        1px
        solid
        #d8e0dc;

    border-radius: 14px;

    background: #ffffff;

    color: #17372f;

    box-shadow:
        0
        22px
        60px
        rgba(5, 61, 47, .18);

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(-10px);

    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s ease;
}

.ws-worth-guide.is-open {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(0);
}


/* Header */

.ws-worth-guide-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding:
        20px
        21px;

    background: #07513e;

    color: #ffffff;
}

.ws-worth-guide-header-title {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.ws-worth-guide-header-title strong {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 20px;
}

.ws-worth-guide-header-title span {
    font-size: 11px;

    opacity: .84;

    letter-spacing: .08em;

    text-transform: uppercase;
}

.ws-worth-guide-close {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 50%;

    background:
        rgba(255,255,255,.12);

    color: #ffffff;

    font-size: 22px;

    cursor: pointer;
}


/* Contenido */

.ws-worth-guide-body {
    max-height:
        calc(100vh - 160px);

    overflow-y: auto;

    padding:
        21px;
}

.ws-worth-guide-section {
    margin-bottom: 24px;
}

.ws-worth-guide-section:last-child {
    margin-bottom: 0;
}

.ws-worth-guide-section h3 {
    margin:
        0
        0
        13px;

    color: #043d30;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;
}


/* Herramientas */

.ws-worth-guide-tools {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 9px;
}

.ws-worth-guide-tool {
    min-height: 46px;

    padding:
        9px
        11px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    border:
        1px
        solid
        #cad6d0;

    border-radius: 8px;

    background: #ffffff;

    color: #07513e;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

.ws-worth-guide-tool:hover {
    background: #eef5f1;
}

.ws-worth-guide-tool.is-active {
    border-color: #07513e;

    background: #07513e;

    color: #ffffff;
}


/* Guía rápida */

.ws-worth-guide-steps {
    margin: 0;
    padding: 0;

    list-style: none;

    display: grid;

    gap: 12px;
}

.ws-worth-guide-steps li {
    display: grid;

    grid-template-columns:
        30px
        1fr;

    gap: 11px;

    align-items: start;

    font-size: 13px;

    line-height: 1.45;
}

.ws-worth-guide-step-number {
    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #e5efea;

    color: #07513e;

    font-weight: 800;
}

.ws-worth-guide-step-copy strong {
    display: block;

    margin-bottom: 2px;

    color: #043d30;
}


/* Ayuda */

.ws-worth-guide-help {
    padding:
        13px
        14px;

    border-radius: 9px;

    background: #f8f5ee;

    color: #5e6964;

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================================
   MODOS DE ACCESIBILIDAD
   ========================================================= */

/* Texto grande */

.ws-auth-v2.ws-a11y-large
.ws-auth-v2-login,
.ws-auth-v2.ws-a11y-large
.ws-auth-v2-register {
    font-size: 112%;
}

.ws-auth-v2.ws-a11y-large
input,
.ws-auth-v2.ws-a11y-large
button,
.ws-auth-v2.ws-a11y-large
li,
.ws-auth-v2.ws-a11y-large
p,
.ws-auth-v2.ws-a11y-large
label,
.ws-auth-v2.ws-a11y-large
a {
    font-size: 1.08em !important;
}


/* Alto contraste */

.ws-auth-v2.ws-a11y-contrast {
    --green: #002f24;
    --green-dark: #001d16;
    --green-soft: #ffffff;
    --green-soft-2: #ffffff;

    color: #000000 !important;
}

.ws-auth-v2.ws-a11y-contrast
.ws-auth-v2-register {
    background: #ffffff !important;

    border-left:
        2px
        solid
        #000000;
}

.ws-auth-v2.ws-a11y-contrast
input {
    border:
        2px
        solid
        #000000 !important;
}


/* Enlaces subrayados */

.ws-auth-v2.ws-a11y-links a {
    text-decoration:
        underline
        !important;

    text-decoration-thickness:
        2px !important;

    text-underline-offset:
        3px;
}


/* Foco reforzado */

.ws-auth-v2.ws-a11y-focus
button:focus-visible,
.ws-auth-v2.ws-a11y-focus
a:focus-visible,
.ws-auth-v2.ws-a11y-focus
input:focus-visible {
    outline:
        4px
        solid
        #d7c28f
        !important;

    outline-offset:
        3px
        !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .ws-worth-guide {
        top: 80px;
        right: 16px;
    }

    .ws-auth-v2-logo {
        min-width: 160px;
    }

    .ws-auth-v2-logo-mount img {
        max-width: 180px !important;
    }
}

