.modal-erro {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-erro.show {
    display: flex;
}

.modal-erro-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    max-width: 500px;
    width: 90%;
    position: relative;
}

.modal-erro-fechar {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--cor-texto);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.modal-erro-fechar:hover {
    transform: scale(1.1);
}

.modal-erro-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: #dc2626;
}

.modal-erro.sucesso .modal-erro-header {
    color: #059669;
}

.modal-erro-header i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.modal-erro-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.modal-erro-body {
    margin-bottom: 1.5rem;
}

.modal-erro-body p {
    margin: 0;
    color: var(--cor-texto);
}

.modal-erro-body textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-color);
    color: var(--cor-texto);
    font-size: 1rem;
    margin-top: 1rem;
    resize: vertical;
    min-height: 100px;
}

.modal-erro-footer {
    display: flex;
    gap: 1rem;
}

.btn-tentar-novamente,
.btn-falar-atendente {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-tentar-novamente {
    background: var(--cor-primaria);
    color: white;
}

.btn-tentar-novamente:hover {
    background: var(--cor-secundaria);
}

.btn-falar-atendente {
    background: #25d366;
    color: white;
}

.btn-falar-atendente:hover {
    background: #128c7e;
}

/* Estilos específicos para o modal de sucesso */
.modal-erro.sucesso .modal-erro-content {
    border: 2px solid #059669;
}

.modal-erro.sucesso .btn-falar-atendente {
    background: #059669;
    width: 100%;
}

.modal-erro.sucesso .btn-falar-atendente:hover {
    background: #047857;
}

@media (max-width: 600px) {
    .modal-erro-content {
        width: 95%;
        padding: 1.5rem;
    }

    .modal-erro-footer {
        flex-direction: column;
    }
} 