@charset "UTF-8";
/* ==========================================================
   COOKIE BANNER - L-COMP
========================================================== */

.cookie-banner{
    position:fixed;
    right:30px;
    bottom:30px;
    width:560px;
    max-width:calc(100vw - 40px);

    background:#07153f;

    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;

    padding:22px;

    color:#fff;

    z-index:99999;

    box-shadow:0 25px 60px rgba(0,0,0,.35);

    backdrop-filter:blur(16px);

    opacity:0;
    visibility:hidden;
    transform:translateY(25px);

    transition:.35s ease;
}

.cookie-banner.show{

    opacity:1;
    visibility:visible;
    transform:translateY(0);

}

.cookie-title{

    font-size:30px;
    font-weight:700;
    color:#fff;
    line-height:1.2;
    margin-bottom:14px;

}

.cookie-text{

    color:#c7d3ff;
    font-size:16px;
    line-height:1.7;
    margin-bottom:22px;

}

/*==========================================================
    BOTONES
==========================================================*/

.cookie-buttons{

    display:flex;
    gap:12px;
    justify-content:space-between;
    align-items:center;
    flex-wrap:nowrap;

}

.cookie-btn{

    flex:1;

    border:none;
    cursor:pointer;

    border-radius:12px;

    padding:14px 18px;

    font-weight:600;
    font-size:15px;

    transition:.25s;

}

.cookie-btn.primary{

    background:#2458F6;
    color:#fff;

}

.cookie-btn.primary:hover{

    background:#1b46cc;

}

.cookie-btn.secondary{

    background:#30384f;
    color:white;

}

.cookie-btn.secondary:hover{

    background:#49526f;

}

.cookie-btn.outline{

    background:transparent;
    color:white;
    border:1px solid rgba(255,255,255,.15);

}

.cookie-btn.outline:hover{

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

}

/*==========================================================
    FOOTER
==========================================================*/

.cookie-footer{

    margin-top:22px;
    padding-top:16px;

    border-top:1px solid rgba(255,255,255,.08);

    display:flex;
    align-items:center;
    gap:12px;

    font-size:14px;

}

.cookie-footer a{

    color:#b7c6ff;
    text-decoration:none;
    transition:.2s;

}

.cookie-footer a:hover{

    color:#fff;

}

.cookie-footer span{

    color:#5b6b99;

}

/* ==========================================================
   MODAL
========================================================== */

.cookie-modal{

    position:fixed;
    inset:0;

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

    background:rgba(0,0,0,.65);

    backdrop-filter:blur(5px);

    opacity:0;
    visibility:hidden;

    transition:.3s;

    z-index:999999;

}

.cookie-modal.show{

    opacity:1;
    visibility:visible;

}

.cookie-modal-content{

    width:720px;
    max-width:92vw;

    background:#07153f;

    color:white;

    border-radius:20px;

    padding:35px;

    position:relative;

    box-shadow:0 35px 80px rgba(0,0,0,.45);

}

.cookie-modal-content h3{

    font-size:32px;
    font-weight:700;
    color:#ffffff;
    line-height:1.2;
    margin-bottom:18px;

}

.cookie-modal-content > p{

    color:#c7d3ff;
    font-size:17px;
    line-height:1.7;
    margin-bottom:30px;

}

.cookie-option{

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

    gap:20px;

    padding:22px 0;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.cookie-option strong{

    display:block;
    font-size:20px;
    color:#fff;
    margin-bottom:8px;

}

.cookie-option p{

    margin:0;
    color:#c7d3ff;
    line-height:1.6;

}

.cookie-save{

    margin-top:30px;
    text-align:right;

}

.cookie-close{

    position:absolute;

    top:18px;
    right:18px;

    width:42px;
    height:42px;

    border:none;

    border-radius:50%;

    cursor:pointer;

    background:#30384f;

    color:white;

    font-size:20px;

    transition:.25s;

}

.cookie-close:hover{

    background:#49526f;

}

/* ==========================================================
   SWITCH (RENOMBRADO PARA EVITAR CONFLICTOS)
========================================================== */

.cookie-switch{

    position:relative;
    display:inline-block;

    width:58px;
    height:32px;

    flex-shrink:0;

}

.cookie-switch input{

    display:none;

}

.cookie-slider{

    position:absolute;
    inset:0;

    background:#3d4662;

    border-radius:50px;

    cursor:pointer;

    transition:.25s;

}

.cookie-slider:before{

    content:"";

    position:absolute;

    width:24px;
    height:24px;

    left:4px;
    top:4px;

    border-radius:50%;

    background:#fff;

    transition:.25s;

}

.cookie-switch input:checked + .cookie-slider{

    background:#2458F6;

}

.cookie-switch input:checked + .cookie-slider:before{

    transform:translateX(26px);

}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media(max-width:768px){

.cookie-banner{

    left:15px;
    right:15px;

    width:auto;

    bottom:15px;

    padding:20px;

}

.cookie-title{

    font-size:24px;

}

.cookie-text{

    font-size:15px;

}

.cookie-buttons{

    flex-direction:column;

}

.cookie-btn{

    width:100%;

}

.cookie-footer{

    justify-content:center;
    flex-wrap:wrap;

}

.cookie-modal-content{

    padding:25px;

}

.cookie-option{

    flex-direction:column;
    align-items:flex-start;

}

.cookie-save{

    text-align:center;

}

}