/* BeeCom — Identidad visual de autenticación */

.beecom-login-page {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    isolation: isolate;
    background: #000;
}

.beecom-login-page .hive-field {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.beecom-login-page .hive-cell {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--hex-width);
    height: var(--hex-height);
    margin: 0;
    opacity: 0;
    background: rgba(210, 158, 73, 0.42);

    clip-path: polygon(
        50% 0%, 100% 25%, 100% 75%,
        50% 100%, 0% 75%, 0% 25%
    );

    animation: beecom-login-reveal 2.5s ease-out var(--delay) both;

    transition:
        filter 220ms ease,
        background-color 220ms ease;
}

.beecom-login-page .hive-cell::after {
    content: "";
    position: absolute;
    inset: 1px;
    background: #000;
    clip-path: inherit;
}

.beecom-login-page .hive-cell.is-near {
    background: rgba(226, 171, 79, 0.75);
}

.beecom-login-page .hive-cell.is-hot {
    background: #f0bd65;
    filter: drop-shadow(0 0 7px rgba(231, 165, 62, 0.5));
}

@keyframes beecom-login-reveal {
    0% {
        opacity: 0;
        scale: 0.65;
    }

    35% {
        opacity: 0.8;
    }

    100% {
        opacity: 0.22;
        scale: 1;
    }
}

.beecom-login-content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}

.beecom-login-logo {
    display: block;
    width: min(300px, 75vw);
    height: auto;
    margin: 0 auto 24px;
}

.beecom-login-card {
    width: 100%;
    max-width: 420px;
    padding: 32px;
    border: 1px solid rgba(196, 150, 77, 0.25);
    border-radius: 18px;
    background: rgba(13, 13, 13, 0.96);
    color: #f5f1e8;
    box-shadow: 0 20px 65px rgba(0, 0, 0, 0.55);
}

.beecom-login-card label,
.beecom-login-card .beecom-login-secondary {
    color: #d8d0c3;
}

.beecom-login-card input[type="email"],
.beecom-login-card input[type="password"] {
    width: 100%;
    background: #1c1c1c;
    border-color: #50412b;
    color: #fff;
}

.beecom-login-card input[type="email"]:focus,
.beecom-login-card input[type="password"]:focus {
    border-color: #d5a249;
    --tw-ring-color: #d5a249;
}

.beecom-login-card button[type="submit"] {
    background: #b58b49;
    color: #111;
}

.beecom-login-card button[type="submit"]:hover {
    background: #d5a249;
}

.beecom-login-card a {
    color: #c7ad81;
}

.beecom-login-card a:hover {
    color: #f0d09a;
}

@media (max-width: 480px) {
    .beecom-login-card {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .beecom-login-page .hive-cell {
        animation: none;
        opacity: 0.22;
        scale: 1;
        transition: none;
    }
}

/* LOGIN-06 — Estilos compartidos de autenticación */

.beecom-login-card {
    max-height: calc(100dvh - 180px);
    overflow-y: auto;
}

.beecom-login-card .text-gray-600,
.beecom-login-card .text-gray-700,
.beecom-login-card .text-gray-900 {
    color: #d8d0c3;
}

.beecom-login-card input[type="checkbox"] {
    border-color: #806239;
    color: #b58b49;
}

.beecom-login-card input[type="checkbox"]:focus {
    --tw-ring-color: #d5a249;
}

.beecom-login-card .text-green-600 {
    color: #86efac;
}

.beecom-login-card .text-red-600 {
    color: #fca5a5;
}

@media (max-height: 650px) {
    .beecom-login-content {
        justify-content: flex-start;
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .beecom-login-logo {
        width: min(230px, 65vw);
        margin-bottom: 12px;
    }

    .beecom-login-card {
        max-height: none;
    }
}

/* AUTH-06D — Contraste enlace de confirmación */

.beecom-login-card a.beecom-reset-return {
    background-color: #b58b49;
    color: #111111;
}

.beecom-login-card a.beecom-reset-return:hover {
    background-color: #d5a249;
    color: #111111;
}

.beecom-login-card a.beecom-reset-return:focus-visible {
    outline: 2px solid #f0bd65;
    outline-offset: 3px;
}
