/* /ASSETS/CSS/login.css */

:root {
    --login-navy: #0a2540;
    --login-blue: #1a5eb0;
    --login-blue-dark: #12478a;
    --login-soft: #f4f8ff;
    --login-border: rgba(148, 163, 184, .28);
    --login-text: #0f172a;
    --login-muted: #64748b;
    --login-danger: #d93025;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "Inter", sans-serif;
    color: var(--login-text);
    background: #eaf1fb;
}

/* ===========================================================
   FONDO ANIMADO
   =========================================================== */

.blood-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at center,
            #faeff4 0%,
            #e9cad8 56%,
            #b9869c 100%
        );
}

.blood-background-image,
.blood-background-overlay,
#bloodCellsCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.blood-background-image {
    z-index: 1;
    display: block;
    object-fit: cover;
    object-position: center;
    filter:
        saturate(.95)
        contrast(.96)
        brightness(1.02);
    transform: scale(1.025);
    user-select: none;
    pointer-events: none;
}

#bloodCellsCanvas {
    z-index: 2;
    display: block;
    pointer-events: none;
    opacity: .95;
}

.blood-background-overlay {
    z-index: 3;
    background:
        linear-gradient(
            90deg,
            rgba(4, 18, 34, .10),
            rgba(9, 28, 48, .025) 44%,
            rgba(255, 255, 255, 0)
        ),
        radial-gradient(
            circle at center,
            rgba(255, 255, 255, .05),
            rgba(16, 24, 40, .18) 100%
        );
    pointer-events: none;
}

/* ===========================================================
   ESTRUCTURA
   =========================================================== */

.login-shell {
    position: relative;
    z-index: 5;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 3vw, 2rem);
}

.login-container {
    width: min(1060px, 100%);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .46);
    border-radius: 26px;
    background: rgba(255, 255, 255, .10);
    box-shadow:
        0 34px 90px rgba(15, 23, 42, .30),
        0 12px 32px rgba(15, 23, 42, .16),
        inset 0 1px 0 rgba(255, 255, 255, .42);
    backdrop-filter: blur(18px) saturate(1.10);
    -webkit-backdrop-filter: blur(18px) saturate(1.10);
}

.login-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(380px, .95fr);
    min-height: 610px;
}

/* ===========================================================
   PANEL VISUAL
   =========================================================== */

.login-image {
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: clamp(2rem, 4vw, 3.5rem);
    color: #ffffff;
    background:
        linear-gradient(
            155deg,
            rgba(5, 25, 45, .18),
            rgba(26, 94, 176, .045)
        );
    backdrop-filter: blur(7px) saturate(1.05);
    -webkit-backdrop-filter: blur(7px) saturate(1.05);
}

.login-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 20% 18%,
            rgba(108, 180, 255, .26),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, .02),
            rgba(5, 18, 33, .24)
        );
}

.login-image-content {
    position: relative;
    z-index: 2;
    width: min(440px, 100%);
}

.brand-container {
    margin-bottom: 2.5rem;
}

.logo-main {
    display: block;
    width: min(230px, 68%);
    max-height: 98px;
    object-fit: contain;
    object-position: left center;
    filter:
        drop-shadow(
            0 8px 22px rgba(0, 0, 0, .18)
        );
}

.login-hero-copy {
    max-width: 430px;
}

.login-kicker,
.form-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: .35rem .7rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.login-kicker {
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .1);
    color: #dcecff;
}

.login-hero-copy h1 {
    max-width: 390px;
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.06;
    letter-spacing: -.04em;
}

.login-hero-copy p {
    max-width: 420px;
    margin-top: 1rem;
    color: rgba(255, 255, 255, .78);
    font-size: .95rem;
    line-height: 1.65;
}

.image-features {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
}

.feature-item {
    min-width: 105px;
    display: grid;
    justify-items: center;
    gap: .45rem;
    padding: .85rem 1rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
}

.feature-item i {
    color: #8fc7ff;
    font-size: 1.2rem;
}

.feature-item span {
    font-size: .75rem;
    font-weight: 700;
}

/* ===========================================================
   FORMULARIO
   =========================================================== */

.login-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4.25rem);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .34),
            rgba(245, 249, 255, .16)
        );
    backdrop-filter: blur(13px) saturate(1.06);
    -webkit-backdrop-filter: blur(13px) saturate(1.06);
}

