/* ===========================================
   Hillcrest Schools Cookie Banner
=========================================== */

:root{

    --hc-blue:#082B5A;
    --hc-gold:#D4AF37;
    --hc-white:#ffffff;
    --hc-light:#f5f7fb;
    --hc-text:#2d3436;
    --hc-border:#d9d9d9;

    --radius:18px;

}

/* Hide until JavaScript decides */
.cookie-banner{

    position:fixed;

    bottom:25px;

    left:50%;

    transform:translateX(-50%) translateY(140%);

    width:min(1180px,95%);

    background:rgba(255,255,255,.96);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    border-radius:var(--radius);

    box-shadow:
    0 20px 60px rgba(0,0,0,.18);

    border:1px solid rgba(255,255,255,.5);

    z-index:99999;

    transition:.45s ease;

    opacity:0;

    visibility:hidden;

}


/* Show Banner */

.cookie-banner.show{

    transform:translateX(-50%) translateY(0);

    opacity:1;

    visibility:visible;

}


/* Main Layout */

.cookie-content{

    display:flex;

    gap:25px;

    align-items:center;

    padding:25px 30px;

}


/* Cookie Icon */

.cookie-icon{

    width:70px;

    height:70px;

    min-width:70px;

    border-radius:50%;

    background:linear-gradient(
        135deg,
        var(--hc-gold),
        #f5d76e
    );

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:34px;

}


/* Text */

.cookie-text{

    flex:1;

}


.cookie-text h3{

    margin-bottom:8px;

    color:var(--hc-blue);

    font-size:1.35rem;

}


.cookie-text p{

    color:#555;

    line-height:1.7;

    margin-bottom:12px;

}


.cookie-text a{

    color:var(--hc-blue);

    font-weight:600;

    text-decoration:none;

}


.cookie-text a:hover{

    color:var(--hc-gold);

}


/* Buttons */

.cookie-buttons{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

}


/* Base */

.btn-cookie{

    cursor:pointer;

    padding:13px 22px;

    border-radius:10px;

    font-weight:600;

    transition:.25s;

    font-size:.95rem;

}


/* Accept */

.primary{

    background:var(--hc-blue);

    color:white;

    border:none;

}


.primary:hover{

    transform:translateY(-2px);

    background:#0b3877;

}


/* Reject */

.secondary{

    background:#eceff4;

    border:none;

    color:#333;

}


.secondary:hover{

    background:#dfe6e9;

}


/* Settings */

.outline{

    background:transparent;

    color:var(--hc-blue);

    border:2px solid var(--hc-blue);

}


.outline:hover{

    background:var(--hc-blue);

    color:white;

}


/* Mobile */

@media(max-width:900px){

.cookie-content{

    flex-direction:column;

    text-align:center;

}

.cookie-buttons{

    justify-content:center;

}

}


@media(max-width:600px){

.cookie-banner{

    width:95%;

    bottom:15px;

}

.cookie-content{

    padding:20px;

}

.btn-cookie{

    width:100%;

}

}