.cookie-banner{
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 999999;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,.18);
    border:1px solid #e5e5e5;
    max-width:900px;
    margin:auto;
    padding:25px;
}

.cookie-content{
    display:flex;
    align-items:center;
    gap:20px;
}

.cookie-icon{
    font-size:48px;
    flex-shrink:0;
}

.cookie-text{
    flex:1;
}

.cookie-text h4{
    margin:0 0 10px;
    font-size:22px;
    font-weight:700;
    color:#222;
}

.cookie-text p{
    margin:0;
    color:#666;
    line-height:1.7;
    font-size:15px;
}

.cookie-buttons{
    display:flex;
    flex-direction:column;
    gap:10px;
    min-width:180px;
}

.cookie-btn{
    border:none;
    cursor:pointer;
    border-radius:6px;
    padding:12px 15px;
    font-weight:600;
    transition:.25s;
}

.cookie-accept{
    background:#005512;
    color:#fff;
}

.cookie-accept:hover{
    background:#00761a;
}

.cookie-reject{
    background:#f1f1f1;
}

.cookie-reject:hover{
    background:#ddd;
}

.cookie-settings{
    background:#fff;
    border:1px solid #ddd;
}

.cookie-settings:hover{
    background:#f5f5f5;
}

@media(max-width:768px){

    .cookie-banner{
        left:10px;
        right:10px;
        bottom:10px;
        padding:20px;
    }

    .cookie-content{
        flex-direction:column;
        text-align:center;
    }

    .cookie-buttons{
        width:100%;
    }

    .cookie-btn{
        width:100%;
    }

}

/* ==========================================
   THALIRILA COOKIE MODAL
========================================== */

.tc-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    backdrop-filter:blur(3px);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:99999999;
    padding:20px;
}

.tc-card{
    width:680px;
    max-width:100%;
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 20px 50px rgba(0,0,0,.25);
    animation:tcFadeIn .25s ease;
}

@keyframes tcFadeIn{
    from{
        opacity:0;
        transform:translateY(15px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.tc-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    padding:25px 30px 15px;
    border-bottom:1px solid #eee;
}

.tc-header h3{
    margin:0;
    font-size:28px;
    font-weight:700;
    color:#222;
}

.tc-header p{
    margin-top:10px;
    color:#666;
    line-height:1.7;
    font-size:15px;
}

.tc-close{
    border:none;
    background:none;
    font-size:32px;
    cursor:pointer;
    color:#999;
    line-height:1;
}

.tc-close:hover{
    color:#111;
}

.tc-body{
    padding:0 30px;
}

.tc-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:22px 0;
    border-bottom:1px solid #f0f0f0;
}

.tc-info h5{
    margin:0;
    font-size:17px;
    font-weight:600;
    color:#222;
}

.tc-info small{
    display:block;
    margin-top:6px;
    color:#777;
    line-height:1.5;
    font-size:14px;
}

.tc-required{
    color:#005512;
    font-weight:600;
    font-size:14px;
}

/* Toggle */

.tc-toggle{
    position:relative;
    display:inline-block;
    width:54px;
    height:30px;
}

.tc-toggle input{
    display:none;
}

.tc-toggle-slider{
    position:absolute;
    inset:0;
    background:#ccc;
    border-radius:30px;
    transition:.3s;
}

.tc-toggle-slider:before{
    content:"";
    position:absolute;
    width:24px;
    height:24px;
    left:3px;
    top:3px;
    background:#fff;
    border-radius:50%;
    transition:.3s;
}

.tc-toggle input:checked + .tc-toggle-slider{
    background:#005512;
}

.tc-toggle input:checked + .tc-toggle-slider:before{
    transform:translateX(24px);
}

/* Footer */

.tc-footer{
    display:flex;
    justify-content:flex-end;
    gap:12px;
    padding:22px 30px;
    background:#fafafa;
}

.tc-btn{
    border:none;
    padding:12px 22px;
    border-radius:8px;
    cursor:pointer;
    font-size:15px;
    font-weight:600;
    transition:.25s;
}

.tc-btn-light{
    background:#ececec;
}

.tc-btn-light:hover{
    background:#ddd;
}

.tc-btn-outline{
    border:1px solid #005512;
    background:#fff;
    color:#005512;
}

.tc-btn-outline:hover{
    background:#f4fbf6;
}

.tc-btn-primary{
    background:#005512;
    color:#fff;
}

.tc-btn-primary:hover{
    background:#00721b;
}

@media(max-width:768px){

    .tc-card{
        width:100%;
    }

    .tc-header,
    .tc-body,
    .tc-footer{
        padding-left:20px;
        padding-right:20px;
    }

    .tc-row{
        flex-direction:column;
        align-items:flex-start;
        gap:15px;
    }

    .tc-footer{
        flex-direction:column;
    }

    .tc-btn{
        width:100%;
    }

}