.form-header {
    margin-bottom: 1.65rem;
}

.form-eyebrow {
    margin-bottom: .75rem;
    background: rgba(26, 94, 176, .08);
    color: var(--login-blue);
}

.form-header h2 {
    margin: 0;
    color: var(--login-navy);
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    letter-spacing: -.03em;
}

.form-header p {
    margin-top: .5rem;
    color: var(--login-muted);
    line-height: 1.55;
}

.alert {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: .7rem;
    align-items: center;
    margin-bottom: 1rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(217, 48, 37, .22);
    border-radius: 12px;
    background: rgba(217, 48, 37, .07);
    color: var(--login-danger);
    font-size: .84rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: .45rem;
    color: var(--login-navy);
    font-size: .84rem;
    font-weight: 700;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    min-height: 50px;
    padding:
        .8rem
        2.9rem
        .8rem
        2.7rem;
    border: 1px solid var(--login-border);
    border-radius: 13px;
    outline: none;
    background: rgba(255, 255, 255, .62);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--login-text);
    font: inherit;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.input-wrapper input:hover {
    border-color: rgba(26, 94, 176, .4);
}

.input-wrapper input:focus {
    border-color: var(--login-blue);
    box-shadow: 0 0 0 4px rgba(26, 94, 176, .1);
}

.input-wrapper input.is-invalid {
    border-color: var(--login-danger);
    box-shadow: 0 0 0 4px rgba(217, 48, 37, .08);
}

.input-icon {
    position: absolute;
    top: 50%;
    left: .95rem;
    transform: translateY(-50%);
    color: #8a9aab;
    pointer-events: none;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: .8rem;
    width: 34px;
    height: 34px;
    transform: translateY(-50%);
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #7b8794;
    cursor: pointer;
}

.toggle-password:hover {
    background: rgba(26, 94, 176, .07);
    color: var(--login-blue);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: .4rem 0 1.3rem;
}

.checkbox-wrapper {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--login-muted);
    font-size: .82rem;
    cursor: pointer;
}

.checkbox-wrapper input {
    width: 16px;
    height: 16px;
    accent-color: var(--login-blue);
}

.forgot-link {
    color: var(--login-blue);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    min-height: 51px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: .85rem 1rem;
    border: 0;
    border-radius: 13px;
    background:
        linear-gradient(
            135deg,
            var(--login-blue),
            #2f7ad0
        );
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow:
        0 12px 24px rgba(26, 94, 176, .24);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}

.btn-login:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow:
        0 16px 30px rgba(26, 94, 176, .3);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login:disabled {
    cursor: wait;
    opacity: .78;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-top: 1.3rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(148, 163, 184, .18);
    color: #7b8794;
    font-size: .72rem;
    text-align: center;
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */

@media (max-width: 860px) {
    .login-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .login-image {
        min-height: 310px;
        align-items: center;
    }

    .login-image-content {
        width: 100%;
    }

    .login-hero-copy h1 {
        max-width: 520px;
        font-size: clamp(1.85rem, 7vw, 2.6rem);
    }

    .login-form {
        padding: 2rem;
    }
}

@media (max-width: 560px) {
    .login-shell {
        align-items: start;
        padding: .75rem;
    }

    .login-container {
        border-radius: 20px;
    }

    .login-image {
        min-height: 245px;
        padding: 1.5rem;
    }

    .brand-container {
        margin-bottom: 1.3rem;
    }

    .logo-main {
        width: min(190px, 74%);
    }

    .login-hero-copy p {
        display: none;
    }

    .image-features {
        margin-top: 1.25rem;
    }

    .feature-item {
        min-width: 88px;
        padding: .7rem .75rem;
    }

    .login-form {
        padding: 1.5rem;
    }

    .form-options {
        align-items: flex-start;
        flex-direction: column;
        gap: .7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

@supports not (backdrop-filter: blur(18px)) {
    .login-container {
        background: rgba(255, 255, 255, .96);
    }
}


/* Aviso visual solo si la imagen no existe en el servidor */
body.blood-image-missing::before {
    content: "No se encontró /ASSETS/IMG/login/celulas_sanguineas.png";
    position: fixed;
    left: 50%;
    bottom: 14px;
    z-index: 9999;
    transform: translateX(-50%);
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(217, 48, 37, .92);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}


/* ===========================================================
   ACABADO DE VIDRIO
   =========================================================== */

.login-container::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .10),
            rgba(255, 255, 255, .015)
        );
    pointer-events: none;
}

