:root {
    --login-cyan: #1bb8c4;
    --login-blue: #1597d1;
    --login-bg: #0c0f10;
}

.authentication-bg {
    background: var(--login-bg)!important;
}

.auth-fluid {
    display: grid!important;
    min-height: 100vh;
    grid-template-columns: minmax(390px,25.5%) 1fr;
    background: #0d1011!important;
}

.auth-fluid-form-box {
    position: relative!important;
    display: block!important;
    width: auto!important;
    max-width: none!important;
    min-height: 100vh;
    padding: 0 38px;
    background: linear-gradient(155deg,#111516,#090b0c)!important;
    box-shadow: 18px 0 45px rgba(0,0,0,.28)!important;
}

.auth-fluid-form-box:before {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg,var(--login-blue),var(--login-cyan),transparent) 1;
    pointer-events: none;
}

.auth-fluid-form-box .card-body {
    display: flex!important;
    width: 100%!important;
    max-width: 390px!important;
    min-height: 100vh;
    justify-content: center;
    flex-direction: column;
    margin: auto!important;
    padding: 38px 0 25px!important;
}

.auth-brand {
    justify-content: flex-start!important;
    padding: 0 0 clamp(50px,9vh,95px)!important;
}

.auth-brand .logo-dark {
    width: 100%;
}

.auth-logo {
    width: min(290px,82%)!important;
    height: auto!important;
    margin: 0!important;
    object-position: left;
}

.login-mobile-kicker {
    display: none;
    color: #51d5dd;
    font-size: .63rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.login-heading>span {
    display: block;
    margin-bottom: .55rem;
    color: #3fcbd3;
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.login-heading h3 {
    margin-bottom: .75rem!important;
    color: #f7fafb!important;
    font-size: clamp(1.65rem,2.2vw,2.15rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.login-heading p {
    margin: 0 0 2rem;
    color: #839095;
    font-size: .78rem;
    line-height: 1.6;
}

.auth-fluid-form-box form {
    width: 100%;
}

.auth-fluid-form-box .form-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .55rem;
    color: #dce3e5!important;
    font-size: .72rem;
}

.auth-fluid-form-box .form-label small {
    color: #5f6b70;
    font-size: .58rem;
    font-weight: 500;
}

.input-token-group {
    border: 1px solid #2c3639;
    border-radius: 12px;
    background: #151a1c;
    transition: border-color .2s,box-shadow .2s;
}

.input-token {
    height: 50px;
    padding: 0 44px 0 15px!important;
    border: 0!important;
    background: transparent!important;
    color: #fff!important;
    letter-spacing: .1em;
}

.input-token:focus {
    border: 0!important;
    box-shadow: none!important;
}

.input-token-group:focus-within {
    border-color: var(--login-cyan);
    box-shadow: 0 0 0 3px rgba(27,184,196,.1);
}

.toggle-vision {
    right: 15px;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    flex: 0 0 auto;
    margin-top: 0;
}

.form-check-label {
    color: #a9b3b7!important;
    font-size: .7rem!important;
}

.btn-login {
    height: 48px;
    margin-top: .6rem;
    border-radius: 11px!important;
    background: linear-gradient(100deg,var(--login-blue),var(--login-cyan))!important;
    box-shadow: 0 10px 23px rgba(21,151,209,.18)!important;
    font-size: .75rem;
    letter-spacing: .02em;
}

.btn-login:hover {
    box-shadow: 0 13px 28px rgba(27,184,196,.27)!important;
}

.login-trust {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-top: 1.1rem;
    padding: .65rem .75rem;
    border: 1px solid #20282b;
    border-radius: 10px;
    background: rgba(255,255,255,.018);
}

.login-trust>span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 8px;
    background: rgba(27,184,196,.1);
    color: #44cbd3;
}

.login-trust p,.login-trust strong,.login-trust small {
    display: block;
    margin: 0;
}

.login-trust strong {
    color: #aeb9bd;
    font-size: .63rem;
}

.login-trust small {
    color: #59666b;
    font-size: .56rem;
}

.login-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 30px;
    color: #59666b;
    font-size: .58rem;
}

.login-footer a {
    color: #39c5ce;
}

.social-list,#espaciado,#espaciado_2,#espaciado_3 {
    display: none!important;
}

