:root {
    --font-title: "Alfa Slab One", serif;
    --font-text: "Mozilla Headline", sans-serif;
    --font-mono: "JetBrains Mono", monospace;
}

/* ===== NOTIFICAÇÃO ===== */
#notificacao {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 450px;
    width: 90%;
    background: #FFD700;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    z-index: 999999;
    transform: translateX(120%);
    animation: slideIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    display: none;
}

#notificacao.mostrar {
    display: block;
}

.notificacao-content {
    padding: 20px;
    position: relative;
}

.notificacao-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.notificacao-titulo {
    color: #FF0000;
    font-family: var(--font-text);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.notificacao-fechar {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #000;
    cursor: pointer;
    padding: 0 5px;
    transition: transform 0.2s;
}

.notificacao-fechar:hover {
    transform: scale(1.2);
}

.notificacao-texto {
    color: #000000;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.notificacao-texto strong {
    color: #000;
    font-weight: 700;
}

/* ===== ANIMAÇÃO DE ENTRADA ===== */
@keyframes slideIn {
    0% {
        transform: translateX(120%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== ANIMAÇÃO DE SAÍDA ===== */
@keyframes slideOut {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(120%);
        opacity: 0;
    }
}

#notificacao.fechando {
    animation: slideOut 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}


/* ===== NOTIFICAÇÃO - MOBILE ===== */
@media (max-width: 768px) {
    
    #notificacao {
        top: 10px;
        right: 10px;
        max-width: 95%;
        width: 95%;
        border-radius: 10px;
        z-index: 999999;
    }

    .notificacao-content {
        padding: 15px;
    }

    .notificacao-titulo {
        font-size: 1rem;
    }

    .notificacao-texto {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .notificacao-fechar {
        font-size: 1.2rem;
    }
}