/* =========================================================
   AgendBelle — LOGIN page styles
   (extracted from inline <style> for maintainability)
   ========================================================= */
#toast-region{position:fixed;top:16px;right:16px;z-index:2147483647;display:flex;flex-direction:column;gap:8px}
.toast{min-width:280px;max-width:360px;padding:12px 14px;border-radius:10px;box-shadow:0 6px 20px rgba(0,0,0,.12);background:#fff;color:#111;border-left:4px solid;display:flex;gap:10px;opacity:0;transform:translateY(-8px);transition:opacity .2s,transform .2s}
.toast.show{opacity:1;transform:translateY(0)}
.toast-error{background:#fdecea;border-left-color:#d93025}
.toast-success{background:#ecf7ed;border-left-color:#188038}
.toast .msg{flex:1}

/* Cookie notice (strictly necessary cookies) */
.cookie-bar{position:fixed;z-index:9999;left:0;right:0;bottom:0;background:#111;color:#fff;padding:12px 16px;display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap}
.cookie-bar a{color:#a7c7ff;text-decoration:underline}
.cookie-bar button{border:0;border-radius:8px;padding:8px 12px;cursor:pointer}
/* =============================
   ⭐ BARRA DE COOKIES MODERNA
   ============================= */

.cookie-bar {
    position: fixed;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2.4rem);
    max-width: 900px;
    
    padding: 1rem 1.2rem;

    background: #ffffff;
    border-radius: 12px;

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

    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.05);
    
    font-size: 0.95rem;
    color: #444;

    z-index: 99999;
    opacity: 0;
    transform: translate(-50%, 20px);
    animation: cookieEnter .4s ease-out forwards;
}

/* Animação suave entrando de baixo */
@keyframes cookieEnter {
    from { opacity: 0; transform: translate(-50%, 30px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}

.cookie-bar span {
    line-height: 1.35;
}

.cookie-bar a {
    color: #c28f23;
    text-decoration: underline;
    font-weight: 500;
}

/* Botão bonito */
.cookie-bar button#cookie-ack {
    background: linear-gradient(135deg, #a02f22 0%, #8a2619 100%);
    color: white;
    padding: 0.55rem 1.2rem;

    border: none;
    border-radius: 8px;
    cursor: pointer;

    font-weight: 600;
    font-size: 0.92rem;

    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform .15s ease, box-shadow .2s ease;
}

.cookie-bar button#cookie-ack:hover {
    background: linear-gradient(135deg, #8a2619 0%, #6b1d13 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(160,47,34,0.3);
}

.cookie-bar button#cookie-ack:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

/* Mobile */
@media (max-width: 600px) {
    .cookie-bar {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        padding: 1rem;
    }

    .cookie-bar button#cookie-ack {
        width: 100%;
    }
}