#btnInstalarPWA {
    height: 45px;
    border-color: #247a83;
    color: #43cbd3;
    font-size: .7rem;
}

#btnInstalarPWA:hover {
    background: #15393d;
    color: #fff;
}

.login-showcase {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100vh;
    justify-content: center;
    overflow: hidden;
    flex-direction: column;
    padding: clamp(45px,6vw,95px);
    background: linear-gradient(135deg,#101719,#0b0f11 68%,#0d1719);
    color: #fff;
}

.login-showcase-grid {
    position: absolute;
    inset: 0;
    opacity: .1;
    background-image: linear-gradient(rgba(27,184,196,.3) 1px,transparent 1px),linear-gradient(90deg,rgba(27,184,196,.3) 1px,transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(135deg,#000,transparent 80%);
}

.login-stage-glow {
    position: absolute;
    top: -260px;
    right: 5%;
    width: 380px;
    height: 780px;
    background: linear-gradient(rgba(27,184,196,.2),transparent 75%);
    filter: blur(45px);
    transform: rotate(-18deg);
}

.login-showcase-top {
    position: absolute;
    z-index: 2;
    top: 42px;
    right: clamp(45px,6vw,95px);
    left: clamp(45px,6vw,95px);
    display: flex;
    justify-content: space-between;
    color: #65757a;
    font-size: .58rem;
    letter-spacing: .11em;
}

.login-showcase-top span {
    color: #50d1d9;
}

.login-showcase-copy {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.showcase-number {
    color: #26bec8;
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .14em;
}

.login-showcase h1 {
    margin: 1rem 0 1.25rem;
    color: #f4f7f8;
    font-size: clamp(3.4rem,6vw,7rem);
    font-weight: 900;
    letter-spacing: -.065em;
    line-height: .82;
}

.login-showcase h1 em {
    color: transparent;
    background: linear-gradient(90deg,var(--login-blue),var(--login-cyan));
    background-clip: text;
    -webkit-background-clip: text;
    font-style: normal;
}

.login-showcase-copy>p {
    max-width: 620px;
    color: #849297;
    font-size: .9rem;
    line-height: 1.65;
}

.login-console {
    position: relative;
    z-index: 2;
    width: min(700px,84%);
    margin: 2.2rem 0 0 auto;
    padding: 1rem;
    border: 1px solid #2a373b;
    border-radius: 18px;
    background: rgba(24,31,33,.94);
    box-shadow: 0 25px 55px rgba(0,0,0,.3);
    transform: rotate(-1deg);
}

.console-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .1rem .15rem .8rem;
    border-bottom: 1px solid #2a3437;
    color: #68777c;
    font-size: .54rem;
    letter-spacing: .1em;
}

.console-header>div {
    display: flex;
    gap: 5px;
}

.console-header>div span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #344247;
}

.console-header>div span:first-child {
    background: #24cfa0;
}

.console-header strong {
    color: #bfc9cc;
}

.console-song {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: .75rem;
    padding: 1rem .3rem .65rem;
}

.console-play {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(145deg,var(--login-blue),var(--login-cyan));
}

.console-song small,.console-song strong {
    display: block;
}

.console-song small {
    color: #5d6c71;
    font-size: .53rem;
    letter-spacing: .09em;
}

.console-song strong {
    margin-top: .2rem;
    color: #dce4e6;
    font-size: .75rem;
}

.console-ready {
    color: #43c49e;
    font-size: .52rem;
    font-weight: 900;
}

.console-wave {
    display: flex;
    height: 54px;
    align-items: center;
    gap: 4px;
    padding: 0 .45rem;
    border-radius: 10px;
    background: #101617;
}

.console-wave i {
    width: 4px;
    height: 22%;
    border-radius: 4px;
    background: linear-gradient(to top,var(--login-blue),#31d3d9);
}

.console-wave i:nth-child(3n) {
    height: 75%;
}

.console-wave i:nth-child(4n) {
    height: 45%;
}

.console-wave i:nth-child(5n) {
    height: 90%;
}

.console-wave i:nth-child(7n) {
    height: 58%;
}

.console-team {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .85rem .25rem 0;
}

.console-team>div {
    display: flex;
}

.console-team span {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    margin-right: -5px;
    border: 2px solid #182022;
    border-radius: 50%;
    background: #263236;
    color: #44cbd3;
    font-size: .75rem;
}

.console-team small {
    color: #68767b;
    font-size: .55rem;
}

.login-showcase-footer {
    position: absolute;
    right: clamp(45px,6vw,95px);
    bottom: 35px;
    left: clamp(45px,6vw,95px);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #34484c;
    font-size: .6rem;
    font-weight: 900;
    letter-spacing: .14em;
}

.login-showcase-footer i {
    width: 38px;
    height: 1px;
    background: #26383c;
}

@media(max-width:991.98px) {
    body.authentication-bg {
        overflow: auto!important;
    }

    .auth-fluid {
        display: block!important;
    }

    .auth-fluid-form-box {
        min-height: 100svh;
        padding: 0 24px;
        background: radial-gradient(circle at 85% 10%,rgba(27,184,196,.12),transparent 28%),linear-gradient(160deg,#111617,#080a0b)!important;
    }

    .auth-fluid-form-box .card-body {
        max-width: 430px!important;
        min-height: 100svh;
        padding: 28px 0 22px!important;
    }

    .login-showcase {
        display: none;
    }

    .login-mobile-kicker {
        display: block;
        margin-bottom: 2.5rem;
    }

    .auth-brand {
        padding: 0 0 3.2rem!important;
    }

    .auth-logo {
        width: min(270px,78%)!important;
    }

    .login-heading h3 {
        font-size: 2rem;
    }

    .login-footer {
        padding-top: 25px;
    }

}

@media(max-width:480px) {
    .auth-fluid-form-box {
        padding: 0 20px;
    }

    .auth-fluid-form-box .card-body {
        justify-content: flex-start;
    }

    .login-mobile-kicker {
        margin: 18px 0 2.2rem;
    }

    .auth-brand {
        padding-bottom: 2.7rem!important;
    }

    .login-heading p {
        margin-bottom: 1.55rem;
    }

    .login-trust {
        margin-top: .85rem;
    }

    .login-footer {
        margin-top: auto;
    }

    .input-token {
        height: 48px;
    }

}

/* Refinamiento de composición en una sola pantalla */ @media(min-width:992px) {
    html,body.authentication-bg {
        height: 100%;
        overflow: hidden!important;
    }

    .auth-fluid {
        height: 100vh;
        min-height: 0;
    }

    .auth-fluid-form-box,.auth-fluid-form-box .card-body,.login-showcase {
        height: 100vh;
        min-height: 0;
    }

    .auth-brand {
        justify-content: center!important;
        padding-bottom: clamp(34px,6vh,68px)!important;
        transform: translateX(35px);
    }

    .auth-logo {
        display: block!important;
        width: min(285px,82%)!important;
        margin: 0 auto!important;
        object-position: center;
    }

    .auth-fluid-form-box .card-body {
        padding-top: clamp(24px,4vh,42px)!important;
        padding-bottom: clamp(20px,3vh,32px)!important;
    }

    .login-showcase {
        padding-top: clamp(50px,7vh,78px);
        padding-bottom: clamp(48px,6vh,70px);
    }

    .login-showcase-copy {
        margin-top: -1vh;
    }

    .login-showcase-top {
        top: clamp(25px,4vh,42px);
    }

    .login-showcase-footer {
        bottom: clamp(20px,3vh,35px);
    }

}

.login-showcase:before {
    content: "";
    position: absolute;
    top: 10%;
    right: -7%;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(27,184,196,.12);
    border-radius: 50%;
    box-shadow: 0 0 0 58px rgba(27,184,196,.025),0 0 0 120px rgba(27,184,196,.018);
}

.login-showcase:after {
    content: "WORSHIP";
    position: absolute;
    right: -.04em;
    bottom: 4%;
    color: rgba(255,255,255,.018);
    font-size: clamp(7rem,13vw,15rem);
    font-weight: 900;
    letter-spacing: -.08em;
    line-height: .7;
    pointer-events: none;
}

.login-showcase-top {
    color: #9caaae;
    font-weight: 700;
}

.login-showcase-top span {
    color: #65f1f4;
    text-shadow: 0 0 15px rgba(27,184,196,.75);
}

.login-showcase-top span i {
    display: inline-block;
    margin-right: .3rem;
    animation: loginSignal 1.8s ease-in-out infinite;
}

.login-showcase-top small {
    color: #c3ced1;
    text-shadow: 0 0 14px rgba(255,255,255,.2);
}

@keyframes loginSignal {
    50% {
        color: #fff;
        text-shadow: 0 0 18px #20d8df;
    }

}

.showcase-number {
    color: #51e1e7;
    text-shadow: 0 0 14px rgba(27,184,196,.35);
}

.showcase-features {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: 1.15rem;
}

.showcase-features span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .42rem .62rem;
    border: 1px solid rgba(71,201,210,.22);
    border-radius: 99px;
    background: rgba(27,184,196,.055);
    color: #9baaae;
    font-size: .57rem;
    font-weight: 700;
}

.showcase-features i {
    color: #4dd8df;
    font-size: .8rem;
}

.login-console {
    overflow: visible;
    border-color: #385056;
    background: linear-gradient(145deg,rgba(28,39,42,.98),rgba(15,21,23,.98));
    box-shadow: 0 28px 60px rgba(0,0,0,.4),0 0 45px rgba(27,184,196,.055),inset 0 1px rgba(255,255,255,.055);
}

.console-accent {
    position: absolute;
    top: -12px;
    right: 24px;
    padding: .32rem .55rem;
    border-radius: 6px;
    background: linear-gradient(90deg,#1597d1,#1bb8c4);
    color: #fff;
    font-size: .48rem;
    font-weight: 900;
    letter-spacing: .1em;
    box-shadow: 0 7px 16px rgba(27,184,196,.22);
}

.console-wave {
    position: relative;
    overflow: hidden;
}

.console-wave:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,transparent,rgba(255,255,255,.08),transparent);
    transform: translateX(-100%);
    animation: waveScan 3.8s linear infinite;
}

@keyframes waveScan {
    to {
        transform: translateX(100%);
    }

}

.console-wave i {
    box-shadow: 0 0 8px rgba(27,184,196,.28);
}

.login-showcase-footer {
    z-index: 3;
    color: #91a2a6;
    font-weight: 900;
}

.login-showcase-footer span {
    color: #d2dddf;
    text-shadow: 0 0 14px rgba(255,255,255,.16);
}

.login-showcase-footer i {
    background: linear-gradient(90deg,#2d4d52,#4dbac2);
}

.login-showcase-footer strong {
    margin-left: auto;
    color: #41cbd3;
    font-size: .55rem;
    letter-spacing: .12em;
    text-shadow: 0 0 13px rgba(27,184,196,.4);
}

@media(min-width:992px) and (max-height:820px) {
    .auth-brand {
        padding-bottom: 28px!important;
    }

    .auth-logo {
        width: min(245px,74%)!important;
    }

    .login-heading h3 {
        font-size: 1.65rem;
    }

    .login-heading p {
        margin-bottom: 1.2rem;
    }

    .input-token {
        height: 45px;
    }

    .btn-login {
        height: 44px;
    }

    .login-trust {
        margin-top: .75rem;
        padding: .5rem .65rem;
    }

    .login-footer {
        padding-top: 18px;
    }

    .login-showcase {
        padding-top: 48px;
        padding-bottom: 45px;
    }

    .login-showcase h1 {
        margin: .65rem 0 .8rem;
        font-size: clamp(3.2rem,5.1vw,5.8rem);
    }

    .login-showcase-copy>p {
        margin-bottom: .65rem;
    }

    .showcase-features {
        margin-top: .7rem;
    }

    .login-console {
        margin-top: 1.25rem;
        padding: .85rem;
    }

    .console-wave {
        height: 45px;
    }

    .console-song {
        padding: .75rem .25rem .5rem;
    }

    .console-team {
        padding-top: .65rem;
    }

    .login-showcase-footer {
        bottom: 16px;
    }

}

@media(min-width:992px) and (max-height:680px) {
    .auth-brand {
        padding-bottom: 18px!important;
    }

    .login-heading>span,.login-trust {
        display: none;
    }

    .login-heading p {
        margin-bottom: .85rem;
    }

    .auth-fluid-form-box .mb-3 {
        margin-bottom: .65rem!important;
    }

    .login-footer {
        padding-top: 12px;
    }

    .login-showcase h1 {
        font-size: 4rem;
    }

    .showcase-features {
        display: none;
    }

    .login-console {
        margin-top: .85rem;
    }

    .console-team {
        display: none;
    }

}

/* Guía de instalación manual para Safari en iPhone y iPad. */
.ios-install-modal .modal-content {overflow:hidden;background:#fff;border:1px solid rgba(26,186,205,.22);border-radius:22px;box-shadow:0 24px 70px rgba(0,20,28,.28)}
.ios-install-header {position:relative;display:flex;align-items:center;gap:12px;padding:20px 18px 17px;background:linear-gradient(135deg,#eafcff,#f4f7ff);border-bottom:1px solid #dcecf0}
.ios-install-app-icon {display:grid;width:50px;height:50px;flex:0 0 50px;overflow:hidden;place-items:center;background:#071114;border-radius:14px;box-shadow:0 8px 18px rgba(22,173,195,.18)}
.ios-install-app-icon img {display:block;width:100%;height:100%;object-fit:cover}
.ios-install-header>div {min-width:0;padding-right:24px}.ios-install-header small {display:block;color:#16a9bd;font-size:.58rem;font-weight:800;letter-spacing:.11em}.ios-install-header h4 {margin:3px 0;color:#203943;font-size:1rem;font-weight:800;line-height:1.15}.ios-install-header p {margin:0;color:#82949c;font-size:.68rem}
.ios-install-close {position:absolute;top:13px;right:13px;display:grid;width:32px;height:32px;padding:0;color:#6f828b;place-items:center;background:#fff;border:1px solid #dbe7eb;border-radius:10px;font-size:1.05rem}
.ios-install-body {padding:17px!important}.ios-install-steps {display:flex;flex-direction:column;gap:9px;margin:0;padding:0;list-style:none}.ios-install-steps li {display:grid;grid-template-columns:30px minmax(0,1fr);align-items:start;gap:10px;padding:10px;background:#f8fbfc;border:1px solid #e4edef;border-radius:12px}.ios-install-steps li>span {display:grid;width:30px;height:30px;color:#fff;place-items:center;background:linear-gradient(135deg,#159fce,#22c6c4);border-radius:9px;font-size:.72rem;font-weight:800}.ios-install-steps strong {display:block;margin:1px 0 2px;color:#344b55;font-size:.75rem}.ios-install-steps p {margin:0;color:#7e9098;font-size:.65rem;line-height:1.4}.ios-install-steps p i {color:#10aabe;font-size:.9rem;vertical-align:-1px}.ios-install-steps p b {color:#526972}
.ios-install-note {display:flex;align-items:flex-start;gap:7px;margin:11px 0;padding:9px 10px;color:#71858e;background:#eefafb;border-radius:10px;font-size:.62rem;line-height:1.4}.ios-install-note i {flex:0 0 auto;color:#10aabe;font-size:.95rem}.ios-install-ready {width:100%;padding:.65rem;color:#fff!important;background:linear-gradient(135deg,#159fce,#22c6c4);border:0;border-radius:11px;font-size:.73rem;font-weight:800}