.login-container {
    position: relative;
}

.login-grid {
    position: relative;
    z-index: 1;
}

.login-form,
.login-image {
    border: 1px solid rgba(255, 255, 255, .16);
}

.login-form {
    box-shadow:
        inset 1px 0 0 rgba(255, 255, 255, .30);
}

@media (max-width: 860px) {
    .login-form {
        background:
            linear-gradient(
                145deg,
                rgba(255, 255, 255, .58),
                rgba(245, 249, 255, .38)
            );
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
}


/* ===========================================================
   TRANSPARENCIA EQUILIBRADA EN AMBOS PANELES
   =========================================================== */

.login-image,
.login-form {
    background-clip: padding-box;
}

.login-image {
    background-color: rgba(5, 25, 45, .10);
}

.login-form {
    background-color: rgba(255, 255, 255, .20);
}

.login-image::after,
.login-form::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.login-image::after {
    background:
        linear-gradient(
            180deg,
            rgba(6, 25, 44, .06),
            rgba(6, 25, 44, .16)
        );
}

.login-form {
    position: relative;
}

.login-form::after {
    z-index: 0;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .12),
            rgba(255, 255, 255, .025)
        );
}

.login-form > * {
    position: relative;
    z-index: 1;
}

.login-image-content {
    position: relative;
    z-index: 2;
}

@media (max-width: 860px) {
    .login-image,
    .login-form {
        backdrop-filter: blur(11px) saturate(1.05);
        -webkit-backdrop-filter: blur(11px) saturate(1.05);
    }
}


/* ===========================================================
   CRISTAL MÁS TRANSPARENTE SIN PERDER LEGIBILIDAD
   =========================================================== */

.login-container {
    border: 1px solid rgba(255, 255, 255, .58);
    box-shadow:
        0 34px 90px rgba(15, 23, 42, .32),
        0 14px 34px rgba(15, 23, 42, .18),
        inset 0 1px 0 rgba(255, 255, 255, .50);
}

.login-image,
.login-form {
    border-color: rgba(255, 255, 255, .22);
}

.login-image {
    backdrop-filter: blur(6px) saturate(1.05);
    -webkit-backdrop-filter: blur(6px) saturate(1.05);
}

.login-form {
    backdrop-filter: blur(16px) saturate(1.08);
    -webkit-backdrop-filter: blur(16px) saturate(1.08);
    box-shadow:
        inset 1px 0 0 rgba(255, 255, 255, .32),
        inset 0 1px 0 rgba(255, 255, 255, .20);
}

.login-form::before {
    content: "";
    position: absolute;
    inset: 18px;
    z-index: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
    pointer-events: none;
}

.form-header,
.login-form form,
.form-footer,
.alert {
    position: relative;
    z-index: 2;
}

.form-header h2,
.form-group label {
    color: #09233d;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
}

.form-header p,
.checkbox-wrapper,
.form-footer {
    color: #44566a;
}

.input-wrapper input {
    border: 1px solid rgba(125, 145, 168, .42);
    color: #0f172a;
    box-shadow:
        inset 0 1px 2px rgba(15, 23, 42, .04),
        0 1px 0 rgba(255, 255, 255, .38);
}

.input-wrapper input::placeholder {
    color: rgba(71, 85, 105, .72);
}

.input-wrapper input:focus {
    background: rgba(255, 255, 255, .78);
}

.login-hero-copy h1,
.login-hero-copy p,
.login-kicker,
.feature-item {
    text-shadow: 0 2px 8px rgba(0, 0, 0, .28);
}

.feature-item {
    background: rgba(6, 31, 55, .16);
    border-color: rgba(255, 255, 255, .22);
}

@media (max-width: 860px) {
    .login-form {
        background:
            linear-gradient(
                145deg,
                rgba(255, 255, 255, .42),
                rgba(245, 249, 255, .22)
            );
    }
}


/* ===========================================================
   AJUSTE SOLICITADO: SIN TEXTO Y 90% TRANSPARENTE
   =========================================================== */

.login-container {
    background: rgba(255, 255, 255, .10) !important;
    border: 1px solid rgba(255, 255, 255, .52);
    backdrop-filter: blur(14px) saturate(1.05);
    -webkit-backdrop-filter: blur(14px) saturate(1.05);
}

