/* Estilo geral da modal */
.modal {
    display: none; /* Oculta a modal por padrão */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Fundo semi-transparente */
  }
  
  /* Conteúdo da modal */
  .modal-content {
    background-color: #fff;
    margin: 15% auto; /* Centraliza verticalmente */
    padding: 20px;
    border: 1px solid #888;
    width: 50%; /* Largura da modal */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  /* Botão de fechar */
  .close-button {
    
    
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close-button:hover,
  .close-button:focus {
    color: #000;
    text-decoration: none;
  }

  /* Estilos específicos para o modal de confirmação */
#confirmationModal .modal-content {
    max-width: 500px;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.modal-header h2 {
    margin: 0 auto;
    color: #333;
    font-size: 1.5em;
    text-align: center;
    width: 100%;
}

.modal-body {
    padding: 20px;
}

.modal-body p {
    margin-bottom: 20px;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 8px 12px;
    border-radius: 4px;
    margin: 8px 0px;
    margin-top: 0;
    width: fit-content;
    display: inline-block;
    box-sizing: border-box;
    max-width: 100%;
    white-space: nowrap;
}

.info-item {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    width: 100%;    
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item strong {
    color: #333;
    min-width: 80px;
    text-align: left;
    margin-right: 10px;
    flex-shrink: 0;
}

.info-item span {
    text-align: left;
    word-break: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}


.warning-text {
    color: #e74c3c;
    font-size: 14px;
    font-style: italic;
    text-align: center;
    margin-top: 15px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

/* Botões do modal - */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 24px; 
    cursor: pointer;
    font-size: 14px;
    font-family: Arial, sans-serif;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-secondary {
    background-color: #6c757d; 
    opacity: 0.5;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268; 
    opacity: 0.9;
    transform: scale(1.05);
}

.btn-primary {
    background-color: #00D1B4; 
    color: white;
}

.btn-primary:hover {
    background-color: #00D1B6; 
    transform: scale(1.05); 
}

.btn-primary:active {
    background-color: #00D1B4; 
    transform: scale(0.98); 
}