/* Fundo escuro transparente que cobre a tela */
.modal-overlay-bloqueio {
    display: none; /* Começa oculto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

/* A janela flutuante em si */
.modal-box-bloqueio {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b0e 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid #f77810; /* Laranja da marca */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    width: 90%;
    max-width: 400px;
    text-align: center;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    position: relative;
    transform: scale(0.9);
    animation: popUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.modal-box-bloqueio h3 {
    margin-top: 0;
    color: #f77810;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.modal-box-bloqueio p {
    font-size: 1rem;
    line-height: 1.5;
    color: #ddd;
    margin-bottom: 25px;
}

.btn-group-bloqueio {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Botão SIM (Bloquear) */
.btn-bloquear-sim {
    background: #d32f2f; /* Vermelho para ação de bloquear */
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-bloquear-sim:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

/* Botão NÃO (Fechar) */
.btn-bloquear-nao {
    background: transparent;
    border: 1px solid #666;
    color: #aaa;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}

.btn-bloquear-nao:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255,255,255,0.05);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popUp { to { transform: scale(1); } }

/* --- Estilos para a Janela de Sucesso --- */

/* Modifica a cor da borda lateral quando for sucesso */
.modal-box-bloqueio.sucesso-estado {
    border-left-color: #4CAF50; /* Verde */
}

/* Título de sucesso verde */
.modal-box-bloqueio.sucesso-estado h3 {
    color: #4CAF50;
}

/* Ícone de check verde */
.icone-sucesso-verde {
    font-size: 50px;
    color: #4CAF50;
    margin-bottom: 15px;
    display: block;
    text-align: center;
    animation: popUp 0.5s ease-out backwards;
}

/* Botão de fechar da janela de sucesso */
.btn-fechar-sucesso {
    background: transparent;
    border: 2px solid #4CAF50;
    color: #4CAF50;
    padding: 10px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
    margin-top: 10px;
}

.btn-fechar-sucesso:hover {
    background: #4CAF50;
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}