.login-image {
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            155deg,
            rgba(5, 25, 45, .10),
            rgba(26, 94, 176, .04)
        ) !important;
    backdrop-filter: blur(5px) saturate(1.02);
    -webkit-backdrop-filter: blur(5px) saturate(1.02);
}

.login-image::before,
.login-image::after {
    background: rgba(7, 24, 41, .04) !important;
}

.login-image-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-container {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-main {
    width: min(230px, 72%);
    object-position: center;
}

.login-form {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .18),
            rgba(245, 249, 255, .08)
        ) !important;
    backdrop-filter: blur(16px) saturate(1.05);
    -webkit-backdrop-filter: blur(16px) saturate(1.05);
}

.login-form::before,
.login-form::after {
    background: rgba(255, 255, 255, .045) !important;
}

.form-header h2,
.form-group label {
    color: #09233d;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, .75),
        0 0 10px rgba(255, 255, 255, .28);
}

.form-header p,
.checkbox-wrapper,
.form-footer {
    color: #3f5164;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
}

.input-wrapper input {
    background: rgba(255, 255, 255, .70) !important;
    border-color: rgba(100, 120, 145, .38);
}

.form-eyebrow {
    background: rgba(255, 255, 255, .22);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

@media (max-width: 860px) {
    .login-image {
        min-height: 190px;
    }

    .login-form {
        background:
            linear-gradient(
                145deg,
                rgba(255, 255, 255, .22),
                rgba(245, 249, 255, .10)
            ) !important;
    }
}


/* ===========================================================
   ESTRUCTURA TIPO VIDRIO — REFERENCIA ADAPTADA A GIOLABS
   =========================================================== */

.login-container {
    width: min(1120px, 100%) !important;
    max-width: 1120px !important;
    min-height: 620px !important;
    border-radius: 28px !important;
    border: 1px solid rgba(255, 255, 255, .44) !important;
    background: rgba(255, 255, 255, .075) !important;
    box-shadow:
        0 34px 95px rgba(15, 23, 42, .34),
        inset 0 1px 0 rgba(255, 255, 255, .32) !important;
    backdrop-filter: blur(12px) saturate(1.06) !important;
    -webkit-backdrop-filter: blur(12px) saturate(1.06) !important;
}

.login-grid {
    grid-template-columns:
        minmax(0, 1.18fr)
        minmax(380px, .82fr) !important;
    min-height: 620px !important;
}

.reference-visual {
    position: relative;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between !important;
    align-items: stretch !important;
    min-width: 0;
    padding: clamp(2rem, 4vw, 3.5rem) !important;
    border-right: 1px solid rgba(255, 255, 255, .20);
    background:
        linear-gradient(
            155deg,
            rgba(6, 31, 52, .18),
            rgba(36, 10, 45, .08)
        ) !important;
    backdrop-filter: blur(5px) saturate(1.04) !important;
    -webkit-backdrop-filter: blur(5px) saturate(1.04) !important;
}

.reference-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 18% 16%,
            rgba(87, 187, 236, .17),
            transparent 38%
        );
    pointer-events: none;
}

.reference-brand-row,
.reference-copy {
    position: relative;
    z-index: 2;
}

.reference-brand-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.reference-logo {
    display: block;
    width: min(235px, 48%);
    max-height: 105px;
    object-fit: contain;
    object-position: left center;
    filter:
        drop-shadow(0 8px 22px rgba(0, 0, 0, .20));
}

.reference-copy {
    max-width: 570px;
}

.reference-kicker {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: .42rem .78rem;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.reference-copy h1 {
    max-width: 550px;
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 4.7rem);
    line-height: 1;
    letter-spacing: -.055em;
    text-shadow: 0 8px 28px rgba(0, 0, 0, .30);
}

.reference-copy p {
    max-width: 510px;
    margin-top: 1rem;
    color: rgba(255, 255, 255, .80);
    font-size: 1rem;
    line-height: 1.65;
    text-shadow: 0 3px 12px rgba(0, 0, 0, .22);
}

.reference-form {
    position: relative;
    padding: clamp(2rem, 4vw, 3.5rem) !important;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .25),
            rgba(247, 251, 255, .09)
        ) !important;
    backdrop-filter: blur(18px) saturate(1.08) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.08) !important;
}

.reference-form::before {
    content: "";
    position: absolute;
    inset: 22px;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 22px;
    background: rgba(255, 255, 255, .035);
    pointer-events: none;
}

.reference-form > * {
    position: relative;
    z-index: 1;
}

.reference-form .form-header {
    margin-bottom: 1.55rem;
}

.reference-form .form-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.reference-form .input-wrapper input {
    background: rgba(255, 255, 255, .56) !important;
    border-color: rgba(99, 118, 141, .34) !important;
}

.reference-form .input-wrapper input:focus {
    background: rgba(255, 255, 255, .74) !important;
}

.reference-form .btn-login {
    background:
        linear-gradient(
            135deg,
            #1a5eb0,
            #38a3db
        ) !important;
}

@media (max-width: 860px) {
    .login-grid {
        grid-template-columns: 1fr !important;
    }

    .reference-visual {
        min-height: 300px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .20);
    }

    .reference-copy h1 {
        max-width: 650px;
        font-size: clamp(2.1rem, 7vw, 3.25rem);
    }

    .reference-form {
        padding: 2rem !important;
    }
}

@media (max-width: 560px) {
    .reference-visual {
        min-height: 225px;
        padding: 1.4rem !important;
    }

    .reference-copy p {
        display: none;
    }

    .reference-logo {
        width: min(190px, 55%);
    }

    .reference-form {
        padding: 1.35rem !important;
    }

    .reference-form::before {
        inset: 10px;
        border-radius: 16px;
    }
}
/* ==========================================================
   BOTÓN "REGRESAR A LA PÁGINA" - PREMIUM
   ========================================================== */

.btn-regresar-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, #174c77, #1a5a8a);
    color: #ffffff;
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(23, 76, 119, 0.3);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.03em;
    white-space: nowrap;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
}

/* Efecto shine */
.btn-regresar-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: btnRegresarShine 3s infinite;
    pointer-events: none;
}

@keyframes btnRegresarShine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Icono */
.btn-regresar-icono {
    font-size: 15px;
    transition: transform 0.3s ease;
    animation: btnRegresarIconoPulse 2s ease-in-out infinite;
}

@keyframes btnRegresarIconoPulse {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-5px); }
}

/* Texto */
.btn-regresar-texto {
    position: relative;
    z-index: 2;
}

/* Hover */
.btn-regresar-premium:hover {
    background: linear-gradient(135deg, #0c3a5a, #174c77);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 35px rgba(23, 76, 119, 0.4);
}

.btn-regresar-premium:hover .btn-regresar-icono {
    animation: none;
    transform: translateX(-5px);
}

/* Active */
.btn-regresar-premium:active {
    transform: translateY(-1px) scale(0.97);
    box-shadow: 0 6px 16px rgba(23, 76, 119, 0.25);
}

/* Focus */
.btn-regresar-premium:focus-visible {
    box-shadow: 
        0 0 0 4px rgba(23, 76, 119, 0.3),
        0 8px 24px rgba(23, 76, 119, 0.3);
}

/* ============ VARIANTE CON BORDE (Outline) ============ */

.btn-regresar-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 12px;
    background: transparent;
    color: #174c77;
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border: 2px solid rgba(23, 76, 119, 0.3);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.03em;
    white-space: nowrap;
    outline: none;
}

.btn-regresar-outline:hover {
    background: #174c77;
    color: #ffffff;
    border-color: #174c77;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(23, 76, 119, 0.25);
}

.btn-regresar-outline .btn-regresar-icono {
    transition: transform 0.3s ease;
}

.btn-regresar-outline:hover .btn-regresar-icono {
    transform: translateX(-5px);
}

/* ============ VARIANTE CON GRADIENTE TURQUESA ============ */

.btn-regresar-turquesa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, #16a6a1, #0c827e);
    color: #ffffff;
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(22, 166, 161, 0.3);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.03em;
    white-space: nowrap;
    outline: none;
}

.btn-regresar-turquesa:hover {
    background: linear-gradient(135deg, #0c827e, #16a6a1);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 35px rgba(22, 166, 161, 0.4);
}

/* ============ RESPONSIVE ============ */

@media (max-width: 620px) {
    .btn-regresar-premium,
    .btn-regresar-outline,
    .btn-regresar-turquesa {
        padding: 11px 18px;
        font-size: 13px;
        border-radius: 10px;
    }
    
    .btn-regresar-icono {
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .btn-regresar-premium,
    .btn-regresar-outline,
    .btn-regresar-turquesa {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
    }
}